User:TheDireMaster/monobook.js

importScript("User:Nihiltres/nothingthree.js"); importScript('User:NuclearWarfare/Mark-blocked script.js'); importScript('User:Henrik/js/live-edit-counter.js'); importScript('User:Alex Smotrov/histcomb.js') importScript('User:Ale_jrb/Scripts/userhist.js'); //User:Ale_jrb/Scripts importScript('Wikipedia:WikiProject User scripts/Scripts/TimeTraveller') importScript('User:Lupin/recent2.js');

importScript('User:Ale_jrb/Scripts/igloo.js'); // User:Ale_jrb/Scripts/igloo importScript('User:Ais523/topcontrib.js'); importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs'); importScript('User:Tra/sidebartranslate.js'); //User:Tra/sidebartranslate.js importScript('User:Misza13/Scripts/View source'); importScript('MediaWiki:Gadget-markblocked.js'); importScript('User:Misza13/statusChanger.js'); //FastButtons 1.0 importScript('User:Macy/FastButtons.js');

var autolinkParseLink = false;

importScript('User:Lenore/autolink.js');importScript('User:John254/mass rollback.js');

importScript('User:TheJosh/Scripts/NewPagePatrol.js'); importAnyScript('meta','wikimedia','User:Mike.lifeguard/sixTabs.js'); $(function { elems = document.getElementsByClassName('editsection'); for (i = 0; i < elems.length; i++)  elems[i].innerHTML = '[top] ' + elems[i].innerHTML; });

importScript('User:Henrik/js/automod.js'); function rollbackEverythingButton { var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");  if (hasRollback[0] && (document.title.indexOf("User contributions") != -1) ) {    mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");  } } addOnloadHook(rollbackEverythingButton); function rollbackEverything {    for (var i in document.links) {      if (document.links[i].href.indexOf('action=rollback') != -1) {        window.open(document.links[i].href);      }    } }

function hidevfd{ var divs = document.getElementsByTagName("div"); for(var x = 0; x < divs.length; ++x) if(divs[x].className.indexOf("vfd") != -1) divs[x].style.display = "none"; document.getElementById('footer').style.display = 'none'; }

function showvfd{ var divs = document.getElementsByTagName("div"); for(var x = 0; x < divs.length; ++x) if(divs[x].className.indexOf("vfd") != -1) divs[x].style.display = ""; document.getElementById('footer').style.display = ''; }

function addlilink(tabs, url, name){ var na = document.createElement('a'); na.href = url; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); li.appendChild(na); tabs.appendChild(li); return li; }

function vfdlinks{ var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; if(document.title.indexOf("Wikipedia:Articles for deletion") == 0){ addlilink(tabs, 'javascript:hidevfd', 'Hide'); addlilink(tabs, 'javascript:showvfd', 'Show'); } }

if (window.addEventListener) window.addEventListener("load",vfdlinks,false); else if (window.attachEvent) window.attachEvent("onload",vfdlinks);

var cactions = {    itabs: true,     svars: [],     tbusr: false,     xmlhr: true }; importScript('User:Haza-w/interiot.js'); //User:Haza-w/interiot.js // User:Dschwen/highlightredirects.js - please include this line document.write(' ');

// VIEW SOURCE $(function {  if (location.href.indexOf('viewsource=1') != -1) {    sl = document.getElementById('wpSummaryLabel'); sl.parentNode.removeChild(sl);    ed = document.getElementById('wpSummary').parentNode; ed.parentNode.removeChild(ed);    return;  }  editbutton = document.getElementById('ca-edit');  if (editbutton && location.href.indexOf('action=edit')==-1) {    editlink = editbutton.getElementsByTagName('a')[0].href + '&viewsource=1';    tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];    na = document.createElement('a');    na.href = editlink; na.appendChild(document.createTextNode('view source'));    li = document.createElement('li'); li.id = 'ca-viewsource'; li.appendChild(na);    tabs.insertBefore(li,editbutton);  } });

//

$(function {    var rights_isAdmin = (mw.config.get('wgUserGroups').toString.indexOf('sysop') != -1);    if (!rights_isAdmin)        return; //Restrict to admins.    if (mw.config.get('wgNamespaceNumber') != "2" && mw.config.get('wgNamespaceNumber') != "3")        return;  // restrict to User and User talk

var title = mw.config.get('wgTitle');

mw.util.addPortletLink('p-tb', '/wiki/Special:Userrights/'+title,                  'User rights', 't-userrights', 'User rights for "'+title+'"');

});