mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-23 12:02:41 +00:00
Remove no longer relevant comment
In I3b82aea975ed84c7410e57e19e83c508554e1b05, it was determined that this edge case is not going to be supported. Change-Id: Ia2ea80fc55af9f1e7e9a475afd730315ae6715cd
This commit is contained in:
parent
e23ae99870
commit
63f8631298
|
@ -224,9 +224,6 @@ class References extends ExtensionTagHandler {
|
|||
$refContent = $extApi->getContentDOM( $ref->contentId )->firstChild;
|
||||
$ref->cachedHtml = $extApi->domToHtml( $refContent, true, false );
|
||||
}
|
||||
// See the test, "Forward-referenced ref with magical follow edge case"
|
||||
// Ideally, we should strip the mw:Cite/Follow wrappers before comparing
|
||||
// But, we are going to ignore this edge case as not worth the complexity.
|
||||
$html = $extApi->domToHtml( $c, true, false );
|
||||
$contentDiffers = ( $this->normalizeRef( $html ) !== $this->normalizeRef( $ref->cachedHtml ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue