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
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue