Jump to content

User:FlyingPenguins/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.
/* Navigation Popups */
//START NavPopups

// [[User:Lupin/popups.js]] - please include this line 

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

popupDelay=1.0;
popupThumbAction="sizetoggle";

//END NavPopups


/* Comments in local time - settings */
LocalComments = {
        dateDifference: false,
        dateFormat: 'mdy',
        timeFirst: true,
        twentyFourHours: false
};


/* Mark blocked usernames */
//If you add this script to your monobook, it will mark all linked blocked users with a strikethrough, and mark all linked indefinitely blocked users with italics and a strikethrough.
//
// Installation Method 1:
// Add the following line to your monobook.js
// importScript('User:NuclearWarfare/Mark-blocked script.js');
// 
// Installation Method 2:
// Just copy and paste the uncommented part of this page
 
mw.loader.load('https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');


/* Minutes later for diff */
importScript('User:Gary King/minutes later for diff.js');

/* Twinkle */
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {};
TwinkleConfig.watchRevertedPages =    []; // don't watch reverted articles
TwinkleConfig.watchWarnings      = false; // don't watch user's talk pages