Note: After saving, you have to
bypass your browser's cache to see the changes.
Internet Explorer: press
Ctrl-F5 ,
Mozilla: hold down
Shift while clicking
Reload (or press
Ctrl-Shift-R ),
Opera/Konqueror: press
F5 ,
Safari: hold down
Shift + Alt while clicking
Reload ,
Chrome: hold down
Shift while clicking
Reload .
// [[User:Rillke/SVGedit.js]]
//mw.loader.load ('User:Rillke/SVGedit.js')
importScript ( "User:Rillke/SVGedit.js" )
// [[User:Lupin/popups.js]]
mw . loader . load ( '//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript' );
// [[Wikipedia:Tools/Navigation popups]]
mw . loader . load ( 'https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' );
mw . loader . load ( 'https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css' , 'text/css' );
importScript ( "User:EpochFail/NOOB.js" );
// Wiki-Labels [[File:User:EpochFail/WikiLabels.js]] (workaround for [[phab:T35355]])
mw . loader . load ( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-WikiLabels-loader.js&action=raw&ctype=text/javascript' );
// [[File:Krinkle_Global_SUL.js]]
mw . loader . load ( '//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript' );
/**
* Add "Purge" content action link.
*
* Dependencies: mediawiki.util, mediawiki.api
*
* @source https://www.mediawiki.org/wiki/Snippets/Purge_action
* @revision 2016-05-22
*/
$ ( function () {
if ( $ ( '#ca-purge' ). length || ! mw . config . get ( 'wgIsArticle' ) ) return ;
var node = mw . util . addPortletLink (
'p-cactions' ,
mw . util . getUrl ( null , { action : 'purge' } ),
mw . config . get ( 'skin' ) === 'vector' ? 'Purge' : '*' ,
'ca-purge' ,
'Purge the server cache of this page' ,
'*'
);
$ ( node ). on ( 'click' , function ( e ) {
new mw . Api (). post ( { action : 'purge' , titles : mw . config . get ( 'wgPageName' ) } ). then ( function () {
location . reload ();
}, function () {
mw . notify ( 'Purge failed' , { type : 'error' } );
});
e . preventDefault ();
});
});
//<nowiki>
//catALot///////////////////////////////////////
////////// Cat-A-Lot user preferences //////////
window . catALotPrefs = { "watchlist" : "preferences" , "minor" : true , "editpages" : true , "docleanup" : false , "subcatcount" : 50 };
////////////////////////////////////catALotEnd//
//</nowiki>