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,

Details

Related Gerrit Patches:

Event Timeline

RhinosF1 created this task.Sep 1 2019, 8:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 1 2019, 8:36 PM

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

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 closed this task as Resolved.Dec 24 2019, 5:10 PM
ppelberg claimed this task.