Merge "Replace usage of deprecated Title::escapeLocalURL()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 30 Dec 2013 23:18:05 +0000 (23:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 30 Dec 2013 23:18:05 +0000 (23:18 +0000)
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 ) {