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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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