Jump to content

User:Music1201/QuickLinks.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
random afc
added new descriptions
Line 1: Line 1:
/* This script is used to add a link to my personal CSD log
/* This script is used to add a link to my personal CSD log */
*/
$( document ).ready( function() {
$( document ).ready( function() {
mw.util.addPortletLink(
mw.util.addPortletLink(
'p-personal',
'p-personal',
mw.util.wikiGetlink( 'User:Music1201/CSD log' ),
mw.util.wikiGetlink( 'Special:MyPage/CSD log' ),
'CSD log',
'CSD log',
'pt-pendingchanges',
'pt-pendingchanges',
Line 23: Line 22:
'Articles for deletion',
'Articles for deletion',
'pt-pendingchanges',
'pt-pendingchanges',
'View today articles ',
'Review revisions protected with Pending changes',
null,
null,
'#pt-preferences'
'#pt-preferences'
Line 35: Line 34:
'Pending changes',
'Pending changes',
'pt-pendingchanges',
'pt-pendingchanges',
'Review revisions protected with Pending changes',
'Review pending revisions',
null,
null,
'#pt-preferences'
'#pt-preferences'
Line 48: Line 47:
'New pages',
'New pages',
'pt-pendingchanges',
'pt-pendingchanges',
'View CSD log',
'View the New pages feed',
null,
null,
'#pt-preferences'
'#pt-preferences'
Line 61: Line 60:
'Random AFC',
'Random AFC',
'pt-pendingchanges',
'pt-pendingchanges',
'View CSD log',
'Review a random AfC submission',
null,
null,
'#pt-preferences'
'#pt-preferences'

Revision as of 03:40, 3 May 2016

/* This script is used to add a link to my personal CSD log */
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Special:MyPage/CSD log' ),
    'CSD log',
    'pt-pendingchanges',
    'View CSD log',
    null,
    '#pt-preferences'
  );
});

/* Adds Articles for deletion link in toolbar
*/
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Wikipedia:Articles for deletion/Today' ),
    'Articles for deletion',
    'pt-pendingchanges',
    'View today articles ',
    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'
  );
});

/*+*/
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Special:NewPagesFeed' ),
    'New pages',
    'pt-pendingchanges',
    'View the New pages feed',
    null,
    '#pt-preferences'
  );
});

/*+*/
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink( 'Special:RandomInCategory/Pending AfC submissions' ),
    'Random AFC',
    'pt-pendingchanges',
    'Review a random AfC submission',
    null,
    '#pt-preferences'
  );
});