Jack D. Pond wrote:
> function runReplace_e( &$parser, $inStr = '', $inReplaceFrom = '',
> $inReplaceTo = '' ) {
> return (runReplace( &$parser, $inStr, stripcslashes($inReplaceFrom) ,
> stripcslashes($inReplaceFrom)));
> }
Recheck your parameters, $inReplaceFrom is used twice.
What you want is probably this:
{
global $wgExtParserFunctions;
return $wgExtParserFunctions->runReplace( ...etc... );
}
--
Juliano F. Ravasi ยทยท http://juliano.info/
5105 46CC B2B7 F0CD 5F47 E740 72CA 54F4 DF37 9E96
"A candle loses nothing by lighting another candle." -- Erin Majors
* NOTE: Don't try to reach me through this address, use "contact@" instead.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l