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.
// Edit Enhancement
//======================================
// svg edit tool
if (mw.config.get('wgNamespaceNumber') === 6 && /SVG/i.test(mw.config.get('wgTitle').slice(-3))){
	mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Rillke/SVGedit.js&action=raw&ctype=text/javascript');
}

// mark discussion as resolved with one click
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/EasyResolve.js&action=raw&ctype=text/javascript');

// global Replace
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Perhelion/justReplace.js&action=raw&ctype=text/javascript');

// mass Rename
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Perhelion/massrename.js&action=raw&ctype=text/javascript');

// remove a file from Cat if inside sub-Cat
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Waggers/degrandparent.js&action=raw&ctype=text/javascript');

// add coord template in action=edit
if (mw.config.get('wgNamespaceNumber') === 6){
	mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Dschwen/coordinates.js&action=raw&ctype=text/javascript');
}

// add {{pr}} template
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Steinsplitter/tagPersonalityRight.js&action=raw&ctype=text/javascript');

// append {{watermark}} template
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Stang/tagWatermark.js&action=raw&ctype=text/javascript');

// svg check
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Perhelion/simpleSVGcheck.js&action=raw&ctype=text/javascript');

// file cleanup
// mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Sarang/cleanup.js&action=raw&ctype=text/javascript');

// [[User_talk:Rillke/bigChunkedUpload.js]]
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Rillke/bigChunkedUpload.js&action=raw&ctype=text/javascript');

// [[User:Waggers/degrandparent]]
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Waggers/degrandparent.js&action=raw&ctype=text/javascript');
//======================================


// Display
//======================================
// nav
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Stang/js/satorinav.js&action=raw&ctype=text/javascript');

// sysop
mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Group-sysop.js&action=raw&ctype=text/javascript');

// Compress Special:Log/rights
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Pretty_rights_log.js&action=raw&ctype=text/javascript');
//======================================


// Anti-Vandal
//======================================
// mark as patrolled from wikidata
mw.loader.load('//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-Mark_as_patrolled.js&action=raw&ctype=text/javascript');
//======================================


// Custom setting for Gadgets
//======================================
// [[MediaWiki_talk:Gadget-markAdmins.js]]
window.markAdminCfg = {
	groups: {
		'vrt-permissions': {
			label: 'VRT',
			enabled: true
		},
		'image-reviewer': {
			label: 'IR',
			enabled: true
		}
	}
};
//======================================
// copy from [[User:Hamish/common.js]]
window.AjaxDeleteExtraButtons = [
	            {
                    'label': 'Permission needed (speedy)',
                    'tag': '{'+'{speedy|1=Permission from %PARAMETER% needed via [[COM:VRT|VRT]]}}',
                    'img_summary': 'Permission from %PARAMETER% needed via [[COM:VRT|VRT]].',
                    'prompt_text': 'Who is the <i>copyright holder</i>?',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=Permission from %PARAMETER% needed via [[COM:VRT|VRT]].}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%, permission from copyright holder needed via [[COM:VRT|VRT]]',
                }, {
                    '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 (SD)',
                    'tag': '{'+'{SD|%PARAMETER%}}',
                    'img_summary': 'Requesting speedy deletion because %PARAMETER%',
                    'prompt_text': 'Why speedy delete? (criteria from [[COM:CSD]])',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=%PARAMETER%}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%',
                },{
                    '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': 'Poster',
                    'tag': '{'+'{copyvio|[[COM:POSTER|Poster]] or [[COM:BOOK|book]]/[[COM:ALBUM|album]] cover}}',
                    'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because poster or book/album cover',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=This image is a [[COM:POSTER|poster]] or book/album [[Commons:Copyright_rules_by_subject_matter#Covers|cover]].}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% because it is a poster or book/album cover.',
                }, {
                    'label': 'Screenshot',
                    'tag': '{'+'{Screenshot}}',
                    'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because 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': 'Logo',
					'tag': '{' + '{logo}}',
					'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because non-trivial logo',
					'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=This image is a [[Commons:Copyright rules by subject matter#Trademarks|sophisticated logo]]}}',
 					'talk_summary': 'Notification of possible copyright violation for %FILE% because it is a non-trivial logo.'
                }, {
                    'label': 'Duplicate',
                    '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|[[COM:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]}}',
 					'img_summary': 'Marking as possible [[COM:NETCOPYRIGHT|NetCopyVio]]',
					'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]].}}',
 					'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 (www + Google)',
                    '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': 'Marking as possible [[COM:NETCOPYRIGHT|NetCopyVio]]',
                    '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': 'Marking as possible [[COM:CV|copyright violation]]',
                    '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': 'Copyvio (VRT)',
                    'tag': '{'+'{CopyvioVRT|1=%PARAMETER%}}',
                    'img_summary': 'Request speedy deletion due to copyright infringement claim recieved in the VRTS system.',
                    'prompt_text': 'Ticket ID? (do not include #)',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|reason=An email has been received in a ticket from the copyright holder requesting immediate removal of this file.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%, copyright holder requesting immediate removal of this file via a [[COM:VRT|VRTS]] ticket.',
                }, {
                    '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.',
                }
];
//======================================
//======================================
//<nowiki>

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

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