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

Contenuto cancellato Contenuto aggiunto
m Ahhh
m fix
Riga 244:
* Executed after all users have been processed.
*/
function doPostBlockActions( errors ) {console.log(errors);
if ( Object.keys( errors ).length > 0 ) {
var linkedList = "";
 
var errorsToCodes = function( el ) {console.log(el);
var key = Object.keys( el )[ 0 ],
action = key.split( "-" )[ 0 ],
Riga 263:
}
$( "#wpMassBlockFailedContainer" ).html(
'<br /><b>' + msg( 'failed-actions' ) + '</b> <ul>' + linkedList + '</ul>'
'(<a href="//www.mediawiki.org/wiki/API:Block#Possible_errors">' + msg( 'failure-help' ) + '</a>)' +
'<ul>' + linkedList + '</ul>'
);
}