Page MenuHomePhabricator

Cite error reporting discrepancy (for auto-generated references section with a group attribute) between Parsoid & legacy versions
Open, Needs TriagePublic

Description

If a page is missing an explicit "<references />" tag, both legacy and Parsoid auto-generate a references section without an error. But, if the references are for a group (ex: lower-alpha), legacy reports an error instead of generating one. Parsoid auto-generates the references section which I think is the right behavior -- not sure why legacy Cite does this only for the default one. *But*, Parsoid reports the missing references-tag error for every generated ref in the auto-generated section! If Parsoid wants to report the error, it should at best do it once, and better yet, not report the error at all if it has chosen to error-correct by generating the references section. See Parsoid vs legacy

This issue is present on lots of wikis and lots of pages -- seen commonly on dagwiki & incubatorwiki (of those we have tested so far).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Yes, the new category was noticed and quickly ignored since this pile of false positives exists.

Change #1099665 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Cite@master] Do not emit errors on auto-generated reference groups in Parsoid

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