User:Alachuckthebuck/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.
mw.loader.load('//meta.wikimedia.org/wiki/User:Perhelion/userstatus.js?action=raw&ctype=text/javascript');
// importScriptURI('//meta.wikimedia.org/wiki/User:Perhelion/userstatus.js&action=raw&ctype=text/javascript');
mw.loader.load( 'ext.gadget.VisualFileChange' );
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRevdel.js&action=raw&ctype=text/javascript'); 
mw.loader.load('https://en.wikipedia.org/wiki/User:Writ_Keeper/Scripts/massRollback.js');
mw.loader.load('/w/index.php?title=MediaWiki:PatrolPageRevisions.js&action=raw&ctype=text/javascript'); 
//backlink [[MediaWiki:PatrolPageRevisions.js]]
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Ratekreel/DRHelper.js&action=raw&ctype=text/javascript');
importScriptURI('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/Countervandalism.js&action=raw&ctype=text/javascript');
//above is part of the countervandalism suite i use. below is my ajax quickdelete setup.
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 F10',
                    'tag': '{'+'{speedy|1=[[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors)['+'[Category:Personal files for speedy deletion]]}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10|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 F10 & G10 Combo',
                    'tag': '{'+'{speedy|1=[[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors)['+'[Category:Personal files for speedy deletion]] and [[COM:CSD#G10|CSD G10]] (files created as advertisements)['+'[Category:Advertisements for speedy deletion]]}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors) and [[COM:CSD#G10|CSD G10]] (files created as advertisements)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors) and [[COM:CSD#G10|CSD G10]] (files created as advertisements)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10|CSD F10]] (personal photos of or by non-contributors) and [[COM:CSD#G10|CSD G10]] (files 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://lens.google.com/uploadbyurl?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://lens.google.com/uploadbyurl?url={{filepath:' + mw.config.get("wgTitle") + '}} 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]].}}',
                },{
                    '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%.',
                }, {
                    'label': 'Copyvio (fb)',
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F4]], License review NOT passed: Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here.}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=License review NOT passed: Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here.}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because [[COM:CSD#F4]], license review NOT passed: Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here.',
                }, {
                    'label': 'Copyvio (F4)',
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F4]], insufficient permission.}}',
                    'img_summary': 'speedy deletion: [[COM:CSD#F4]], insufficient permission',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:CSD#F4]], insufficient permission.}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because [[COM:CSD#F4]], insufficient permission.',
                }

];
//<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":"watch","watchlistFiles":"watch","watchlistReplace":"nochange","watchlistOTRS":"nochange","loadBatchSize":30,"maxSimultaneousReq":5,"summaryChacheLen":5,"loadThumbs":true,"loadWikitext":true};
//////////////////////////////////vFCvFCCfgEnd//
//</nowiki>
//<nowiki>

//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation categories","redir_category":"Category redirects","watchlist":"preferences","minor":false,"editpages":false,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>