User:Entbert/common.js
Jump to navigation
Jump to search
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.
The accompanying .css page for this skin can be added at User:Entbert/common.css. |
// ImageMapEdit
mw.loader.load('//tools.wmflabs.org/imagemapedit/ime_loader.js');
// CropTool (siehe [[Commons:CropTool]])
(function(mw, $){
if (mw.config.get( 'wgNamespaceNumber' ) !== 6) return;
if (mw.config.get( 'wgAction' ) != 'view') return;
$( function () {
var title = mw.config.get( 'wgTitle' ).replace(/ /g, '_'),
croplink = '//tools.wmflabs.org/croptool/?title=' + encodeURIComponent(title);
mw.util.addPortletLink(
"p-tb",
croplink,
"CropTool",
"t-crop",
"Crop this image"
);
});
})(mediaWiki, jQuery);
//<nowiki>
//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation","redir_category":"Category redirects","watchlist":"nochange","minor":true,"editpages":false,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>