User:Fatemi/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:Fatemi/common.css. |
importScript('User:Rillke/LicenseReview.js');
window.AjaxDeleteExtraButtons = [
{
'label': 'DW No Source',
'tag': '{'+'{subst:dw-nsd}}',
'img_summary': 'This is a [[COM:DW|derivative work]] and no source is provided.',
'talk_tag': '{'+'{subst:dw image source|1=%FILE%}}',
'talk_summary': 'Original source is missing for %FILE%',
},
{
'label': 'Tag as dupe',
'tag': '{'+'{duplicate|1=%PARAMETER%|user=%USER%}}',
'img_summary': 'Tagging as duplicate of [[%PARAMETER%]]',
'prompt_text': 'Which is file is this a duplicate of?'
}
];
$(function () {
$('#n-uploadbtn a').after(' ', $('<a>', { text: '(🤓)' }).attr('href', '/w/index.php?title=Special:Upload&uploadformstyle=basic'));
});