Jump to content

User:Ahecht/Scripts/massmove.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ahecht (talk | contribs) at 03:23, 19 February 2019 (relative link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*Wrapper for [[User:Plastikspork/massmove.js]] that adds a link to the left column.

Add the following line to [[Special:MyPage/common.js]] or [[:meta:Special:MyPage/global.js]] to install:

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/massmove.js&action=raw&ctype=text/javascript' ); //[[User:Ahecht/Scripts/massmove.js]] [[User:Plastikspork/massmove.js]]
 
Click on "Mass move" under "Tools" to use the script.*/

if (/sysop|extendedmover/.test(mw.config.get("wgUserGroups"))) {
	mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Plastikspork/massmove.js&action=raw&ctype=text/javascript' ); //[[User:Plastikspork/massmove.js]]
	mw.util.addPortletLink("p-tb", "/wiki/Special:Massmove", "Mass move", "p-massmove", "Mass move");
}