Page MenuHomePhabricator

Mobile web reference previews for subrefs
Closed, ResolvedPublic

Description

User Story
As a user reading an article in the mobile web view, when I click a sub-ref footnote marker, I want to be able to see the full bibliographic information, incl. sub-reference information, from within the article so that I can be informed about the precise details of the source.

Solution

1) Sub Book References with Existing Style Mobile.png (667×376 px, 103 KB)

Figma file
So for each subref, we show the subref number, the full main ref content, and the full subref content.

Changes compared to the reference preview on mobile for main refs without subrefs:

  • The number in front of the main reference should be the subref number -> [1.1] instead of [1]
  • The subreference should be displayed on a new line underneath the main reference content. No additional padding or spacing in between the main & subref is required.

Current status quo:

For ReferencePreview in Reader Mode in mobile view, the main ref is missing currently:

image.png (1×844 px, 279 KB)

The ContextItem for subrefs in VE covers a large part of the screen but for now is acceptable and does not need changes.

Screenshot From 2025-05-30 09-39-45.png (909×598 px, 143 KB)

Supporting docs

Event Timeline

Lina_Farid_WMDE renamed this task from Mobile reference previews for subrefs to UX Design needed : Mobile reference previews for subrefs.May 30 2025, 7:42 AM
ElineWMDE renamed this task from UX Design needed : Mobile reference previews for subrefs to Mobile reference previews for subrefs.May 30 2025, 9:27 AM
ElineWMDE removed ElineWMDE as the assignee of this task.
ElineWMDE updated the task description. (Show Details)
awight renamed this task from Mobile reference previews for subrefs to Mobile web reference previews for subrefs.Jun 3 2025, 8:35 AM
awight updated the task description. (Show Details)

Change #1161872 had a related patch set uploaded (by Mareike Heuer; author: Mareike Heuer):

[mediawiki/extensions/MobileFrontend@master] Fix ref preview for subrefs on mobile

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

Tobi_WMDE_SW claimed this task.
Tobi_WMDE_SW subscribed.

demonstrated in Sprint Review.

Change #1161872 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Fix ref preview for subrefs on mobile

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