Merge "Normalize input to TitleParser::parseTitle()"
[lhc/web/wiklou.git] / includes / specials / pagers / MergeHistoryPager.php
index 6a8f7da..9415cea 100644 (file)
@@ -30,7 +30,7 @@ class MergeHistoryPager extends ReverseChronologicalPager {
        /** @var array */
        public $mConds;
 
-       function __construct( SpecialMergeHistory $form, $conds, Title $source, Title $dest ) {
+       public function __construct( SpecialMergeHistory $form, $conds, Title $source, Title $dest ) {
                $this->mForm = $form;
                $this->mConds = $conds;
                $this->title = $source;
@@ -48,7 +48,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();