User:Oshwah/NavLinksCustom.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:Oshwah/NavLinksCustom. |
(function() {
// show shortcuts if not editing
if (!mw.config.get('wgEditMessage'))
{
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '', "-----------------------------");
// mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:BlankPage/RTRC', "Recent changes - LIVE");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:NewPages', "New page log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/w/index.php?title=Special%3ALog&type=newusers&subtype=create', "New user log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:CheckUserLog', "Checkuser log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Log/suppress', "Suppression log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Massedit', "Edit multiple pages");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Massprotect', "Protect multiple pages");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Massrestore', "Restore multiple pages");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Massblock', "Block multiple users");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:MassUnblock', "Unblock multiple users");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/MediaWiki:Spam-blacklist', "Spam blacklist");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/w/index.php?title=Special%3ALog&type=spamblacklist', "Spam blacklist log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/MediaWiki:Titleblacklist', "Title blacklist");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/MediaWiki:Bad image list', "Bad image list");
// mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/w/index.php?title=Special%3ALog&type=pagetriage-deletion', "Deletion tag log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:AbuseFilter', "AbuseFilter mgmt");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:AbuseLog', "AbuseFilter log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:AbuseLog?wpSearchFilter=51|53|579|874|885', "AbuseFilter LTA hits");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:AbuseLog?wpSearchFilter=499|935', "AbuseFilter spam hits");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Arbitration enforcement log', "AC/DS log");
// mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/User:EnterpriseyBot/defcon', "Set DEFCON");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrator intervention against vandalism', "WP:AIV");
//mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Category:Requests for unblock', "WP:RFU");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for page protection', "WP:RFPP");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Usernames for administrator attention', "WP:UAA");
//mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for permissions', "WP:PERM");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard', "WP:AN");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard/Edit warring', "WP:AN3");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard/Incidents', "WP:ANI");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrators%27 noticeboard/Edit warring', "WP:ANEW");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Sockpuppet investigations', "WP:SPI");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Arbitration Committee/Noticeboard', "WP:A/N");
return;
}}());