User:Dross/links.js

/* START MANAGEWIKI LINKS */

// First, remove default Administration links $( 'div#p-Administration' ).remove;

// New ManageWiki link location $( 'div#mw-panel>div:last-child' ).after( ' ManageWiki  ' );

// The links themselves ;D mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki',	'Go to ManageWiki home',	'tb-managewiki-home',	'Open the default ManageWiki page.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/core',	'Core wiki settings',	'tb-managewiki-core',	'View database name, change site name, change language, change wiki visibility, and change category.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/extensions',	'Extensions',	'tb-managewiki-extensions',	'View, enable, and disable wiki extensions.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/extensions#mw-section-skins',	'Skins',	'tb-managewiki-skins',	'View, enable, and disable wiki skins.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/namespaces',	'Namespaces',	'tb-managewiki-namespaces',	'Edit wiki namespace settings, including namespace protection.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/permissions',	'Permissions',	'tb-managewiki-permissions',	'Manage permissions and user groups for this wiki.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/permissions/*',	'Manage permissions for all users',	'tb-managewiki-permissions-allusers',	'Permissions for "*".' );

mw.util.addPortletLink(	'p-managewiki-links',	'Special:ManageWiki/permissions/user',	'Manage permissions for logged in users',	'tb-managewiki-permissions-user',	'Permissions for "user".' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/permissions/sysop',	'Manage permissions for administrators',	'tb-managewiki-permissions-sysop',	'Permissions for "sysop".' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/permissions/bureaucrat',	'Manage permissions for bureaucrats',	'tb-managewiki-permissions-bureaucrat',	'Permissions for "bureaucrat".' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/settings',	'Miscellaneous',	'tb-managewiki-additional',	'Manage wiki settings for AbuseFilter, beta features, sitewide editor settings, link settings, l10n, media, notifications, default skin, and view restricted settings.' );

mw.util.addPortletLink(	'p-managewiki-links',	'/wiki/Special:ManageWiki/settings#mw-section-restricted',	'Restricted',	'tb-managewiki-restricted',	'View restricted wiki settings (changes require "managewiki-restricted").' );

/* END MANAGEWIKI LINKS */

/* START PERSONAL LINK TOOLBOX (inspiration from and credit to meta:User:Void/links.js) */

// A home for these links to live... $( 'div#p-navigation' ).after( ' My toolbox  ' );

// Now for the pleasant little links mw.util.addPortletLink(	'p-drosslinks',	'/wiki/Special:AbuseFilter',	'Abuse filter',	't-abusefilter',	'View AbuseFilter.' );

mw.util.addPortletLink(	'p-drosslinks',	'/wiki/Special:AllPages',	'All pages',	't-allpages',	'System generated listing of all pages.' );

mw.util.addPortletLink(	'p-drosslinks',	'/wiki/Special:BlockList',	'Blocked users',	't-blocklist',	'List of blocked users with details.' );

mw.util.addPortletLink(	'p-drosslinks',	'/wiki/Special:ListGroupRights',	'User group rights',	't-listgrouprights',	'List of user groups and their rights.' );

mw.util.addPortletLink(	'p-drosslinks',	'/wiki/Special:ListUsers',	'List all users',	't-listusers',	'List of all registered users on this wiki.' );

mw.util.addPortletLink(	'p-drosslinks',	'//meta.miraheze.org/wiki/Special:RandomWiki',	'Random wiki',	't-randomwiki',	'Go to a random wiki.' );

/* END PERSONAL TOOLBOX */

// Extra link(s) for meta if( mw.config.get( 'wgDBname' ) == 'metawiki' ) { mw.util.addPortletLink(		'p-requests',		'//meta.miraheze.org/wiki/Special:RequestWikiQueue?status=inreview',		'Open wiki requests',		'n-openwikirequests',		'View current open wiki requests.',		'',		$( 'li#n-miraheze-requestfeatures' )	); }