User:Trijnstel/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:Trijnstel/common.css. |
$(document).bind('scriptLoaded', function(evt, st, o) {
if (st) {
if ('AxUserMsg' === st && o) {
o.umTemplate.push(['Autopatrolgiven', "Autopatrol given", "After giving autopatrol rights to a user.", 128, "Just for your information: You are now [[COM:PATROL#Autopatrolled|autopatrolled]]."]);
o.umTemplate.push(['PatrollerWelcome', "Patroller Welcome", "After giving patrol rights to a user.", 128, "Just for your information: Welcome you are now a [[COM:PATROL|patroller]]."]);
o.umTemplate.push(['FilemoverWelcome', "Filemover Welcome", "After giving filemover rights to a user.", 128, "Just for your information: Welcome you are now a [[COM:RENAME|filemover]]."]);
o.umTemplate.push(['Image-reviewerWelcome', "Image reviewer Welcome", "After giving image reviewer rights to a user.", 128, "Just for your information: Welcome you are now a [[COM:LR|image reviewer]]."]);
o.umTemplate.push(['Noticket', "No ticket found", "To notify a user that OTRS permission is missing", 1|4, "File is lacking [[COM:OTRS|OTRS]] permission."]);
}
}
});
if (mw.config.get("wgNamespaceNumber")===-1 && mw.config.get("wgCanonicalSpecialPageName")==="CheckUser") mw.loader.load("//checkuser.wikimedia.org/w/index.php?title=User:Amalthea/cufilter.js&action=raw&ctype=text/javascript");
importScript('User:Rillke/LicenseReview.js');
importScript('User:Majora/LicenseReview.js');
importScript('User:JurgenNL/speedyscript.js');
importScript('User:Rillke/bigChunkedUpload.js');
window.AjaxDeleteExtraButtons = [
{
'label': 'Gemeentelijk mon.',
'tag': '{'+'{Gemeentelijk monument|1=%PARAMETER%}}',
'img_summary': 'Tagging as gemeentelijk monument # %PARAMETER%',
'prompt_text': 'Gemeentelijk monument ID'
},{
'label': 'Rijks mon.',
'tag': '{'+'{Rijksmonument|1=%PARAMETER%}}',
'img_summary': 'Tagging as Rijksmonument # %PARAMETER%',
'prompt_text': 'Rijksmonument ID'
}
];