User:Dirael/monobook.js

// ***** ADDITIONAL LINKS *****

function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+ ' Admin links '+ ' '+ 'Deletion Candidates'+ 'Banning Candidates'+ 'Logs'+ 'Watchlist</li>'+ '</ul> '; } //Close addBar

addOnloadHook(addBar); //Call addBar on load

function importScript(page, lang) { var url = wgScriptPath + '/index.php?title=' + encodeURIComponent(page.replace(' ','_')) + '&action=raw&ctype=text/javascript&dontcountme=s'; if (lang) url = 'http://' + lang + '.wikipedia.org' + url; var s = document.createElement('script'); s.src = url; s.type='text/javascript'; document.getElementsByTagName('head')[0].appendChild(s); }

//WikiSwap importScript('User:AT/wikiswap.js');

// links for admins and bcrats

function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+  ' Command Center '+ ' <ul>'+ '<a href=\"/wiki/Category:Candidates for deletion">Deletion</a></li>'+ '<a href=\"/wiki/Category:Candidates for banning">Banning</a></li>'+ '<a href=\"/wiki/Special:Log">Master Log</a></li>'+ '<a href=\"/wiki/Special:Blockip">Block User</a></li>'+ '<a href=\"/index.php?title=Special:Unusedimages&limit=20&offset=20">Unused images</a></li>'+ //'<a href=\"/wiki/Special:ProblemReports">Problem Reports</a></li>'+ //for future reference '</ul> '; }