User:Estevoaei/global.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
//catALot///////////////////////////////////////
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
// To protect privacy only load on wikis where it is not loaded already
var moduleState = mw.loader.getState('ext.gadget.Cat-a-lot');
if( moduleState === null ) {
mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
} else {
mw.loader.using('ext.gadget.Cat-a-lot');
}
});
////////// Cat-A-Lot user preferences //////////
window.catALotPrefs = {"watchlist":"preferences","minor":true,"editpages":true,"docleanup":false,"subcatcount":10};
////////////////////////////////////catALotEnd//