From: Bartosz DziewoƄski Date: Sun, 10 Nov 2013 17:17:13 +0000 (+0100) Subject: SpecialWatchlist: JS enhancements to namespace selector (like RC) X-Git-Tag: 1.31.0-rc.0~17279 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=920a45e654b1f7c2376f25234e01fa0015572653;p=lhc%2Fweb%2Fwiklou.git SpecialWatchlist: JS enhancements to namespace selector (like RC) Just load the same modules SpecialRecentChanges does. We only need to change an id on one form element for it to work. Change-Id: I0bfad7776907a094335089f86dec1de6456d85c8 --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 0204c3f6cd..c947c7836c 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -170,6 +170,7 @@ class SpecialWatchlist extends SpecialRecentChanges { $this->setHeaders(); $this->outputHeader(); + $this->addModules(); // Add feed links $wlToken = $user->getTokenFromOption( 'watchlisttoken' ); @@ -410,7 +411,7 @@ class SpecialWatchlist extends SpecialRecentChanges { $form .= Xml::checkLabel( $this->msg( 'namespace_association' )->text(), 'associated', - 'associated', + 'nsassociated', $opts['associated'], array( 'title' => $this->msg( 'tooltip-namespace_association' )->text() ) ) . ' ';