From c9f5a5006f69fb2fd5881ad064af8ddce7a461db Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 29 Dec 2013 16:21:37 +0100 Subject: [PATCH] Replace usage of deprecated Title::escapeLocalURL() Change-Id: I1d630ffe5e900a97e169bf3fdab55d0687a67d3b --- includes/parser/CoreParserFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1