Jump to content

User:Digitalme/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// <nowiki>
  /*** [[User:Lightdarkness]]'s include function ***/
  function inc (file) {
    var lt = String.fromCharCode(60);
    var gt = String.fromCharCode(62);
    document.writeln(lt+'script type="text/javascript" src="/w/index.php?title='+file+'&action=raw&ctype=text/javascript&dontcountme=s"'+gt+lt+'/script'+gt);
  }

  mwCustomEditButtons = false;
  
  /***POPUPS***/
  //THE CODE
  //inc("User:Lupin/popups.js");
  //POPUPS OPTIONS
/*  popupHideDelay = 0;
  popupFixRedirs = true;
  popupFixDabs = true;
  popupAdminLinks = true;
  popupRedlinkRemoval = true;
  popupEditCounterTool = "custom";
  popupEditCounterUrl = "http://en.wikipedia.org/wiki/User:Interiot/Tool2/code.js?username=$1"; */
  //BETA OPTIONS
  /*
  popupLiveOptions=true;          //Lets you change frequently-changed Popups options while in-use
  popupLiveOptionsExpanded=false; //Starts with the options tab open on popover (annoying)
  */
  /***END POPUPS***/

  /***GODMODE LIGHT***/
  //document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>'); 
  //inc("User:Kylu/godmode.js");
//  inc("User:Olliminatore/godmode-light.js");
  //inc("User:Digitalme/godmode-light.js");
  //inc("User:Misza13/godmode-light.js");
  /***END GODMODE LIGHT***/

  /***GLOBAL INCS***/
/*  inc("Wikipedia:WikiProject User scripts/Scripts/Add LI link");
  inc("Wikipedia:WikiProject User scripts/Scripts/Add tab");
  inc("Wikipedia:WikiProject User scripts/Scripts/Add LI menu");
  inc("User:Voice_of_All/Addtabs/monobook.js");*/
  /***END GLOBAL INCS***/

  /***********************/
  /*INCLUDED SCRIPTS     */
  /***********************/

/*  inc("User:Digitalme/testn.js"); //Warning tabs when editing talk pages
  inc("Wikipedia:WikiProject User scripts/Scripts/Quick wikify"); //Quick wikify tagging
  inc("User:Voice_of_All/Deletion/monobook.js"); //AfD/PfD/Copyvio and tagging tabs
  inc("User:Digitalme/aiv.js"); //My AIV helper
  inc("User:Lightdarkness/aiv.js"); //Lightdarkness's AIV helper
  inc("User:Interiot/Tool2/code.js"); //Interiot's tool2
  inc("User:Voice_of_All/Sleeper/monobook.js"); //New pages log and New Users log edit counters
  inc("User:Digitalme/db-tabs.js"); //Tabs to add the {{db-*}} tags to a page
  inc("User:Jnothman/afd helper/script.js"); //AfD helper
  inc("User:Lupin/recent2.js"); //Lupin's anti-vandal js
  */
  /***END INCLUDED SCRIPTS***/

  /***********************/
  /*BETA SCRIPTS         */
  /***********************/
  /*
  function setLinkText(id, new_text) {
    link = document.getElementById(id).firstChild;
    link.removeChild(link.firstChild);
    link.appendChild(document.createTextNode(new_text)) 
  }

  function removeLink(id) {
    link = document.getElementById(id);
    link.parentNode.removeChild(link);
  }

  setLinkText('pt-userpage', 'user');
  setLinkText('pt-mytalk', 'talk');
  setLinkText('pt-preferences', 'prefs');
  setLinkText('pt-watchlist', 'watchlist');
  setLinkText('pt-mycontris', 'contribs');
  removeLink('pt-logout'); */

  /***END BETA SCRIPTS***/
  
  //ESSJAY'S MONOBOOK
  //Appears to have been deleted...
  //Make sure to inc() this last
  //inc("User:Essjay/monobook.js");
  //inc("User:Essjay/user/monobook.js");
// </nowiki>