Last modified: 2007-03-23 16:56:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10578, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8578 - Add "InternalParseBeforeLinks" hook
Add "InternalParseBeforeLinks" hook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-11 12:23 UTC by Stephen Kennedy
Modified: 2007-03-23 16:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Stephen Kennedy 2007-01-11 12:23:26 UTC
Semantic Mediawiki needs a hook which requires the user to edit parser.php each
time a new version of Mediawiki is installed. Since Semantic Mediawiki is (I
think) an important extension, it might be nice if the hook was simply added to
Mediawiki?

Semantic Mediawiki instructions:

Edit the file [wikipath]/includes/Parser.php. Insert the line
    "wfRunHooks( 'InternalParseBeforeLinks', array( &$this, &$text, null ) );"
    in the method "internalParse" right after the line
    "$text = $this->replaceVariables( $text, $args );"
Comment 1 Leon Weber 2007-01-11 14:42:36 UTC
I'm going to do that, but what should I pass null for?
Comment 2 denny vrandecic 2007-03-21 23:21:36 UTC
You can actually safely remove the "null", this was just some legacy that
sneaked in.

We'd be obliged to see it happen :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links