14,091
edits
m (1 revision) |
(clean up) |
||
Line 27: | Line 27: | ||
Window.setTitle( "File for dated speedy deletion" ); | Window.setTitle( "File for dated speedy deletion" ); | ||
Window.setScriptName( "Twinkle" ); | Window.setScriptName( "Twinkle" ); | ||
Window.addFooterLink( "Speedy deletion policy", " | Window.addFooterLink( "Speedy deletion policy", "SV:CSD" ); | ||
Window.addFooterLink( "Twinkle help", " | Window.addFooterLink( "Twinkle help", "SV:TW/DOC#image" ); | ||
var form = new Morebits.quickForm( Twinkle.image.callback.evaluate ); | var form = new Morebits.quickForm( Twinkle.image.callback.evaluate ); | ||
Line 87: | Line 87: | ||
label: 'Replaceable fair use (CSD F7)', | label: 'Replaceable fair use (CSD F7)', | ||
value: 'replaceable fair use', | value: 'replaceable fair use', | ||
tooltip: 'Image or media may fail Wikipedia\'s first non-free content criterion ([[ | tooltip: 'Image or media may fail Wikipedia\'s first non-free content criterion ([[SV:NFCC#1]]) in that it illustrates a subject for which a free image might reasonably be found or created that adequately provides the same information' | ||
}, | }, | ||
{ | { | ||
Line 297: | Line 297: | ||
pageobj.setPageText(tag + text); | pageobj.setPageText(tag + text); | ||
pageobj.setEditSummary("This file is up for deletion, per [[ | pageobj.setEditSummary("This file is up for deletion, per [[SV:CSD#" + params.normalized + "|CSD " + params.normalized + "]] (" + params.type + ")." + Twinkle.getPref('summaryAd')); | ||
switch (Twinkle.getPref('deliWatchPage')) { | switch (Twinkle.getPref('deliWatchPage')) { | ||
case 'yes': | case 'yes': |