From: Jeroen De Dauw Date: Tue, 13 Dec 2011 04:04:52 +0000 (+0000) Subject: fix deprecated method usage X-Git-Tag: 1.31.0-rc.0~26020 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=fd5d82f84525933c6a1de09edfd0f98beeadc830;p=lhc%2Fweb%2Fwiklou.git fix deprecated method usage --- 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 = "";