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 .
/*
Disabled: Please see https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users) to fix this script
function InsertButtonsToToolBar() {
// Add generic {{Painting}} button
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png",
"speedTip": "Add {{Painting}}",
"tagOpen": "== {{int:filedesc}} ==\n{{Painting\n | Title = {{en|",
"tagClose": " }} \n | Artist = \n | Year = \n | Technique = {{Technique|1=}}\n | Dimensions = {{Size|cm||}}\n | Gallery = \n | Location = \n | Notes = \n | Source = \n | ID = \n | Permission = \n | Other versions = \n}}\n\n=={{int:license}}==\n{{PD-Art}}\n\n",
"sampleText": ""};
}
addOnloadHook( InsertButtonsToToolBar );*/
importScript ( 'MediaWiki:Gadget-QuickDelete.js' );
//* based on [[MediaWiki:Gadget-Tineye.js]]
importScript ( 'MediaWiki:Extra-tabs.js' );
$ ( function () {
if ( wgNamespaceNumber != 14 ) return ;
mw . util . addPortletLink ( 'p-cactions' , 'http://maps.google.com/maps?q=http%3A%2F%2Ftoolserver.org%2F%7Epara%2Fcgi-bin%2Fkmlexport%3Fproject%3DCommons%26article%3DCategory%253A' + encodeURIComponent ( wgTitle . split ( " " ). join ( "_" )), 'Map' , 'ca-mapg' );
});
//importScript ('MediaWiki:Gadget-ImageAnnotator.js');
if ( wgNamespaceNumber >= 0 ) importScript ( 'User:Lupo/c.js' ); //HotCat on steroids
//<nowiki>
//catALot///////////////////////////////////////
////////// Cat-A-Lot user preferences //////////
window . catALotPrefs = { "watchlist" : "preferences" , "minor" : false , "editpages" : true , "docleanup" : true , "subcatcount" : 50 };
////////////////////////////////////catALotEnd//
//</nowiki>