User:Killerserv/standard.js

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); } // User:Lupin/popups.js importScript('User:Lupin/popups.js');

// importScript('User:Voice of All/addtabs/monobook.js'); function addcountedit { if( wgNamespaceNumber == '2' || wgNamespaceNumber == '3' || ( wgNamespaceNumber == '-1' && wgTitle == 'Contributions' ) ) { var countuser = wgTitle.split( '/' )[0]; if( wgNamespaceNumber == '-1' && wgTitle == 'Contributions' ) countuser = document.getElementById( 'contentSub' ).getElementsByTagName( 'a' )[0].getAttribute('title').split(':')[1]; addToolboxLink("http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + countuser.replace('/\ /', '+') + "&site=en.wikipedia.org", "Edit count", , , ''); } } $(addcountedit); //

//  function aivlist(type) { var f = document.editform, t = f.wpTextbox1; if (t.value.length > 0) t.value += '\n'; var ip = prompt("Enter IP address", ""); var reason = prompt("Enter reason for listing", ""); t.value += "* " + reason + "--~" + "~" + "~" + "~"; f.wpSummary.value = "Listing " + ip; f.submit; } addOnloadHook( function addaivlink {  if (document.title.indexOf("Editing Wikipedia:Administrator intervention against vandalism") != -1)  {    mw.util.addPortletLink("p-cactions", "javascript:aivlist('vandal')", "vandal", "ca-vandal", "Report a vandal", "");    mw.util.addPortletLink("p-cactions", "javascript:aivlist('ipvandal')", "ipvandal", "ca-ipvandal", "Report an ipvandal", "");  } } ); //

importScript('User:AzaToth/twinkle.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu'); importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css'); importScript('User:S/tags.js');