Page MenuHomePhabricator

Error "a follow cannot have details" missing in Parsoid
Open, LowPublic

Description

Parsoid should display the error message "a follow cannot have details" (error message cite_error_ref_follow_conflicts) in the following case, but currently doesn't.

<ref name="book">Book</ref>
<ref follow="book" details="page 1">continued</ref>

See https://en.wikipedia.beta.wmcloud.org/wiki/CiteDetailsErrors#Attributes_follow_and_details_in_the_follow_part.

Implementation

This should behave like the legacy parser, the error should be the same at the same place

Event Timeline

lilients_WMDE subscribed.

@Lina_Farid_WMDE Can you have a look at the open questions in the ticket description and document the behaviour you want?