User:Tedder/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.
// "hide pages" replaced by entries in [[User:Tedder/monobook.css]], see [[Wikipedia:Hide Pages in Watchlist]].

// [[User:Krimpet/CH2.js]]
//importScript('User:Krimpet/CH2.js');

//[[User:Mr.Z-man/closeAFD.js]] - AfD closer
// x 2017 importScript('User:Mr.Z-man/closeAFD.js');
//importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js'); // not updated since 2008, it's currently April 2012.
 
//[[User:Animum/EasyBlock]] - Blocking script
// is worse than a fail in chrome
// x 2017 importScript('User:Animum/easyblock.js');

// deletion sorting
//importScript('User:Quarl/util.js');
//importScript('User:Quarl/wikipage.js');

//importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
//importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
//importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');
//importScript('User:Tedder/delsort.js');

// x 2017 importScript('MediaWiki:RefToolbarNoDialogs.js');




// wordcount, mainly for DYK
// x 2017 importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]

// CSD helper
// x 2017 importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]

/// the following are stolen from [[User:SoWhy/monobook.js]]
// [[User:Steel359/protection.js]] - Easily add responses to [[WP:RFPP]] and protection symbols to pages
// x 2017 importScript('User:Steel359/protection.js');

//Mass rollback function
//Written by John254
//Adapted from User:Mr.Z-man/rollbackSummary.js
//Instructions: Selecting the "rollback all" tab when viewing a user's contributions history
//will open all rollback links displayed there. (Use with caution)
 /* x 2017
function rollbackEverythingButton() {
  var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");
  if (hasRollback[0] && (document.title.indexOf("User contributions") != -1) ) {
    mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything()', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");
  }
}
$(rollbackEverythingButton);
function rollbackEverything() {
    for (var i in document.links) {
      if (document.links[i].href.indexOf('action=rollback') != -1) {
        window.open(document.links[i].href);
      }
    }
}
*/

// cite bot
//importScript('User:Smith609/citations dev.js');


// [[User:Fran Rogers/CH2_en.js]]
//importScript('User:Fran Rogers/CH2_en.js');