Utente:Daimona Eaytoy/Massblock.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m ri-ops
-console.log, + altro campo da disabilitare se il blocco non è infinito, +spiegazione
Riga 65:
.then(
function( data ) {
console.log( data );
var isInfty = isInfinity( wpMassBlockExpiry );
blocked++;
Riga 119 ⟶ 118:
},
function( e ) {
console.log( e );
// If not blocked, add the title to the "failed" array and a description of the error to the "error" array.
failed.push( "Special:Block/" + user );
Riga 364 ⟶ 362:
 
document.getElementById( 'wpMassBlockExpiry' ).onkeyup = function() {
// Several fields cannot be used if the expiry isn't infinite
var enable = isInfinity( this.value.trim() );
var disableIDs = [
Riga 369 ⟶ 368:
'wpMassBlockProtectTalk',
'wpMassBlockSummaryUser',
'wpMassBlockProtectUser',
'wpMassBlockProtectReason'
];