User:SpacemanSpiff/common.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.
document.write('<script type="text/javascript" src="' 
            + 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:DeleteKeep.js' 
            + '&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');
//MediaWiki:DeleteKeep.js

 /*jshint scripturl:true*/
mw.util.addPortletLink('p-tb', 'javascript:importScript("MediaWiki:VisualFileChange.js");', 'Perform batch task', 't-AjaxQuickDeleteOnDemand');
/*jshint scripturl:false*/

importScript('User:Rillke/LicenseReview.js'); 
// contains also user notification when review fails, auto blacklist-check and auto-thank you message for Flickr-reviews.


//MediaWiki:AjaxQuickDelete.js/doc
var AjaxDeleteExtraButtons = [
                {
                    'label': 'Out of scope',
                    'tag': '{\{Out of scope}}',
                    'img_summary': 'Tagging as Out of scope',

                },
                {
                    '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': 'Mark for file rename',
                    'tag': '{\{rename|%PARAMETER%|Current name is non-descriptive; new name will have to be relinked on projects.}}',
                    'img_summary': 'Tagging for rename',
                    'prompt_text': 'What target to rename to?'
                },
                {
                    'label': 'Mark as Logo',
                    'tag': '{\{Logo}}',
                    'img_summary': 'Tagging as logo or derivative work, presumed to be copyrighted.',
                },
                {
                    'label': 'Personality Rights',
                    'tag': '{\{Personality rights}}',
                    'img_summary': 'Tagging {{Personality rights}}, use with care',
                },
                {   'label': 'Tag for Flickr review',
                    'tag': '{\{Flickrreview}}',
                    'img_summary': 'Marking for Flickr review',
                },
                {   'label': 'Tag for Picasa review',
                    'tag': '{\{Picasareview}}',
                    'img_summary': 'Marking for Picasa review',
                },
                {
                    'label': 'Tag FilmiTadka for review',
                    'tag': '{\{Cc-by-3.0-FilmiTadka}}',
                    'img_summary': 'Change or add License to {{Cc-by-3.0-FilmiTadka}}, needing review',
                },
                {
                    'label': 'Tag Bollwood Hungama for review',
                    'tag': '{\{Cc-by-3.0-BollywoodHungama}}',
                    'img_summary': 'Change or add License to {{Cc-by-3.0-BollywoodHungama}}, needing review',
                },
                {
                    'label': 'Tag NROER for review',
                    'tag': '{\{NROER}}',
                    'img_summary': 'Change or add License to {{NROER}}, needing review',
                },
                {
                    'label': 'Tag Tamil Virtual Academy for review',
                    'tag': '{\{Cc-zero-TamilVirtualAcademy‎}}',
                    'img_summary': 'Change or add License to {{Cc-zero-TamilVirtualAcademy‎}}, needing review',
                }
                ];