Utente:Daimona Eaytoy/Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Mi stai prendendo per il naso? |
m refix |
||
Riga 292:
// OOUI elements
userTextField, talkProtectCb, userSummaryField, userProtectCb, protectReasonField;
document.getElementsByTagName( "h1" )[ 0 ].textContent = msg[ 'page-title' ];
Riga 424 ⟶ 427:
)
];
if ( blockAllowsTalkEdit ) {
blockOptsArray.push( new OO.ui.FieldLayout(
Riga 434 ⟶ 437:
) );
}
blockOptsArray.push
var blockOpts = new OO.ui.FieldsetLayout( {
Riga 573 ⟶ 575:
return new mw.Api().loadMessagesIfMissing( [ 'Ipbreason-dropdown' ] );
} )
.then( massblockform );
▲ // Ideally this would use $wgBlockAllowsUTEdit, but it's not available.
▲ blockAllowsTalkEdit = mw.config.get( 'wgWikiName' ) !== 'it';
}
} );
|