437
modifications
Aucun résumé des modifications Balise : Révocation manuelle |
Aucun résumé des modifications |
||
Ligne 913 : | Ligne 913 : | ||
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ | /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ | ||
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { | if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { | ||
alert ('on passe par | alert ('on passe par ici'); | ||
mw.loader.using( 'user.options' ).then( function () { | mw.loader.using( 'user.options' ).then( function () { | ||
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]]) | // This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]]) |