User:CWii/monobook.js
From Wikipedia, the free encyclopedia
If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
importScript('User:Henrik/js/automod.js'); importScript('User:Gracenotes/rollback.js'); importScript('User:Ioeth/friendly.js'); importScript('User:Alex_Smotrov/logpage.js'); importScript('User:AzaToth/twinkle.js'); importScript("User:Lupin/recent2.js"); importScript('User:Voice_of_All/Addtabs/monobook.js'); importScript('User:Misza13/viewSource.js'); importScript('User:AndyZ/peerreviewer2.js'); document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>'); //importScript('User:Compwhizii/statusChanger.js'); importScript ('User:Henrik/js/afc-helper.js'); importScript ('User:Compwhizii/js/ifu-helper.js'); //importScript('User:VoA/monobook.js');// install [[User:Cacycle/wikEd]] in-browser text editor document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript"></' + 'script>'); //importScript('User:Animum/reset.js'); importScript('User:Lupin/autoedit.js'); //[[User:Lupin/autoedit.js]] //importScript('User:Cameltrader/Advisor.js'); // This will add an [edit] link at the top of all pages except preview pages and the main page // by User:Pile0nades //First loads //importScript('User:Voice_of_All/Addtabs/monobook.js'); //importScript('User:Voice_of_All/UTCclock.js'); importScript('User:Voice_of_All/replacetxt.js'); // mass tools //importScript('User:Voice_of_All/Adminwarnings/monobook.js'); importScript('User:Voice_of_All/Specialadmin/monobook.js'); //importScript('User:Voice_of_All/Protection/monobook.js'); importScript('User:Voice_of_All/History/monobook.js'); //CU stuff //importScript('User:Voice_of_All/CheckUser/monobook.js'); //crat stuff //importScript('User:Voice_of_All/Bureaucrat/monobook.js'); //BAG stuff //importScript('User:Voice_of_All/Approvals.js'); //importScript('User:Voice_of_All/Google/monobook.js') //importScript('User:Voice_of_All/Sleeper/monobook.js'); importScript('User:Voice_of_All/Deletion/monobook.js'); //importScript('User:AzaToth/morebits.js'); //importScript('User:AzaToth/twinklexfd.js'); //importScript('User:AzaToth/twinkleunlink.js'); // Add an [edit] link to pages addOnloadHook(function () { // if this is preview page or generated page, stop if( document.getElementById("wikiPreview") || document.getElementById("histlegend") || document.getElementById("difference") || document.getElementById("watchdetails") || document.getElementById("ca-viewsource") || window.location.href.indexOf("/wiki/Special:") != -1 ) { if(window.location.href.indexOf("&action=edit§ion=0") != -1) { document.getElementById("wpSummary").value = "/* Intro */ "; } return; }; // get the page title var pageTitle = wgPageName; // create div and set innerHTML to link var divContainer = document.createElement("div"); divContainer.innerHTML = '<div class="editsection">[<a href="/w/index.php?title='+pageTitle+'&action=edit§ion=0" title="Edit section: '+pageTitle+'">edit intro</a>]</div>'; // insert divContainer into the DOM below the h1 if(window.location.href.indexOf("&action=edit") == -1) { document.getElementById("content").insertBefore(divContainer, document.getElementsByTagName("h1")[0]); } }); // install [[User:Cacycle/wikEdDiff]] enhanced diff view using ajax document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // {{commons ok}} tagger function commonsOK() { if (document.editform) { document.editform.wpTextbox1.value += "\n{{commons ok}}"; document.editform.wpSummary.value = "{{[[Template:commons ok|commons ok]]}}"; document.editform.submit(); } else document.location = wgServer + wgScript + "?title=" + wgPageName + "&action=edit&commonsOK=1"; } function addCommonsOK(){ if (wgCanonicalNamespace == "Image") addPortletLink("p-cactions", "javascript:commonsOK()", "{{commons ok}}", ""); if (document.location.href.indexOf("commonsOK=1") > 0) commonsOK(); } addOnloadHook(addCommonsOK); //************************************* /**** afd helper ****/ importScript('User:Jnothman/afd_helper/script.js'); /* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */ // [[User:Krimpet/CH2.js]] importScript('User:Krimpet/CH2.js'); importScript('User:Ultraexactzz/afdsort.js'); importScript('User:Ultraexactzz/afdsort2.js'); importScript('User:Mr.Z-man/hideClosedAFD.js'); importScript('User:Paranomia/simplevote.js'); importScript('Wikipedia:WikiProject User scripts/Scripts/Autocopyvio.js'); importScript('User:AWeenieMan/furme.js'); //importScript('User:Ais523/votesymbols.js'); importScript('User:Ais523/highlightmyname2.js'); importScript('User:JeremyMcCracken/contribstab.js'); importScript('User:CWii/JB2script.js');

