User:Mifter/common.js

This is an old revision of this page, as edited by Mifter (talk | contribs) at 22:41, 2 December 2018 (add DYK shortcuts). 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:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]]

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript('User:Writ Keeper/Scripts/massRevdel.js');

addOnloadHook(function() {
  addPortletLink ('p-tb', wgArticlePath.replace(/\$1/,'Template:Did you know/Preparation area 1'), 'T:DYK/N');
});

addOnloadHook(function() {
  addPortletLink ('p-tb', wgArticlePath.replace(/\$1/,'Template:Did you know/Queue/1'), 'DYK/Q);
});

addOnloadHook(function() {
  addPortletLink ('p-tb', wgArticlePath.replace(/\$1/,'Template talk:Did you know'), 'T:TDYK');
});