From 920a45e654b1f7c2376f25234e01fa0015572653 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sun, 10 Nov 2013 18:17:13 +0100 Subject: [PATCH] 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 --- includes/specials/SpecialWatchlist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) ) . ' '; -- 2.20.1