function __construct($title, IContextSource $context, $from = '', $until = '') { global $wgCategoryPagingLimit; parent::__construct($context); $this->title = $title; $this->from = $from; $this->until = $until; $this->limit = $wgCategoryPagingLimit; }
function __construct($maxNum = 16) { parent::__construct(); $this->maxNum = $maxNum; }