User:Souseiseki42/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.
 // [[User:Jsimlo/shortcuts.js]]
 mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Jsimlo/shortcuts.js' 
             + '&action=raw&ctype=text/javascript');
 
 function shortcutsInit ()
 {
 
  shortcutsAddLink ('Village Pump', 'Wikipedia:Village_pump');
  shortcutsAddLink ('New pages', 'Special:Newpages');
  shortcutsAddLink ('Requests for comment', 'Wikipedia:Requests for comment');
  shortcutsAddLink ('Editors looking for help', 'Category:Wikipedians_looking_for_help');
  shortcutsAddLink ('Templates', 'Wikipedia:Template_messages');
  shortcutsAddLink ('Articles for deletion', 'Wikipedia:Articles_for_deletion');
  shortcutsAddLink ('monobook.js', 'User:Souseiseki42/monobook.js');
 }

// Twinkle script (reverting, warning, reporting, csd, xfd, prod, rpp)
importScript('User:AzaToth/twinkle.js');

TwinkleConfig = {
        watchRevertedPages              :       [],
        watchWarnings                   :       false,
};

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

// Easy un-watch script
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName=='Watchlist' && wgAction=='view') 
$(function () {
 var frm = document.getElementsByTagName('form')[0];
 frm.parentNode.insertBefore(document.createTextNode(' | '), frm);
 var lnk = document.createElement('a');
 lnk.appendChild(document.createTextNode('Unwatch…'));
 lnk.href = 'javascript:importScript("User:Alex_Smotrov/wlunwatch.js")';
 frm.parentNode.insertBefore(lnk, frm);
})

// Allows you to track user contribs
importScript('User:Tra/userwatchlist.js');