From 8d0106d585f1d021f766edddb2d45ea4e17d93e7 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 27 Dec 2013 15:01:26 +0100 Subject: [PATCH] Remove last remainig use in core of Title::escapeFullURL() This was deprecated in MediaWiki 1.19. Change-Id: I21a46a35e449b81d5999420add91d7664fcf5f1d --- 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 f57d412c44..34152440da 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -250,7 +250,7 @@ class CoreParserFunctions { static function localurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getLocalURL', $s, $arg ); } static function localurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeLocalURL', $s, $arg ); } static function fullurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getFullURL', $s, $arg ); } - static function fullurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeFullURL', $s, $arg ); } + static function fullurle( $parser, $s = '', $arg = null ) { return htmlspecialchars( self::urlFunction( 'getFullURL', $s, $arg ) ); } static function canonicalurl( $parser, $s = '', $arg = null ) { return self::urlFunction( 'getCanonicalURL', $s, $arg ); } static function canonicalurle( $parser, $s = '', $arg = null ) { return self::urlFunction( 'escapeCanonicalURL', $s, $arg ); } -- 2.20.1