User:Smooth O/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.
importScript('MediaWiki:LicenseReview.js'); // importScript('User:Majora/LicenseReview.js');

importScript("User:Waggers/degrandparent.js"); // Use COM:DGP

window.AjaxDeleteWatchFile = false;

window.AjaxDeleteExtraButtons = [

	            {

                    'label': 'Permission needed (speedy)',

                    'tag': '{'+'{speedy|1=Permission from %PARAMETER% needed via [[COM:OTRS|OTRS]].}}',

                    'img_summary': 'Permission from %PARAMETER% needed via [[COM:OTRS|OTRS]].',

                    'prompt_text': 'Who is the <i>copyright holder</i>?',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=Permission from %PARAMETER% needed via [[COM:OTRS|OTRS]].}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE%, permission from copyright holder needed via [[COM:OTRS|OTRS]]',

                }, {

                    'label': 'Speedy Recreation DR',

                    'tag': '{'+'{speedy|1=[[COM:CSD#G4]], Recreation of content previously deleted per community consensus.}}',

                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G4]]: Recreation of content previously deleted per community consensus.',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G4]], Recreation of content previously deleted per community consensus.}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G4]], recreation of content previously deleted per community consensus.',

                }, {

                    'label': 'Speedy Selfie/F10',

                    'tag': '{'+'{SD|F10}}',

                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#F10]]: Personal photos of or by non-contributors.',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10]], Personal photos of or by non-contributors.}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10]], personal photos of or by non-contributors.',

                }, {

                    'label': 'Speedy Advert/G10',

                    'tag': '{'+'{SD|G10}}',

                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G10]]: Files and pages created as advertisements.',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G10]], Files and pages created as advertisements.}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G10]], files and pages created as advertisements.',

                }, {

                    'label': 'Speedy Vandalism/G3',

                    'tag': '{'+'{speedy|1=[[COM:CSD#G3]], vandalism.}}',

                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G3]]: Vandalism.',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G3]], vandalism.}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G3]], vandalism.',

                }, {

                    'label': 'Speedy',

                    'tag': '{'+'{speedy|1=%PARAMETER%}}',

                    'img_summary': 'Requesting speedy deletion because %PARAMETER%',

                    'prompt_text': 'Why speedy delete?',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=%PARAMETER%}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE%',

                }, {

                    'label': 'Screenshot',

                    'tag': '{'+'{Screenshot}}',

                    'img_summary': 'Possible unfree screenshot',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=This image is a screenshot of a non-free program or other copyrighted material.}}',

                    'talk_summary': 'Notification of possible speedy deletion for %FILE% because it is an unfree screenshot.',

                }, {

                    'label': 'Tag as dupe',

                    'tag': '{'+'{duplicate|1=File:%PARAMETER%|user=%USER%}}',

                    'img_summary': 'Tagging as duplicate of [[File:%PARAMETER%]]',

                    'prompt_text': 'Which file is this a duplicate of? (do not include File:)',

                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=This file is an [[:Category:Duplicate|exact duplicate]] or scaled-down version of [[:%PARAMETER%]].}}',

                    'talk_summary': 'Notification of possible speedy deletion for duplicate %FILE% because it is an [[:Category:Duplicate|exact duplicate]] or scaled-down version',

                }, {

                    'label': 'Copyvio (www)',

                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={{filepath:{'+'{subst:BASEPAGENAME}}}} Google search]}}',

                    'img_summary': 'speedy deletion: possible copyvio',

                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={'+'{filepath:{'+'{subst:BASEPAGENAME}}}} Google search].}}',

                    'talk_summary': 'Notification of possible copyright violation for %FILE% because it is [[COM:NETCOPYRIGHT|found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={'+'{filepath:{'+'{subst:BASEPAGENAME}}}} Google search].}}',

                }, {

                    'label': 'Copyvio (source)',

                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: No evidence of a free license at the claimed source.}}',

                    'img_summary': 'speedy deletion: possible copyvio',

                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:CSD#F1]], Possible copyright violation: No evidence of a free license at the claimed source.}}',

                    'talk_summary': 'Notification of possible copyright violation for %FILE% because there is no evidence of a free license at the claimed source.',

                }, {

                    'label': 'Fair use',

                    'tag': '{'+'{Fair use}}',

                    'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because [[COM:Fair use|fair use]] media are not allowed on Commons.',

                    'talk_tag': '{'+'{subst:No fair use|1=%FILE%|2=Fair use.}}',

                    'talk_summary': 'Please do not upload media with fair-use claims, such as %FILE%, to Commons.',

                }, {

                    'label': 'Copyvio (covers/poster)',

                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: Album cover/Movie poster.}}',

                    'img_summary': 'speedy deletion: Album cover/Movie poster',

                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:CSD#F1]], Possible copyright violation: Album cover/Movie poster.}}',

                    'talk_summary': 'Notification of possible copyright violation for %FILE%.',

                }

];

//<nowiki>


//vFCvFCCfg/////////////////////////////////////

/////// VISUAL FILE CHANGE CONFIGURATION ///////

///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////

////////////////////////////////////////////////

window.vFCSettings = {"userNote":"Yours sincerely,","firstTest":0,"testEdits":0,"defaultAction":"del","watchlistUserTalk":"preferences","watchlistFiles":"watch","watchlistReplace":"nochange","watchlistOTRS":"nochange","loadBatchSize":30,"maxSimultaneousReq":5,"summaryChacheLen":5,"loadThumbs":true,"loadWikitext":true};

//////////////////////////////////vFCvFCCfgEnd//

//</nowiki>