Add "InternalParseBeforeLinks" hook
Closed, ResolvedPublic

Description

Author: steve

Description:
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 );"

Version: unspecified
Severity: enhancement

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz8578.
bzimport created this task.Via LegacyJan 11 2007, 12:23 PM
bzimport added a comment.Via ConduitJan 11 2007, 2:42 PM

leon wrote:

I'm going to do that, but what should I pass null for?

Denny added a comment.Via ConduitMar 21 2007, 11:21 PM

You can actually safely remove the "null", this was just some legacy that
sneaked in.

We'd be obliged to see it happen :)

Add Comment