$including = false, $showAll = false
) {
$this->setContext( $context );
+
$this->mIncluding = $including;
$this->mShowAll = $showAll;
$this->mDefaultDirection = IndexPager::DIR_DESCENDING;
}
- parent::__construct( $context );
+ parent::__construct();
}
/**
*/
function formatValue( $field, $value ) {
$services = MediaWikiServices::getInstance();
- $linkRenderer = $services->getLinkRenderer();
+ $linkRenderer = $this->getLinkRenderer();
switch ( $field ) {
case 'thumb':
$opt = [ 'time' => wfTimestamp( TS_MW, $this->mCurrentRow->img_timestamp ) ];