User:Ratekreel/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('User:Rillke/SVGedit.js'); // Backlink: [[User:Rillke/SVGedit.js]]
//CC
importScript( 'MediaWiki:Commander.js ');
//bigChunkedUpload
importScript('User:Rillke/bigChunkedUpload.js');
//MassRename
importScript( 'User:Perhelion/massrename.js');
//User:Perhelion/massrename.js
//Cleanup.js
importScript('User:Magog the Ogre/cleanup.js'); // Backlink: [[User:Magog the Ogre/cleanup.js]]
//ACDC
window.acdcFavoriteProperties = [
	'P180',
	'P6216',
	'P275',
    'P31',
];
importScript("User:Waggers/degrandparent.js");
importScript('User:MarkTraceur/editDescriptions.js'); // Backlink: [[User:MarkTraceur/editDescriptions.js]]
importScript('User:Magnus Manske/sdc tool.js'); // Backlink: [[User:Magnus Manske/sdc tool.js]]
mw.loader.load( '/w/index.php?title=User:Mdaniels5757/PurgeTab.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Mdaniels5757/PurgeTab.js]]
//AjaxDeleteExtraButtons
window.AjaxDeleteExtraButtons = [
                   {
                    'label': 'CSD G3: Vandalism',
                    'tag': '{'+'{speedy|1=[[COM:CSD#G3|CSD G3]], vandalism.}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G3|CSD G3]]: Vandalism.',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G3|CSD G3]], vandalism.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G3|CSD G3]], vandalism.',
                },
                   {
                    'label': 'CSD F10: Selfie',
                    'tag': '{'+'{SD|F10}}',
                    'img_summary': 'Requesting speedy deletion: [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
                }, {
                    'label': 'CSD G10: Advertising',
                    'tag': '{'+'{SD|G10}}',
                    'img_summary': 'Requesting speedy deletion: [[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)',
                },
                {
                    '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.',
                },
];
//ArticleInfo
mw.loader.load('https://www.mediawiki.org/w/index.php?title=XTools/ArticleInfo.js&action=raw&ctype=text/javascript');
//iNaturalist2Commons
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Kaldari/inat2commons.js&action=raw&ctype=text/javascript');
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Perhelion/simpleSVGcheck.js&action=raw&ctype=text/javascript');
//Adds [[Special:Translate]] to the tools section of the sidebar
mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//commons.wikimedia.org/wiki/Special:Translate',
	'Translation tool',
	'#t-info'
);
});
mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//commons.wikimedia.org/wiki/Category:Rename',
	'Rename requests',
	'#t-info'
);
});
mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//commons.wikimedia.org/wiki/Category:License_review_needed',
	'Review licenses',
	'#t-info'
);
});
//[[User:BMacZero/QuickCfdClose]]
importScript('User:BMacZero/AjaxCfdClose.js');
//[[en:User:BrandonXLF/SVGEditor]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/SVGEditor.js&action=raw&ctype=text/javascript');