Utente:Sakretsu/common.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m fix |
+ |
||
Riga 348:
var expiry = mw.util.getParamValue( 'gbexpiry' );
var reason = mw.util.getParamValue( 'gbreason' );
var blockedPages = null, blockedNs = null;
if ( isPartial ) {
▲ if ( mw.util.getParamValue( 'gbpartial' ) === '1' ) {
// @ToDo Keep these vars in a consistent format: either pipe-split,
// comma-split, array, or anything else. Depends on the format used
Riga 361 ⟶ 362:
'.gb-container-button { width: 100%; text-align: center }';
mw.util.addCSS( style );
if ( !isPartial && expiry === 'infinito' ) {
var disableUTEdit = mw.util.getParamValue( 'gbdisableUTEdit' ) === '1';
buildFormInfinito( username, reason, !disableUTEdit );
|