Remove dead variable from ReferenceListFormatter

This is unused since Id10db40 from 2019. Looks like we just forgot
it.

Change-Id: I3164f4841572ff19faa584fa2e6ed5aeb7aa2c30
This commit is contained in:
thiemowmde 2024-02-08 10:44:16 +01:00
parent 46499cd9c0
commit d96e4e97bb

View file

@ -149,7 +149,6 @@ class ReferenceListFormatter {
Parser $parser, $key, ReferenceStackItem $ref, bool $isSectionPreview Parser $parser, $key, ReferenceStackItem $ref, bool $isSectionPreview
): string { ): string {
$text = $this->referenceText( $parser, $key, $ref, $isSectionPreview ); $text = $this->referenceText( $parser, $key, $ref, $isSectionPreview );
$error = '';
$extraAttributes = ''; $extraAttributes = '';
if ( isset( $ref->dir ) ) { if ( isset( $ref->dir ) ) {
@ -178,7 +177,7 @@ class ReferenceListFormatter {
'cite_references_link_one', 'cite_references_link_one',
$this->anchorFormatter->jumpLinkTarget( $id ), $this->anchorFormatter->jumpLinkTarget( $id ),
$backlinkId, $backlinkId,
$text . $error, $text,
$extraAttributes $extraAttributes
)->plain(); )->plain();
} }
@ -204,7 +203,7 @@ class ReferenceListFormatter {
'cite_references_link_many', 'cite_references_link_many',
$linkTargetId, $linkTargetId,
$this->listToText( $backlinks ), $this->listToText( $backlinks ),
$text . $error, $text,
$extraAttributes $extraAttributes
)->plain(); )->plain();
} }