Predefinição:ER/doc: diferenças entre revisões

Conteúdo apagado Conteúdo adicionado
m Foram revertidas as edições de Santú_Saxofonista por fazer testes nos artigos (usando Huggle) (3.1.22)
Atualização de dependência do WikiEditor (ver phab:T165112); +sincronização com mw:Extension:WikiEditor/Toolbar customization#Basic setup
Linha 204:
};
 
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar . . . */
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {
mw.loader.using( 'user.options', ).then( function () {
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])
if ( mw.user.options.get('usebetatoolbar') && mw.user.options.get( 'showtoolbar' ) ) {
if ( mw.loaderuser.usingoptions.get( 'ext.wikiEditor.toolbarusebetatoolbar', function) == 1 () {
$.when(
$( customizeToolbar );
mw.loader.using( 'ext.wikiEditor' ), $.ready
} );
$).then( customizeToolbar );
} else {
$( customizeOldToolbar );