From: Alexandre Emsenhuber Date: Mon, 4 Jun 2012 10:53:53 +0000 (+0200) Subject: Changed a call to Title::getEscapedText() which is now deprecated. X-Git-Tag: 1.31.0-rc.0~23259^2~12^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=49a7806281491ae34234618d93ca96d21e84dc07;p=lhc%2Fweb%2Fwiklou.git Changed a call to Title::getEscapedText() which is now deprecated. Change-Id: I3cb6e9b4cf4a70ff3f30662ed12152a6f9d3f170 --- diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 3d43831b1d..67f6d688c2 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -475,7 +475,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { $title = Title::makeTitleSafe( $namespace, $dbkey ); if ( $this->checkTitle( $title, $namespace, $dbkey ) ) { $text = $this->buildRemoveLine( $title ); - $fields['TitlesNs'.$namespace]['options'][$text] = $title->getEscapedText(); + $fields['TitlesNs'.$namespace]['options'][$text] = htmlspecialchars( $title->getPrefixedText() ); $count++; } }