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