X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FMergeHistoryPager.php;h=81c3ffb74cd78c34580df2dadc8ea1d7e3dc4903;hb=430d420b0f5676ac22b8e937a3852bafe8bfe4dc;hp=6a8f7da74e480c36c233eaa66fdb7cb549cf8d93;hpb=52e76843e268180a6f7add00f1105c42bf6a4ee8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/MergeHistoryPager.php b/includes/specials/pagers/MergeHistoryPager.php index 6a8f7da74e..81c3ffb74c 100644 --- a/includes/specials/pagers/MergeHistoryPager.php +++ b/includes/specials/pagers/MergeHistoryPager.php @@ -30,10 +30,15 @@ class MergeHistoryPager extends ReverseChronologicalPager { /** @var array */ public $mConds; - function __construct( SpecialMergeHistory $form, $conds, Title $source, Title $dest ) { + /** @var int */ + private $articleID; + + /** @var int */ + private $maxTimestamp; + + public function __construct( SpecialMergeHistory $form, $conds, Title $source, Title $dest ) { $this->mForm = $form; $this->mConds = $conds; - $this->title = $source; $this->articleID = $source->getArticleID(); $dbr = wfGetDB( DB_REPLICA ); @@ -48,7 +53,7 @@ class MergeHistoryPager extends ReverseChronologicalPager { parent::__construct( $form->getContext() ); } - function getStartBody() { + protected function getStartBody() { # Do a link batch query $this->mResult->seek( 0 ); $batch = new LinkBatch();