mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Check for multiples doesn't apply to follows
Follow up to 7bd9f87
Bug: T276388
Change-Id: I68ab87702b967e870c432564b54d86bcbf914174
This commit is contained in:
parent
e047ff7afc
commit
be829c15b0
|
@ -294,7 +294,7 @@ class References extends ExtensionTagHandler {
|
|||
// HTML inline for all of them.
|
||||
$html = '';
|
||||
$contentDiffers = false;
|
||||
if ( $ref->hasMultiples ) {
|
||||
if ( $ref->hasMultiples && !$validFollow ) {
|
||||
// FIXME: Strip the mw:Cite/Follow wrappers
|
||||
// See the test, "Forward-referenced ref with magical follow edge case"
|
||||
$html = $extApi->domToHtml( $c, true, true );
|
||||
|
|
Loading…
Reference in a new issue