mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
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:
parent
46499cd9c0
commit
d96e4e97bb
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue