Wikipedia:Monobook.js/LiveRC.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Importo direttamente utils... |
-funzioni obsolete |
||
Riga 434:
link.style.textDecoration = "none";
document.getElementById('LiveRevertMessage').disabled = true;
var message = document.getElementById('LiveRevertMessage').value;▼
if (type == "copyviol") {▼
▲
} else {▼
var testo = '{{Cancella subito|' + document.getElementById('cancimmAvert').value + '}}\n\n'
}
new mw.Api().postWithEditToken( {
action: 'edit',
title: page,
▲ if (type == "copyviol")
prependtext: testo
▲ else
} );
▲ testo = '{{Cancella subito|' + document.getElementById('cancimmAvert').value + '}}\n\n' + testo;
▲ setpagecontent(page, testo, "LiveRC : Cancella subito");
}
|