Jump to content

User:Brookie/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.
importScript('MediaWiki:LinkFixr.js');

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

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

popupShortcutKeys=true; // optional: enable keyboard shortcuts
popupAdminLinks=true;   // optional: enable admin links
popupStructure='menus'; // new feature: lovely CSS dropdown menus
popupFixDabs=true;
popupFixRedirs=true;

// Filter changes live
// [[User:Lupin/recent2.js]] - please include this line
mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');

// [[User:Zocky/PicturePopups.js]] - please include this line 
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js' 
             + '&action=raw&ctype=text/javascript');
table.persondata {display:block;}

//Easyblock
importScript('User:Animum/easyblock.js');

//CSD Deleter and Decliner
importScript('User:Ale_jrb/Scripts/csdcheck.js');
var notifyByDefaultDel	= true;
importScript('User:Ale_jrb/Scripts/csdhelper.js');

//Mark blocked users
mw.loader.load('https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

//List usergroups on User:USERNAME or User talk:USERNAME
importScript('User:Splarka/sysopdectector.js');

<source lang="javascript">
// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName 
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
  "Reflinks"  // link label
)});
</source>