Cleanup r62111, don't pass by reference
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 8 Feb 2010 11:30:17 +0000 (11:30 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 8 Feb 2010 11:30:17 +0000 (11:30 +0000)
includes/parser/CoreParserFunctions.php

index c2a3a42..cc868d7 100644 (file)
@@ -459,7 +459,7 @@ class CoreParserFunctions {
         * Performs the pipetrick and then url encodes the result
         */
        static function pipetricke( $parser, $link = '', $text = '' ) {
-               return wfUrlEncode( str_replace( ' ', '_', CoreParserFunctions::pipetrick( &$parser, $link, $text ) ) );
+               return wfUrlEncode( str_replace( ' ', '_', self::pipetrick( $parser, $link, $text ) ) );
        }
 
        /**