User:~riley/CSD.js
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.
Documentation for this user script can be added at User:~riley/CSD. |
//
window.AjaxDeleteExtraButtons =
[
{
'label': 'CSD - Specify',
'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': 'CSD#G2 - Broken Redirect',
'tag': '{'+'{SD|G2}}',
'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G2]], broken redirect.',
}, {
'label': 'CSD#G3 - Vandalism',
'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': 'CSD#G4 - Re-creation',
'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': 'CSD#G6 - Maintenance',
'tag': '{'+'{SD|G6}}',
'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G2]], uncontroversial maintenance.',
}, {
'label': 'CSD#G7 - Author',
'tag': '{'+'{speedy|1=[[COM:CSD#G7]], own work within a week per %PARAMETER%.}}',
'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G7]], own work within a week per %PARAMETER%.',
'prompt_text': 'Why G7?',
'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G7]], own work within a week per %PARAMETER%.}}',
'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G7]], own work within a week per %PARAMETER%.',
}, {
'label': 'CSD#G10 - Advert',
'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': 'CSD#F1 - Internet',
'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': 'CSD#F1 - 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 possible copyright violation: No evidence of a free license at the claimed source.',
}, {
'label': 'CSD#F1 - FaceBook',
'tag': '{'+'{copyvio|1=[[COM:CSD#F1]]: Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here. Permission from original uploader should be given via [[COM:OTRS|OTRS]] for confirmation.}}',
'img_summary': 'speedy deletion: possible copyvio',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here. Permission from original uploader should be given via [[COM:OTRS|OTRS]] for confirmation.}}',
'talk_summary': 'Notification of possible copyright violation for %FILE% because [[COM:CSD#F1]]: Came via Facebook; their [https://www.facebook.com/legal/terms Terms of Use] are incompatible with publishing here. Permission from original uploader should be given via [[COM:OTRS|OTRS]] for confirmation.',
}, {
'label': 'CSD#F2 - 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 to Commons.',
}, {
'label': 'CSD#F8 - Duplicate',
'tag': '{'+'{duplicate|1=%PARAMETER%|user=%USER%}}',
'img_summary': 'Tagging as duplicate of [[:%PARAMETER%]]',
'prompt_text': 'Which file is this a duplicate of? (please 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': 'CSD#F10 - Personal',
'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.',
}
];