Umbrella ticket for all (remaining) parity issues between the two Cite implementations.
Note that we are intentionally working in both directions. Sometimes it makes much more sense to clean up odd, one-off behaviors in the classic parser instead of being forced to re-implement irrelevant details in Parsoid. Still the general idea is to make Parsoid behave as close as possible to the classic parser so that users don't experience breaking changes that negatively affect the content or the established community processes.
Some examples to illustrate that point:
- Parsoid never bothered re-implementing rarely used customization options. We ended dropping a lot of that from the classic parser instead, see T321217: [Epic] Get rid of Cite backlink formatting i18n messages that are not actually localized.
- Practically it doesn't make much of a difference where an error message is rendered. Very early we established that Parsoid should feel free to render most errors at the very bottom of the document as part of the reference list, ignoring where the classic parser render(ed) the same message.
- There is a cite_error message that looks harmless but became critical when the communities started to put templates in this message. We have been forced to re-implement this in Parsoid, see T372709: Missing cite error message and category.
Known issues (also see the list of subtickets):
- T397736: Slighly different rendering of references list inline errors
- Parsoid reports numeric names as invalid but continues to use them as if they are valid. Fixed via https://gerrit.wikimedia.org/r/1142574.
- A bunch of other error situations have the same problem that Parsoid reports them, but still uses the invalid argument as if it's valid. See https://gerrit.wikimedia.org/r/1123275.
- Unnecessarily complex, single-use "warning" infrastructure that is not even relevant for Parsoid. Removed via https://gerrit.wikimedia.org/r/1154075.
- It appears like Parsoid allows much more complex nesting of <ref> tags. This was intentionally blocked in the classic parser.
- …?