User:NQ/links.js

mw.loader.using( 'mediawiki.util', function {	$(function { var $enque = $(" "); $enque.append("Bookmarks "); $enque.append("  "); $("#mw-panel").append($enque); var navlinks = ' ' + ' ' + ' ' + "Links" + ' ' + '' + ' ' + '  '; $(navlinks).insertAfter( $('#p-cactions') );

//Sidebar "Bookmarks" mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('Special:Search'), "Search"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('Special:RecentChanges'), "Recent Changes"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('Template:Wikipedia community'), "Dashboard"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('Wikipedia:User script sandbox'), "Script Sandbox"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:AN'), "Admin Noticeboard"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:ANI'), "Admin Noticeboard Incidents"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:RFPP'), "Requests for Page Protection"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:AIV'), "Admin Intervention Vandalism'"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:BLPN'), "BLP Noticeboard"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:ANEW'), "Edit Warring Noticeboard"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:VPT'), "Village pump (technical)"); mw.util.addPortletLink('p-bookmarks', mw.util.getUrl('WP:HD'), "Help Desk");

//Sidebar "Tools" mw.util.addPortletLink('p-tb', mw.util.getUrl('Main_Page'), "Main Page");

//Right Navigation "More" mw.util.addPortletLink('p-cactions', mw.util.getUrl('Main_Page'), "Main Page");

//Right Navigation "Links" mw.util.addPortletLink('p-links', mw.util.getUrl('WP:BN'), "BN"); mw.util.addPortletLink('p-links', mw.util.getUrl('WP:RFAR'), "ARB/R"); mw.util.addPortletLink('p-links', mw.util.getUrl('WP:PERM'), "PERM");

}); });