function __construct($name = 'Newcontributors')
 {
     parent::__construct($name);
     list($limit, $offset) = wfCheckLimits();
     $this->limit = $limit;
     $this->offset = $offset;
 }
Exemple #2
0
 public function __construct($name = 'Forms')
 {
     // For MW 1.17
     if ($this instanceof SpecialPage) {
         parent::__construct($name);
     }
 }
 public function __construct($mode)
 {
     if ($this instanceof SpecialPage) {
         parent::__construct($this->specialpage);
     }
     $this->mMode = $mode;
 }
 function __construct($name = 'LinkSearch')
 {
     parent::__construct($name);
     // Since we don't control the constructor parameters, we can't inject services that way.
     // Instead, we initialize services in the execute() method, and allow them to be overridden
     // using the setServices() method.
 }
 public function __construct($mode)
 {
     if ($this instanceof SpecialPage) {
         parent::__construct('ApprovedRevs');
     }
     $this->mMode = $mode;
 }
Exemple #6
0
 function __construct($name = 'Filters')
 {
     // Backwards compatibility for pre-version 1.18.
     if ($this instanceof SpecialPage) {
         parent::__construct($name);
     }
 }
 function __construct($name = 'MediaStatistics')
 {
     parent::__construct($name);
     // Generally speaking there is only a small number of file types,
     // so just show all of them.
     $this->limit = 5000;
     $this->shownavigation = false;
 }
 function __construct()
 {
     global $wgModerationTimeToOverrideRejection;
     $mw_ts = new MWTimestamp(time());
     $mw_ts->timestamp->modify('-' . intval($wgModerationTimeToOverrideRejection) . ' seconds');
     $this->earliestReapprovableTimestamp = $mw_ts->getTimestamp(TS_MW);
     $this->mblockCheck = new ModerationBlockCheck();
     parent::__construct('Moderation', 'moderation');
 }
 function __construct($name = 'Mostlinked')
 {
     parent::__construct($name);
 }
 function __construct()
 {
     parent::__construct('NewHowtoArticles');
 }
Exemple #11
0
 function __construct($name = 'Shortpages')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Mostinterwikis')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Unwatchedpages')
 {
     parent::__construct($name, 'unwatchedpages');
 }
	function __construct( $name = 'PagesWithoutScans' ) {
		parent::__construct( $name );
		$this->page_namespace = wfMsgForContent( 'proofreadpage_namespace' );
	}
 public function __construct($name = 'CrossNamespaceLinks')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Mostlinkedtemplates')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Unusedtemplates')
 {
     parent::__construct($name);
 }
 public function __construct($name = 'IndexPages')
 {
     parent::__construct($name);
     $this->index_namespace = wfMsgForContent('proofreadpage_index_namespace');
 }
Exemple #19
0
 public function __construct($name = 'Templates')
 {
     parent::__construct($name);
 }
 public function __construct($name = 'Forms')
 {
     parent::__construct($name);
 }
 function __construct($name = 'MIMEsearch')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Mostcategories')
 {
     parent::__construct($name);
 }
 function __construct($name = 'ListDuplicatedFiles')
 {
     parent::__construct($name);
 }
 function __construct($name = 'DoubleRedirects')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Listredirects')
 {
     parent::__construct($name);
 }
 function __construct($name = 'LinkSearch')
 {
     parent::__construct($name);
 }
 function __construct($name = 'PagesWithProp')
 {
     parent::__construct($name);
 }
 function __construct($name = 'Unusedcategories')
 {
     parent::__construct($name);
 }
 function __construct($name = 'BrokenRedirects')
 {
     parent::__construct($name);
 }
 function __construct($name = 'FileDuplicateSearch')
 {
     parent::__construct($name);
 }