Jump to content

User:Music1201/QuickLinks.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Music1201 (talk | contribs) at 16:40, 22 May 2016 (fixing errors). 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.
/* This script will add items to the toolbar for quick access to commonly used things */

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Wikipedia:Articles for deletion/Today' ),
    'Articles for deletion',
    'pt-pendingchanges',
    'View todays AfD log ',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Special:PendingChanges' ),
    'Pending changes',
    'pt-pendingchanges',
    'Review pending revisions',
    null,
    '#pt-preferences'
  );
});

mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:MyPage/CSD log', "CSD log");

mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:RandomInCategory/Pending AfC submissions', "Random AFC Draft");

mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:PendingChanges', "Pending changes");