From: Roan Kattouw Date: Thu, 5 Jan 2017 20:18:51 +0000 (-0800) Subject: Follow-up 873d3c9ff: move new RC filters UI below the custom links X-Git-Tag: 1.31.0-rc.0~4387^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=f87ea464aa8e5279fa57e87f07fb5768980c3fc4 Follow-up 873d3c9ff: move new RC filters UI below the custom links Wikis can add custom links, and these go between mw-specialpage-summary and rcoptions. We want our UI to appear below these custom links, not above, so insert it before rcoptions instead of after mw-specialpage-summary. Change-Id: Ieacc054633046719bdc991c7f04d5eaa21a17189 --- diff --git a/resources/src/mediawiki.rcfilters/mw.rcfilters.init.js b/resources/src/mediawiki.rcfilters/mw.rcfilters.init.js index 8764e0ac84..5387ef26ae 100644 --- a/resources/src/mediawiki.rcfilters/mw.rcfilters.init.js +++ b/resources/src/mediawiki.rcfilters/mw.rcfilters.init.js @@ -40,7 +40,7 @@ } } ); - $( '.mw-specialpage-summary' ).after( widget.$element ); + $( '.rcoptions' ).before( widget.$element ); // Initialize values controller.initialize();