MediaWiki:Gadget-Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
bugfix |
+opzione per bloccare la talk anche qui |
||
(2 versioni intermedie di uno stesso utente non sono mostrate) | |||
Riga 54:
// OOUI element
var submitBtn,
// Ideally this would use $wgBlockAllowsUTEdit, but it's not available in JS.
blockAllowsTalkEdit =
mwapi = new mw.Api();
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,
}
}.bind( this ),
Riga 162:
function( data ) {
var exists = Object.keys( data.query.pages )[ 0 ] !== -1;
return this._protect( talkPage, exists,
}.bind( this ),
function( e ) {
Riga 177:
this.userpageedited++;
if ( FormData.protectUser ) {
return this._protect( userPage, true,
}
}.bind( this ),
Riga 195:
function( data ) {
var exists = Object.keys( data.query.pages )[ 0 ] !== -1;
return this._protect( userPage, exists,
}.bind( this ),
function( e ) {
Riga 721:
} );
} else {
mw.util.addPortletLink( 'p-tb', mw.
}
} );
|