Add "InternalParseBeforeLinks" hook
Closed, ResolvedPublic


Author: steve

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

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: wikibugs-l.
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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.