Since https://gerrit.wikimedia.org/r/#/c/141583/, Cite.php renders missing reflists (that is, left over refs that haven't been rendered in a references group yet) at the bottom of the page. Parsoid's Cite extensions should do the same.
Description
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | • marcoil | T88290 Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it | ||
Resolved | • marcoil | T88660 Parsoid Cite: Render missing reflists | ||
· · · |
Event Timeline
Change 189974 had a related patch set uploaded (by Marcoil):
WIP: T88660: Emit reflists for <ref> with no explicit <references>
The WIP in progress patch adds references lists for all <ref> groups that have <ref>s which haven't been output yet. This is different from the current Cite.php's behavior of only outputting orphan <ref>s in the default group, but may be necessary to make T88290 work.
Another issue is that when sending the resulting HTML back to Parsoid for html2wt, the missing <reference>s are included. This may be an acceptable dirty diff as it fixes a problem in the page. Opinions?
I think it is acceptable. In any case, selser will handle the unedited refs scenario.
Change 189974 merged by jenkins-bot:
T88660: Emit reflists for <ref> with no explicit <references>