Page MenuHomePhabricator

Separate user setting for RefPreviews and Page Previews for default
Closed, ResolvedPublic5 Estimated Story Points

Assigned To
Authored By
Lena_WMDE
Mar 17 2021, 9:01 AM
Referenced Files
F34165639: Split preference-enables.png
Mar 17 2021, 9:59 AM
F34165640: Split preference.png
Mar 17 2021, 9:59 AM
F33923217: Screen Shot 2020-11-23 at 10.35.10 AM.png
Mar 17 2021, 9:34 AM
F34082991: Merged pop-up.png
Mar 17 2021, 9:34 AM
F33923215: Screen Shot 2020-11-23 at 10.32.03 AM.png
Mar 17 2021, 9:34 AM
F32386385: Existing pop-up.png
Mar 17 2021, 9:34 AM
F34165607: Split preference.png
Mar 17 2021, 9:32 AM

Description

Summary
We will separate the user preference for Reference Previews and Page Previews, based on user feedback on this decision. Reference previews will be enabled by default for readers/anonymous users, and rolled out as an opt-out feature for logged in users (enabled by default).

Note, that the beta preference settings for Reference Previews must be preserved for the remaining wikis until the feature is deployed to all wikis.

Requirements

  • Revert changes made in T265709: Merge Page Preview and Reference Preview preferences and restore Page Previews settings.
  • Add a preference to the Reading preferences section of the Appearance user preferences tab for reference previews, underneath the Page Previews setting.
  • (see table below) If the user has the NavPopups gadget enabled, which hides the feature, it does not change the user's setting but visibly greys out the preference and adds a message to disable the gadget to user the features. The same applies for if the user has RefTooltips enabled (or the wiki has RefTooltips enabled by default)
  • The RefPreviews preference is editable in three different locations:

Mocks
Use same text as page previews if no specific gadget is detected. See two example states below, not all are covered with mocks.

Split preference-enables.png (262×711 px, 31 KB)
Split preference.png (262×711 px, 35 KB)

User settings (backend): Preference setting

GadgetReference preference settingMessage (shown below the standard preference text based on which gadget is enabled)
Nav pop ups enabledGreyed out, not clickableYou have the Navigation popups gadget enabled, so you won't see previews provided by this feature. Depending on your wiki, the gadget may a have slightly different name. If you continue to experience issues, please review your gadgets and user scripts, including global ones.
RefTooltips enabledGreyed out, not clickableYou have the Navigation popups gadget enabled, so you won't see previews provided by this feature. Depending on your wiki, the gadget may a have slightly different name. If you continue to experience issues, please review your gadgets and user scripts, including global ones.
Both gadgets enabledGreyed out, not clickable (current behaviour)You have the Navigation popups and Reference Tooltips gadgets enabled, so you won't see previews provided by this feature. Depending on your wiki, the gadget may a have slightly different name. If you continue to experience issues, please review your gadgets and user scripts, including global ones.
  • For all of the above messages, the names of gadgets should be links which take you to the relevant section on the gadget preferences tab.

Event Timeline

Lena_WMDE renamed this task from Separate user setting for RefPreviews and Page Previews to Separate user setting for RefPreviews and Page Previews for default.Mar 17 2021, 9:17 AM
Lena_WMDE moved this task from Backlog to In preparation on the Reference Previews board.
Lena_WMDE updated the task description. (Show Details)
Lena_WMDE updated the task description. (Show Details)
Lena_WMDE set the point value for this task to 5.

Change 673465 had a related patch set uploaded (by Andrew-WMDE; owner: Andrew-WMDE):
[mediawiki/extensions/Popups@master] Separate page and reference preview preferences

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

Change 674539 had a related patch set uploaded (by Awight; owner: Andrew-WMDE):
[mediawiki/extensions/Popups@master] Messages for a separate reference previews preference

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

Change 674539 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Messages for a separate reference previews preference

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

Change 673465 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Separate page and reference preview preferences

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