Utente:MGA73/LicenseUpdate.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
|[sS]elf\|GFDL\|[cC]c-by-sa-2.5 |
|[sS]elf\|GFDL\|FAL |
||
(Una versione intermedia di uno stesso utente non è mostrata) | |||
Riga 27:
fn: function (){
var needAppend = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = needAppend.replace(/{{([Gg][Ff][Dd][Ll]|GFDL-self|GFDL-con-disclaimer|GFDL-Utente|GFDL-Utente-con-disclaimer|[sS]elf\|GFDL\|[cC]c-by-sa-2.5|[sS]elf\|GFDL-con-disclaimer\|[cC]c-by-sa-2.5|[sS]elf\|GFDL\|FAL)}}/g, "{{$1|migration=relicense}}");
document.editform.wpSummary.value = "File is eligible for relicense of GFDL - see [[Progetto:Coordinamento/Migrazione licenza|here]] (using [[User:MGA73/LicenseUpdate.js]]).";
Riga 46:
// /* on cancel button, actually cancel */
// if (reason !== null) {
document.editform.wpTextbox1.value = needAppend.replace(/{{([Gg][Ff][Dd][Ll]|GFDL-self|GFDL-con-disclaimer|GFDL-Utente|GFDL-Utente-con-disclaimer|[sS]elf\|GFDL\|[cC]c-by-sa-2.5|[sS]elf\|GFDL-con-disclaimer\|[cC]c-by-sa-2.5|[sS]elf\|GFDL\|FAL)}}/g, "{{$1|migration=not-eligible}}");
document.editform.wpSummary.value = "File is not eligible for relicense of GFDL - see [[Progetto:Coordinamento/Migrazione licenza|here]] - uploader please consider to relicense (using [[User:MGA73/LicenseUpdate.js]]).";
Riga 62:
fn: function (){
var needAppend = document.editform.wpTextbox1.value;
document.editform.wpTextbox1.value = needAppend.replace(/{{([Gg][Ff][Dd][Ll]|GFDL-self|GFDL-con-disclaimer|GFDL-Utente|GFDL-Utente-con-disclaimer|[sS]elf\|GFDL\|[cC]c-by-sa-2.5|[sS]elf\|GFDL-con-disclaimer\|[cC]c-by-sa-2.5|[sS]elf\|GFDL\|FAL)}}/g, "{{$1|migration=review}}");
document.editform.wpSummary.value = "File need review for relicense of GFDL - see [[Progetto:Coordinamento/Migrazione licenza|here]] (using [[User:MGA73/LicenseUpdate.js]]).";
|