User:JediRogue/monobook.js

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

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

//******FULL/CONCISE SWAP.**********

//create buttons function createToggleButton{ var space = document.getElementById('toggle-button'); var button = createElement('a', [], {'href':'javascript:toggleConcise'}); button.appendChild("toggle concise"); space.appendChild(button); document.write("create"); } addOnloadHook( createToggleButton );

//WIKISWAP

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');