Changed a call to Title::getEscapedText() which is now deprecated.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 4 Jun 2012 10:53:53 +0000 (12:53 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 4 Jun 2012 10:53:53 +0000 (12:53 +0200)
Change-Id: I3cb6e9b4cf4a70ff3f30662ed12152a6f9d3f170

includes/specials/SpecialEditWatchlist.php

index 3d43831..67f6d68 100644 (file)
@@ -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++;
                                }
                        }