User:JLaTondre/monobook.js

//

// User:Lupin/popups.js - see Tools/Navigation popups for details importScript("User:Lupin/popups.js");

simplePopups=true; popupAdminLinks=true; popupFixDabs=true; popupOnEditSelection=false;

// User:Lupin/recent2.js - see User:Lupin/Anti-vandal tool for details //importScript("User:Lupin/recent2.js");

// Close AFD - see WikiProject User scripts/Scripts/CloseAFD.js for details //importScript("User:JLaTondre/closeafd.js");

// CSD AutoReason (for ones not in MediaWiki:Deletereason-dropdown) //importScript("User:JLaTondre/csd.js");

// AFD Helper - see User:Jnothman/afd_helper for details //importScript("User:Jnothman/afd_helper/script.js");

// Auto Copyvio //importScript("User:JLaTondre/autocopyvio.js");

/**** Add [edit top] link to top of page ****/ // by User:Pile0nades

//addOnloadHook(function { //  // if this is preview page or generated page, stop //  if(document.getElementById("wikiPreview") || window.location.href.indexOf("/wiki/Special:") != -1) return; //  // get the page title //  var pageTitle = document.title.split(" - ")[0].replace(" ", "_"); //  // create div and set innerHTML to link //  var divContainer = document.createElement("div"); //  divContainer.innerHTML = '[edit top] '; //  // insert divContainer into the DOM before the h1 //  if(window.location.href.indexOf("&action=edit") == -1) //    document.getElementById("content").insertBefore(divContainer, document.getElementsByTagName("h1")[0]); //  if(window.location.href.indexOf("&action=edit&section=0") != -1) //   document.getElementById("wpSummary").value = "/* Intro */ "; //});

/**** Helper tools ****/ importScript("User:Voice_of_All/Addtabs/monobook.js");

/**** UTC Clock ****/ importScript("User:Voice_of_All/UTCclock.js");

/**** Window Customizations ****/ // from Voice of All

//function addtoolboxlinks { //   var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0]; //   addlilink(tb, '/wiki/Special:Newpages', 'New pages', ''); //   addlilink(tb, '/wiki/Special:Log/newusers', 'New users', ''); //   addlilink(tb, '/wiki/Category:Candidates_for_speedy_deletion', 'Speedy deletions', ''); //   addlilink(tb, '/wiki/Category:Proposed deletion', 'Proposed deletions', ''); //   addlilink(tb, '/wiki/Wikipedia:Administrator_intervention_against_vandalism', 'Vandalism', ''); //   addlilink(tb, '/wiki/WP:RfPP', 'Protection requests', ''); //   addlilink(tb, '/wiki/WP:PP', 'Protected pages', ''); //   addlilink(tb, '/wiki/Wikipedia:Administrators%27_noticeboard', 'Noticeboard', ''); //   addlilink(tb, '/wiki/Wikipedia:Administrators%27_noticeboard/3RR', '3RR violations', ''); //}

//addOnloadHook(Mainfast) //function Mainfast //{ // addtoolboxlinks; //}

/**** OneClickArchiver ****/ importScript("User:Technical_13/Scripts/OneClickArchiver.js");

// User:Anomie/linkclassifier.js importScript('User:Anomie/linkclassifier.js'); // Linkback: User:Anomie/linkclassifier.js importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: User:Anomie/linkclassifier.css

//