Jump to content

User:SMcCandlish/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.
//This whole page is nowiki'd.<pre><nowiki>

//Settings for the Wikipedia:Comments_in_Local_Time gadget
LocalComments = {
        dateDifference: true,
        dateFormat: 'dmy',
        timeFirst: true,
        twentyFourHours: false,
        dayOfWeek: true,
        dropDays: 0,
        dropMonths: 0
};

//Lupin's anti-vandal too
importScript('User:Lupin/recent2.js');

//Persondata button:
importScript('User talk:Dr pda/persondata.js');

//Article history tool - use on talk pages to get oldid of AfD events, etc.
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Dr pda/articlehistory.js'
             + '&action=raw&ctype=text/javascript');

//Interiot's javascript edit counter
// [[User:Interiot/Tool2/code.js]]
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

//Gerbrant's links in diffs tool
//document.write('<script type="text/javascript" src="' 
//             + 'http://en.wikipedia.org/w/index.php?title=User:Gerbrant/edit/linksInDiff.js' 
//             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//Voice of All's Admin-like RC Patrol tools (incl. Addtabs, UTCclock, History, Revert (Restore))
// Also incl. [[User:Lupin]]'s popups and recent2
// **** REQUIRES some dropdowns CSS stuff in Special:Mypage/monobook.js; see dox link ****
// **** HIDDEN FEATURE: Double-click the time to PURGE the page! ****
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:VoA/monobook.js' 
             + '&action=raw&ctype=text/javascript');
             //</nowiki>[[Category:Wikipedians who use RC script]]<nowiki>
//Voice of All's search/replace tools
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
             + 'http://en.wikipedia.org/w/index.php?title=User:User:Voice_of_All/replacetxt.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//Voice of All's AfD/copyvio/tagging tabs
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Deletion/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//Voice of All's new pages log/new users log tab
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Sleeper/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//Voice of All's Google/spellcheck/hide-show refs tabs
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Google/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//Voice of All's user warnings tabs
//[[http://en.wikipedia.org/wiki/User:Voice_of_All/UsefulJS]]
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice of All/Adminwarnings/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//Sam Hocevar's revert button tool
//http://sam.zoy.org/wikipedia/
document.write('<script type="text/javascript" src="' 
             + 'http://sam.zoy.org/wikipedia/godmode-light.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//Gerbrant's real article title tool
//mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Gerbrant/realTitle.js' 
             + '&action=raw&ctype=text/javascript');

//=============================================================================
//[[WP:JS]] toys

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

//Inline editing of sections:
importScript('User:Supadawg/secedit.js');

//MECU's BR fixer:
// This is to keep track of who is using this extension:
//</nowiki><span style="display:none;">[[User:Mecu/br.js]]</span><nowiki>

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

//Status changer by Xenocidic, et al.
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Xenocidic/statusChanger2.js'
             + '&action=raw&ctype=text/javascript');

//=============================================================================
//</nowiki></pre>