MediaWiki:Gadget-Massblock.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
bugfix
Non c'è il passbyref
Riga 127:
return doProtectPage( page, 'edit=sysop|move=sysop' )
.done( function() {
this[counter]++;
} )
.fail( function( e ) {
Riga 144:
this.talkpageedited++;
if ( FormData.protectTalk ) {
return this._protect( talkPage, true, this.'talkpageprotected', user );
}
}.bind( this ),
Riga 162:
function( data ) {
var exists = Object.keys( data.query.pages )[ 0 ] !== -1;
return this._protect( talkPage, exists, this.'talkpageprotected', user );
}.bind( this ),
function( e ) {
Riga 177:
this.userpageedited++;
if ( FormData.protectUser ) {
return this._protect( userPage, true, this.'userpageprotected', user );
}
}.bind( this ),
Riga 195:
function( data ) {
var exists = Object.keys( data.query.pages )[ 0 ] !== -1;
return this._protect( userPage, exists, this.'userpageprotected', user );
}.bind( this ),
function( e ) {