User:Music1201/QuickLinks.js: Difference between revisions
Appearance
Content deleted Content added
adding |
|||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* This script |
/* 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( 'User:Music1201/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', |
|||
'Review revisions protected with Pending changes', |
|||
null, |
|||
'#pt-preferences' |
|||
); |
|||
}); |
|||
$( document ).ready( function() { |
/* $( document ).ready( function() { |
||
mw.util.addPortletLink( |
mw.util.addPortletLink( |
||
'p-personal', |
'p-personal', |
||
mw.util. |
mw.util.getUrl( 'Wikipedia:Dashboard' ), |
||
' |
'Dashboard', |
||
'pt- |
'pt-dashboard', |
||
'View the Wikipedia Dashboard ', |
|||
'Review revisions protected with Pending changes', |
|||
null, |
null, |
||
'#pt-preferences' |
'#pt-preferences' |
||
); |
); |
||
}); |
}); */ |
||
mw.loader.using( 'mediawiki.util' ).done( function() { |
|||
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Village pump/Proposals', "Village pump"); |
|||
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/Wikipedia:Requested moves#Backlog', "Requested moves"); |
|||
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Articles for deletion/Today', "Articles for deletion"); |
|||
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"); |
|||
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:NewPagesFeed', "New pages feed"); |
|||
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Articles for creation/Redirects', "Redirects for creation"); |
|||
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/User:Music1201/Things to do', "Things to do"); |
|||
mw.util.addPortletLink('p-navigation', 'http://ticket.wikimedia.org', "OTRS"); |
|||
⚫ |
Latest revision as of 17:28, 25 October 2017
/* 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.getUrl( 'Wikipedia:Dashboard' ),
'Dashboard',
'pt-dashboard',
'View the Wikipedia Dashboard ',
null,
'#pt-preferences'
);
}); */
mw.loader.using( 'mediawiki.util' ).done( function() {
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Village pump/Proposals', "Village pump");
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/Wikipedia:Requested moves#Backlog', "Requested moves");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Articles for deletion/Today', "Articles for deletion");
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");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:NewPagesFeed', "New pages feed");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Articles for creation/Redirects', "Redirects for creation");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/User:Music1201/Things to do', "Things to do");
mw.util.addPortletLink('p-navigation', 'http://ticket.wikimedia.org', "OTRS");
} );