Utente:Mess/Sandbox
Aspetto
// clear deletion preload text
// by [[m:User:Wim b]]
if( wgAction === 'delete' ) {
$('.mw-submit').append(' <input id="DirectButton"type="button" value="Pulisci" onclick="Clear()">');
function Clear() {
$('#wpReason').val('');
}
}