Page MenuHomePhabricator

Bookmark icon is showing for browsers that do not support it
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

  • Enable the bookmark feature
  • Disable JavaScript (or load an old browser we don't support e.g. IE11)
  • Visit a page with bookmark

What happens?:
I see a blank hole where the bookmark feature is

Screenshot 2025-10-24 at 9.24.30 AM.png (2,026×356 px, 94 KB)

What should have happened instead?:
The bookmark should not show at all

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

Acceptance criteria for done

  • The bookmark functionality should not show at all on articles
  • The reading lists user menu item should not show

Event Timeline

HFan-WMF triaged this task as Medium priority.Oct 27 2025, 8:51 PM
HFan-WMF moved this task from Incoming to Needs refinement on the Reader Experience Team board.
aude raised the priority of this task from Medium to High.Aug 3 2026, 6:38 PM
aude set the point value for this task to 2.Mon, Aug 17, 1:57 PM

Change #1326880 had a related patch set uploaded (by LorenMora; author: LorenMora):

[mediawiki/extensions/ReadingLists@master] Bookmark icon: Remove for browsers that do not support it

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

Change #1326880 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] Bookmark icon: Remove for browsers that do not support it

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

To be clear, the patch was fulfilling the scope of the task. It hides the bookmark icon on the articles.
It does NOT hide the saved pages Vector menu icon.

Double-checking with task author @Jdlrobson-WMF that this fulfills the task? And we might only possibly aim for a follow-up task?

Ah good catch. Since these pages don't work without JavaScript we should definitely hide #pt-readinglists-2 and #pt-readinglists as well

@LMora-WMF could we expand the scope of this ticket and could you please post a follow up?

Jdlrobson-WMF added a subscriber: Volker_E.

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

[mediawiki/extensions/ReadingLists@master] Hide reading list links when JS not available

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

Change #1327200 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] styles: Hide reading list links when JS not available

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

Change #1327515 had a related patch set uploaded (by Aude; author: Aude):

[mediawiki/extensions/ReadingLists@master] Load bookmark styles on non-article pages for Special:ReadingLists link

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

When I disable JS, I am still seeing the link to Special:ReadingLists on non-article pages, or things like action=watch.

Here is a patch to fix that:

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ReadingLists/+/1327515

Change #1327515 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] Load bookmark styles on non-article pages for Special:ReadingLists link

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

Etonkovidova subscribed.
Testing notes
  • ✅ the bookmark icon is not shown if javascript disabled

Screenshot 2026-08-21 at 12.28.37 PM.png (774×1,144 px, 110 KB)

  • the Saved pages link is present in the menu; when clicked a user sees the following warning

Screenshot 2026-08-21 at 12.46.16 PM.png (1,260×1,080 px, 150 KB)

desktopmobile
Screenshot 2026-08-21 at 12.26.57 PM.png (2,582×764 px, 143 KB)
Screenshot 2026-08-21 at 12.31.16 PM.png (758×1,260 px, 125 KB)

When I disable JS, I am still seeing the link to Special:ReadingLists on non-article pages, or things like action=watch.

Here is a patch to fix that:

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ReadingLists/+/1327515

Checked on beta - all works as expected.