Jump to content

User:FT2/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.
// CTRL-F5 to refresh after modifying. Variables after script import.


//====================================== preview refs

importScript('User:Anomie/ajaxpreview.js'); // Linkback: [[User:Anomie/ajaxpreview.js]]

//====================================== prose size (for DYK etc)

importScript('User:Dr pda/prosesizebytes.js'); //[[User:Dr pda/prosesizebytes.js]]

<!-- 
//====================================== Sysop.js

// Adds invert checkbox on special:undelete

importScript('MediaWiki:Sysop.js');


//====================================== Contribs on IP range

// Adds special:contribs on an IP/CIDR range

importScript('User:Splarka/contribsrange.js');

-->

//====================================== Preview <refs>

// Allows <ref>...</ref> to be previewed even without a <references /> tag present

// VirtualRefs, by [[de:Benutzer:ParaDox/VirtualReferences.js]]
 
importScript('User:FT2/scripts/previewrefs.js');

// OLD:  document.write('<SCRIPT SRC="http://de.wikipedia.org/w/index.php?title='Benutzer:ParaDox/VirtualReferences.js&action=raw&ctype=text/javascript&dontcountme=s"><\/SCRIPT>');


<!--

//====================================== "SINCE" links

// From: http://en.wikipedia.org/wiki/User:Jayvdb/since.js
// With thanks to Jayvdb for much work :)


importScript('User:FT2/scripts/since.js');

SinceConfig = {
  historyRevisions : 750,
  updateWatchlist  : true,
  editWatchlistTalkLinks : true
};


//====================================== AJAX UNWATCH

// From: http://en.wikipedia.org/wiki/User_talk:Alex_Smotrov/wlunwatch.js

importScript('User:Alex Smotrov/wlunwatch.js'); 


//====================================== CSD CRITERIA LIST

// Adapted from: http://en.wikipedia.org/wiki/User:%5Edemon/CSD_AutoReason

importScript('User:FT2/Scripts/CSD.js');


//====================================== NAMESPACE SEARCH DROPDOWN (KILLED)

// From: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Multi-NS_search.js

// importScript('Mediawiki:WikiProject User scripts/Scripts/Multi-NS search.js');


//====================================== MAKE 'COMPARE' BUTTON INTO A LINK

// From: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Compare_link

importScript('Mediawiki:WikiProject User scripts/Scripts/Compare link.js');


//====================================== ADD DROPDOWN PAGE CONTROLS

// Based on: http://en.wikipedia.org/wiki/User:Haza-w/Caction_tool
// BUG REPORTED in OCT 19 2008 version + Opera, using old version Jan 2008.

importScript('User:FT2/cactions.js');

var cactions = {
    itabs: false,
    tbusr: true,
};

////importScript('User:FT2/Scripts/CactionsOLD.js');
////var ctIsAdmin = 1;
////var ctOriginalTabs = 1;
////var ctEditIntro = 1;


//====================================== ADD USER PAGE TABS

// From: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/User_tabs

// importScript('Wikipedia:WikiProject User scripts/Scripts/User tabs');


//====================================== POPUPS

// [[User:Lupin/popups.js]]

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
 + '&action=raw&ctype=text/javascript');

popupDelay=1.5;
popupHideDelay=0;

popupStructure='original'; //fancy, fancy2
popupSubpopups=false;
popupOnEditSelection=false;
popupAdminLinks=true;
popupFixRedirs=true;
popupFixDabs=true;
imagePopupsForImages=false;
popupMaxWidth=500;

popupRevertSummaryPrompt=true;


//====================================== VoA CHECKUSER TOOLS

// [[User:Voice of All/UsefulJS]]

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/CheckUser/monobook.js' 
             + '&action=raw&ctype=text/javascript');

-->