mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Add an html/parsoid section for "Error conditions on non-visible content"
Also, FIXMEs for a follow up to 4438a72
that's exposed by this test.
Nested refs in references aren't getting marked up for the
"cite_error_ref_no_text" errors, where applicable.
Change-Id: Ie6e461571402a96e47d3df26585d9a40f1038891
This commit is contained in:
parent
d69aea2feb
commit
8cb34b6a4c
|
@ -322,6 +322,9 @@ class References extends ExtensionTagHandler {
|
|||
// Iterate through the named ref list for refs without content and
|
||||
// back-patch typeof and data-mw error information into named ref
|
||||
// instances without content
|
||||
// FIXME: Note this doesn't add errors to the content in
|
||||
// $nestedRefsHTML since it's already serialized at this point.
|
||||
// Captured in the test, "Error conditions on non-visible content"
|
||||
if ( $refGroup ) {
|
||||
foreach ( $refGroup->indexByName as $ref ) {
|
||||
if ( $ref->contentId === null ) {
|
||||
|
|
Loading…
Reference in a new issue