Merge "Changed a call to Title::getEscapedText() which is now deprecated."
authorDemon <chadh@wikimedia.org>
Mon, 4 Jun 2012 20:35:57 +0000 (20:35 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 4 Jun 2012 20:35:57 +0000 (20:35 +0000)
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++;
                                }
                        }