RCLFilters: Bring back Saved Queries
authorStephane Bisson <sbisson@wikimedia.org>
Tue, 5 Sep 2017 18:49:19 +0000 (14:49 -0400)
committerStephane Bisson <sbisson@wikimedia.org>
Tue, 5 Sep 2017 18:49:19 +0000 (14:49 -0400)
Saved Queries used to be shown on Special:RecentChangesLinked
but it got lost when refactoring the top section to accomodate
Watchlist.

Change-Id: I2411dd068415a40cceef76833e94e184f57554af

resources/src/mediawiki.rcfilters/mw.rcfilters.init.js

index 0819351..67edb4f 100644 (file)
@@ -60,7 +60,8 @@
 
                        controller.replaceUrl();
 
-                       if ( currentPage === 'Special:Recentchanges' ) {
+                       if ( currentPage === 'Special:Recentchanges' ||
+                               currentPage === 'Special:Recentchangeslinked' ) {
                                $topLinks = $( '.mw-recentchanges-toplinks' ).detach();
 
                                rcTopSection = new mw.rcfilters.ui.RcTopSectionWidget(