User:Randomtime/monobook.js

// I have too many javascripts // ***** ADDITIONAL LINKS ***** // User:Lupin/popups.js importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' + '&action=raw&ctype=text/javascript'); function addBar {

document.getElementById('p-navigation').innerHTML += ' '+ ' '+ ' Admin links '+ ' '+ // Begin links to other pages 'Deletion Candidates'+ 'Banning Candidates'+ 'Logs'+ 'Watchlist</li>'+ '<a href=\"/wiki/Special:Prefixindex">Prefix Index</a></li>'+ '<a href=\"/wiki/Special:SpecialPages">Special pages</a></li>'+ '<a href=\"/wiki/Special:Allmessages">UI messages</a></li>'+ // Links end '</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); } /* End of additional links //AjaxRC importScriptURI('http://dev.wikia.com/index.php?title=AjaxRC/code.js&action=raw&ctype=text/javascript')