Page MenuHomePhabricator

Parsoid: Fix ReferencePreviews for subrefs
Closed, ResolvedPublic

Description

Steps to replicate the issue:

GIVEN There's a page with a subrefrence using the details syntax
WHEN I visit that page in read mode using the Parsoid rendering
AND I hover the subreference with my mouse

What happens?:

THEN The reference preview shows up only showing the content of the details

What should have happened instead?:

The reference previews should show the main content and the details content like in legacy rendering.

See screenshots to compare the current behavior

Legacy

RefPref Legacy.png (270×480 px, 31 KB)

Parsoid

RefPref Parsoid.png (270×480 px, 30 KB)

Dev notes

  • extensions/Cite/modules/ext.cite.referencePreviews/createReferenceGateway.js

Note: This is blocked by T378568: Parsoid: Render sub-refs in the references section like in legacy parser , and will be fixed when its done. We have to make sure that the class mw-subreference-list is applied to subref list in Parsoid

Event Timeline

awight changed the subtype of this task from "Bug Report" to "Task".Jun 3 2025, 8:23 AM
Lina_Farid_WMDE renamed this task from Fix ReferencePreviews for subrefs in Parsoid to Parsoid: Fix ReferencePreviews for subrefs.Jun 4 2025, 2:52 PM
MareikeHeuerWMDE changed the task status from Open to Stalled.Jun 17 2025, 12:53 PM
MareikeHeuerWMDE removed MareikeHeuerWMDE as the assignee of this task.
MareikeHeuerWMDE subscribed.
WMDE-Fisch changed the task status from Stalled to Open.Jul 10 2025, 3:40 PM
thiemowmde claimed this task.