mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 09:40:49 +00:00
c02595bb97
The message was part of the original patch that introduced the group feature in 2009, see https://phabricator.wikimedia.org/rECIT75004e33. Notice how there was never a test scenario for this message. A test was added in 2020 via I07738cc. The message appears only in a rare edge-case when a group is entirely unused in the text, and only when the group is not empty. The shortest possible example is: <references group=g> <ref group=g name=a>a</ref> </references> Just adding something unrelated like `<ref group=g>x</ref>` to the text changes the error message. Now the group is "used". But this notion is confusing to begin with. References can be part of a group, and we can use references, but we can't use groups as if they are a separate entity. A better error message already exists. Notice how this special error message doesn't appear anywhere in the Parsoid code path. That was already using the other, more generic error message. Bug: T269531 Change-Id: I63f663d76e45e6c3d664f145d9a564ee00ff53cd |
||
---|---|---|
.. | ||
bookReferencing.txt | ||
citeParserTests-knownFailures.json | ||
citeParserTests.txt | ||
citeSmokeTests.txt | ||
fragementModes.txt | ||
parserFunctionTests.txt | ||
responsiveReferences.txt |