Utente:Daimona Eaytoy/Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Non mi torna |
m Vediamo |
||
Riga 11:
// OOUI element
var submitBtn,
blockAllowsTalkEdit;
// Ideally this would use $wgBlockAllowsUTEdit, but it's not available.▼
blockAllowsTalkEdit = mw.config.get( 'wgWikiName' ) !== 'it';▼
/**
Riga 426 ⟶ 425:
];
if ( blockAllowsTalkEdit ) {
blockOptsArray.push( new OO.ui.FieldLayout(
new OO.ui.CheckboxInputWidget( {
Riga 574 ⟶ 573:
return new mw.Api().loadMessagesIfMissing( [ 'Ipbreason-dropdown' ] );
} )
.then(
function () {
▲ // Ideally this would use $wgBlockAllowsUTEdit, but it's not available.
▲ blockAllowsTalkEdit = mw.config.get( 'wgWikiName' ) !== 'it';
massblockform();
}
);
}
} );
|