Utente:Daimona Eaytoy/Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
alert |
m altro msg |
||
Riga 6:
function doMassBlock() {
document.getElementById( "wpMassBlockSubmit" ).disabled = true;
var users = document.getElementById( "wpMassBlockUsers" ).value.split( "\n" )
msg = getMessages();
if ( users.length === 0 ) {
return;
Riga 64 ⟶ 65:
}
// Hackeroni ripperoni
if ( failed.length > 0 ) {
var linkedList = "";
for ( x = 0; x < failed.length; x++ ) {
linkedList += "<li><a href=\"" + mw.config.get('wgScript') + "?title=" + encodeURIComponent( failed[ x ] ) + "\">" + failed[ x ] + "</a>: " + error[ x ] + "</li>";
}
document.getElementById( "wpMassBlockFailedContainer" ).innerHTML += '<br /><b>
}
}
Riga 132 ⟶ 131:
'override': 'Override existing blocks:',
'submit-text': 'Block',
'result-alert': 'Blocked $1 users, edited $2 talk pages and $3 user pages.',
'failed-actions': 'Failed actions:'
};
Riga 164:
'override': 'Sovrascrivi eventuali blocchi:',
'submit-text': 'Scatena l\'inferno!',
'result-alert': 'Bloccati $1 utenti, modificate $2 talk e $3 pagine utente.',
'failed-actions': 'Azioni non riuscite:'
};
|