User:Ferret/common.js

This is an old revision of this page, as edited by Ferret (talk | contribs) at 17:52, 15 July 2016 (Switching archive tools). 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:Σ/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]]

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

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
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
)
});