User:Dharmadhyaksha/vector.js

From Wikimedia Commons, the free media repository
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.
importScript('User:Sreejithk2000/BotCheck.js');
importScript('User:Sreejithk2000/useredits.js');
importScript('User:Sreejithk2000/crop.js');
importScript('User:Sreejithk2000/pixlr.js');
importScript('User:Sreejithk2000/Cosmetics.js');
importScript('User:Sreejithk2000/OTRSplsUndelete.js');
importScript('User:Sreejithk2000/CommonSense.js');
importScript('User:Sreejithk2000/OpenCatFilesInNewWindow.js');
importScript('User:Rillke/LicenseReview.js');
 
//////////// Adding a purge tab to vector skin ///////////////////
var purgetab = $('<li/>').attr('id','ca-purge');
var purgeLink = $('<a/>').attr('href', window.location.href +'?action=purge').attr('title', 'Purge cache').text('*');
$('<span/>').append($(purgeLink)).appendTo($(purgetab));
$(purgetab).prependTo($('#ca-view').parent());
//////////// Adding a purge tab to vector skin ///////////////////
 
window.AjaxDeleteWatchFile = true;
window.AjaxDeleteExtraButtons = [
                {
                    'label': 'Uncategorized',
                    'tag': '{\{subst:unc}}',
                    'img_summary': 'Tagging as uncategorized'
                },
                {
                    'label': 'Should be SVG',
                    'tag': '{\{SVG}}',
                    'img_summary': 'This file will be better as SVG'
                },
                {
                    'label': 'SVG available',
                    'tag': '{\{SVG available|%PARAMETER%}}',
                    'img_summary': 'SVG available as [[%PARAMETER%]]',
                    'prompt_text': 'Which file is the SVG version of this file ?'
                },
                {
                    'label': 'Watermark',
                    'tag': '{\{Watermark}}',
                    'img_summary': 'This file contains a watermark that should be removed.'
                },
                {
                    'label': 'Mark as Dupe',
                    'tag': '{\{duplicate|1=%PARAMETER%|user=%USER%}}',
                    'img_summary': 'Tagging as duplicate of [[%PARAMETER%]]',
                    'prompt_text': 'Which file is a duplicate of this file ?'
                },
                {
                    'label': 'Location possible',
                    'tag': '{\{location possible}}',
                    'img_summary': 'Please add camera location info'
                },
                {
                    'label': 'Flickr review',
                    'tag': '{\{flickrreview}}',
                    'img_summary': 'Flickr review needed'
                }
                ];