Page MenuHomePhabricator

Add option to disable visual editor help messages
Closed, ResolvedPublic

Description

As requested in https://phabricator.miraheze.org/T4688, We'd like a way to turn off help dialogs like the 'Links' one (https://phabricator.miraheze.org/F1034072). This option should be similar to the ShowBetaWelcome option but cover all help messages,

Event Timeline

For logged-in users, you could do this by setting a default value for the preference which controls these popups:

$wgDefaultUserOptions['visualeditor-hideusered'] = 1;

I just looked at our code and apparently we ignore the preference entirely for non-logged-in users, which seems like a mistake. (Non-logged-in users can't set their preferences, but the default values still affect them.) I'll write a patch for that.

Change 545366 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] ve.ui.MWEducationPopupTool: Respect default preferences for anon users

https://gerrit.wikimedia.org/r/545366

@matmarex: Does this apply to all help messages? Not just the beta welcome

It applies to the "user education popups" in the toolbar, indicated by the blue pulsating dots.

The beta welcome dialog has its own proper setting, $wgVisualEditorShowBetaWelcome.

User education popupsBeta welcome dialog
$wgDefaultUserOptions['visualeditor-hideusered'] = 1 / 0$wgVisualEditorShowBetaWelcome = false / true
image.png (241×1 px, 23 KB)
image.png (927×1 px, 175 KB)
image.png (649×1 px, 100 KB)

Change 545366 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] ve.ui.MWEducationPopupTool: Respect default preferences for anon users

https://gerrit.wikimedia.org/r/545366

ppelberg claimed this task.