User:Ferret/common.js

This is an old revision of this page, as edited by Ferret (talk | contribs) at 13:46, 9 March 2018. 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.
importScript('User:Equazcion/OneClickArchiver.js'); // Backlink: [[User:Equazcion/OneClickArchiver.js]]
//importScript( 'User:Technical_13/Scripts/OneClickArchiver.js' ); // Backlink: [[User:Technical_13/Scripts/OneClickArchiver]]
//importScript('User:Σ/Testing facility/Archiver.js'); // Backlink: [[User:Σ/Testing facility/Archiver]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript( 'User:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]]
importScript( 'User:APerson/delsort.js' ); // Backlink: [[User:APerson/delsort.js]]

ConfirmRollback = {
  watchlist: "hide",
  recentchanges: "hide",
  relatedchanges: "hide",
  contributions: "confirm",
  history: "confirm",
  diff: "allow"
}

$.when(mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then( function() { 
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
mw.util.addPortletLink(
  "p-interaction",     // toolbox portlet
  "/wiki/Special:RecentChangesLinked/User:Ferret/WPVG Article List",
  "WP:VG Watchlist"  // link label
)
mw.util.addPortletLink(
  "p-interaction",     // toolbox portlet
  "/wiki/Special:PendingChanges",
  "Pending Changes"  // link label
)
mw.util.addPortletLink(
  "p-interaction",     // toolbox portlet
  "/wiki/User:AnomieBOT/SPERTable",
  "Edit Requests"  // link label
)
});