* (bug 31435) Fix raw watchlist edit regression from r84718.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 6 Oct 2011 18:08:38 +0000 (18:08 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 6 Oct 2011 18:08:38 +0000 (18:08 +0000)
Removed double-escaping of text going into textarea, introduced when refactoring the watchlist editor in r84718.

includes/specials/SpecialEditWatchlist.php

index c473a6f..af8e71f 100644 (file)
@@ -443,7 +443,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage {
         * @return HTMLForm
         */
        protected function getRawForm(){
-               $titles = implode( array_map( 'htmlspecialchars', $this->getWatchlist() ), "\n" );
+               $titles = implode( $this->getWatchlist(), "\n" );
                $fields = array(
                        'Titles' => array(
                                'type' => 'textarea',