From fd5d82f84525933c6a1de09edfd0f98beeadc830 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Tue, 13 Dec 2011 04:04:52 +0000 Subject: [PATCH] fix deprecated method usage --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index 0d9338449a..5f0a1f8fa9 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -866,7 +866,7 @@ abstract class Skin extends ContextSource { $mp = $this->msg( 'mainpage' )->escaped(); $mptitle = Title::newMainPage(); - $url = ( is_object( $mptitle ) ? $mptitle->escapeLocalURL() : '' ); + $url = ( is_object( $mptitle ) ? htmlspecialchars( $mptitle->getLocalURL() ) : '' ); $logourl = $this->getLogo(); $s = ""; -- 2.20.1