mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-13 17:53:09 +00:00
Remove unused Cite::$isPagePreview flag
This is dead code we forgot to remove in I7088f25. Bug: T238195 Change-Id: Iff1d3668beb9d530348ec9f90124774248e59407
This commit is contained in:
parent
f347863eab
commit
3de3bf4545
|
@ -44,11 +44,6 @@ class Cite {
|
|||
*/
|
||||
public const BOOK_REF_PROPERTY = 'ref-extends';
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private $isPagePreview;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
@ -99,7 +94,6 @@ class Cite {
|
|||
* @param Parser $parser
|
||||
*/
|
||||
public function __construct( Parser $parser ) {
|
||||
$this->isPagePreview = $parser->getOptions()->getIsPreview();
|
||||
$this->isSectionPreview = $parser->getOptions()->getIsSectionPreview();
|
||||
$messageLocalizer = new ReferenceMessageLocalizer( $parser->getContentLanguage() );
|
||||
$this->errorReporter = new ErrorReporter( $messageLocalizer );
|
||||
|
|
Loading…
Reference in a new issue