Page MenuHomePhabricator

When reference previews is a beta feature the settings cog does not display for logged in users
Closed, DeclinedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • I'm also seeing 1,513,425 errors in last 7 days for "Page previews: No settings button found in preview." in logstash which supported the reality that the settings cog is no longer visible.
  • Hover over any reference on any page e.g [1]

What happens?:

  • On German Wikipedia, hovering over a reference shows a functional setting icon for logged out and logged in users
  • On English Wikipedia where the feature is still a beta feature, hovering over a reference shows a functional setting icon for logged out and logged in users

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change 957832 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/Popups@master] Always show preview settings icon

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

@thiemowmde do you recall if this is intentional? Presumably the settings cog is not hidden because it doesn't link to the right pane on Special:Preferences (which my patch fixes)?

Jdlrobson renamed this task from When reference previews is a beta feature the settings cog does not display for logged in uers to When reference previews is a beta feature the settings cog does not display for logged in users.Sep 14 2023, 10:22 PM

Yes, this is an intentional product decision. Mentioned in T234205, T277639 and T276200.

Please don't quote me, but as far as I remember the idea is that a) these users actively opted-in, so they shouldn't be surprised to see these popups, as well as remember how to disable them. And b) it would need even more extra code to make it work when the checkbox is somewhere else. I hope that helps.

This special case will disappear together will all Beta feature code the moment we properly deployed the feature to all wikis. The relevant umbrella ticket is T282999. We are in the process of figuring out how to prioritize this.

ovasileva triaged this task as Medium priority.Sep 15 2023, 2:19 PM

Okay if this is intentional we should disable the error logging given the volume. I'll post a patch today.

Change 957961 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/Popups@master] Disable error logging for missing settings cog on references beta feature

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

Change 957961 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] Disable error logging for missing settings cog on references beta feature

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

Change 957832 abandoned by Jdlrobson:

[mediawiki/extensions/Popups@master] Always show preview settings icon

Reason:

Abandoning this for now. Will leave this with WMDE in case they want to do a follow up.

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

Untagging web team since production error has been taken care of. WMDE should feel free to decline this ticket or talk more about the alternative solution in https://gerrit.wikimedia.org/r/957832

Ok, thanks! We will automatically discuss this as part of T282999 or just remove the special case code together with all BetaFeatures code, so I think a separate ticket is not needed at the moment.