MediaWiki:Gadget-QuickDelete.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 111:
alert("getUploader: Non è possibile trovare l'utente che ha caricato l'immagine ... esco");
return null;
}
Riga 128 ⟶ 119:
if (!uploader) return;
// Open new window for the user page
openWindow(wgScript + '?title=
+ '&action=edit&fakeaction=' + usertalk_fakeaction + '&target=' + pagename + '&template_type=' + imagepage_fakeaction);
var editlk = document.getElementById('ca-edit').getElementsByTagName('a')[0].href;
Riga 141 ⟶ 132:
document.editform.wpTextbox1.value = txt + '\n' + document.editform.wpTextbox1.value;
// document.editform.wpSummary.value = 'marking image as missing essential ' + sorl + ' information. If this is not fixed this image might be deleted after 7 days.';
document.editform.wpSummary.value = '
if (mnx_autosave) document.editform.wpSave.click();
}
Riga 147 ⟶ 138:
// Add warning template to uploader's talk page
function mnx_addUserWarningTemplate(imagetarget, template_type) {
var txt = '{{subst:Avvisoimmagine' + '|immagine=' + imagetarget + '}}';
// add in subst: if you want to subst these warnings
document.editform.wpTextbox1.value += '\n==Attenzione: caricata immagine senza licenza==\n' + txt + '~~' + '~~\n';
document.editform.wpSummary.value = "Attenzione: caricata immagine senza licenza.";
// this is the edit summary for when you leave the user warning on the talk page.
|