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:
Arlo Breault 2024-11-25 15:39:49 -05:00
parent e23ae99870
commit 63f8631298

View file

@ -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 ) );
}