User:SarekOfVulcan/vector-2022.js

// Very effective wikibreak enforcer, it works by removing your edit token. Can be reversed with twinkle //function wikibreak // { //  document.body.innerHTML = document.body.innerHTML.replace(/token=/g, "toking="); // Disable rollback // handle_token('wpEditToken'); // Disable everything else // function handle_token(token_name) //   { //    var token = document.getElementsByName(token_name)[0]; //   if (token == null) //     { //      return false; //     } //    token.value = ""; //   } //  } //today = new Date; //if (today.getHours >= 8 //     && today.getHours < 18 //    && today.getDay >= 1 //      && today.getDay <= 5) // { //  addOnloadHook(wikibreak); // }

function addDash { loLogoutNode = document.getElementById("pt-logout"); loDashNode = mw.util.addPortletLink( "p-personal"      , mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=User:" + mw.config.get('wgUserName') + "/Dashboard"        , "Dashboard"        , "pt-admindash"        , "Link to dashboard"        , "d"        , loLogoutNode ); } addOnloadHook(addDash);

importScript("User:Lupin/recent2.js");

importScript('User:Smith609/toolbox.js'); importScript('User:Splarka/temused.js'); importScript('User:Splarka/sysopdectector.js'); importScript('User:Ale_jrb/Scripts/igloo.js'); // User:Ale_jrb/Scripts/igloo importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:Rami_R/rfppClerk.js'); importScript("User:A930913/vada/import.js"); importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: User:Joeytje50/JWB.js/load.js