MediaWiki:Gadget-twinkleimage.js: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
 
(Localise)
 
(2 intermediate revisions by the same user not shown)
Line 72: Line 72:
label: 'Orphaned fair use (CSD F5)',
label: 'Orphaned fair use (CSD F5)',
value: 'orphaned fair use',
value: 'orphaned fair use',
tooltip: 'Image or media is unlicensed for use on Wikipedia and allowed only under a claim of fair use per Wikipedia:Non-free content, but it is not used in any articles'
tooltip: 'Image or media is unlicensed for use on Wikipedia and allowed only under a claim of fair use per Sarkarverse:Non-free content, but it is not used in any articles'
},
},
{
{
Line 134: Line 134:
]
]
} );
} );
// fall through
/* falls through */
case 'no license':
case 'no license':
work_area.append( {
work_area.append( {
Line 302: Line 302:
break;  // doesn't matter
break;  // doesn't matter
}
}
tag += "}}\n";
tag += "|help=off}}\n";


pageobj.setPageText(tag + text);
pageobj.setPageText(tag + text);
Line 335: Line 335:
notifytext += "}} ~~~~";
notifytext += "}} ~~~~";
usertalkpage.setAppendText(notifytext);
usertalkpage.setAppendText(notifytext);
usertalkpage.setEditSummary("Notification: tagging for deletion of [[" + Morebits.pageNameNorm + "]]." + Twinkle.getPref('summaryAd'));
usertalkpage.setEditSummary("Notification: tagging for deletion of [[:" + Morebits.pageNameNorm + "]]." + Twinkle.getPref('summaryAd'));
usertalkpage.setCreateOption('recreate');
usertalkpage.setCreateOption('recreate');
switch (Twinkle.getPref('deliWatchUser')) {
switch (Twinkle.getPref('deliWatchUser')) {