User:BJackJS/common.js

From Wikipedia, the free encyclopedia
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:Awesome Aasim/rcpatrol.js'); // Backlink: [[User:Awesome Aasim/rcpatrol.js]]
importScript('User:Voice of All/RC/monobook.js'); // Backlink: [[User:Voice of All/RC/monobook.js]]
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:RandomInCategory/AfD debates'),
    'Random AfD',
    'pt-randafD',
    'Open a random AfD debate...',
    null,
    '#pt-preferences'
  );
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:RandomInCategory/Stubs'),
    'Random stub',
    'pt-randafc',
    'Open a random stub...',
    null,
    '#pt-preferences'
  );
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:BlankPage/RCPatrol'),
    'Patrol RC',
    'pt-patrol',
    'Patrol RC with RCPatrol',
    null,
    '#pt-preferences'
  );
});
importScript('User:Enterprisey/easy-brfa.js'); // Backlink: [[User:Enterprisey/easy-brfa.js]]
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]