From: Siebrand Mazeland Date: Sun, 29 Dec 2013 15:21:37 +0000 (+0100) Subject: Replace usage of deprecated Title::escapeLocalURL() X-Git-Tag: 1.31.0-rc.0~17448^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=c9f5a5006f69fb2fd5881ad064af8ddce7a461db;p=lhc%2Fweb%2Fwiklou.git Replace usage of deprecated Title::escapeLocalURL() Change-Id: I1d630ffe5e900a97e169bf3fdab55d0687a67d3b --- diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 9038b5e594..ca271129c4 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -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 ) {