Last modified: 2007-03-23 16:56:46 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 );"
I'm going to do that, but what should I pass null for?
You can actually safely remove the "null", this was just some legacy that sneaked in. We'd be obliged to see it happen :)