Replace usage of deprecated Title::escapeLocalURL()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 29 Dec 2013 15:21:37 +0000 (16:21 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 29 Dec 2013 15:22:05 +0000 (16:22 +0100)
Change-Id: I1d630ffe5e900a97e169bf3fdab55d0687a67d3b

includes/parser/CoreParserFunctions.php

index 9038b5e..ca27112 100644 (file)
@@ -209,7 +209,7 @@ class CoreParserFunctions {
        }
 
        static function localurle( $parser, $s = '', $arg = null ) {
-               return self::urlFunction( 'escapeLocalURL', $s, $arg );
+               return htmlspecialchars( self::urlFunction( 'getLocalURL', $s, $arg ) );
        }
 
        static function fullurl( $parser, $s = '', $arg = null ) {