public function __construct() { parent::__construct('Phalanx', 'phalanx'); $this->includable(false); $this->title = SpecialPage::getTitleFor('Phalanx'); $this->service = new PhalanxService(); }
public function __construct() { global $wgFlowerUrl; parent::__construct('Tasks', '', false); $this->flowerUrl = $wgFlowerUrl; $this->userAccessRequirementDefault('tasks-user'); }
public function __construct() { //$this->controllerData[] = 'foo'; //$this->controllerData[] = 'bar'; // standard SpecialPage constructor call parent::__construct('ErrorPage', '', false); }
public function __construct() { parent::__construct('Places'); // allow Special:Places to be included in article content // use {{Special:Places}} $this->includable(true); }
public function __construct() { parent::__construct('UserSignup', '', false); // Disable captcha for automated tests and wikia mobile and sites disabling it, e.g. Internal if ($this->shouldDisableCaptcha()) { $this->disableCaptcha(); } }
/** * Handles dependency-building and special page routing before calling controller actions */ public function __construct() { // note: this is required since we haven't constructed $this->wg yet global $wgWikiaSearchIsDefault; $specialPageName = $wgWikiaSearchIsDefault ? 'Search' : 'WikiaSearch'; $this->queryServiceFactory = new Wikia\Search\QueryService\Factory(); parent::__construct($specialPageName, $specialPageName, false); }
public function __construct(WikiaApp $app = null) { // we setting app here to make it accessible from hook handler $this->app = $app; $this->newWikis = F::build('NewWikis'); $this->methodMapper[self::SPECIAL_PAGE_NAME1] = 'getActive'; $this->methodMapper[self::SPECIAL_PAGE_NAME2] = 'getAll'; // standard SpecialPage constructor call parent::__construct(self::SPECIAL_PAGE_NAME2, '', false); }
/** * Handles dependency-building and special page routing before calling controller actions */ public function __construct() { // note: this is required since we haven't constructed $this->wg yet global $wgWikiaSearchIsDefault; // Solarium_Client dependency handled in class constructor call in WikiaSearch.setup.php $this->wikiaSearch = F::build('WikiaSearch'); $this->wikiaSearchIndexer = F::build('WikiaSearchIndexer'); $specialPageName = $wgWikiaSearchIsDefault ? 'Search' : 'WikiaSearch'; parent::__construct($specialPageName, $specialPageName, false); }
public function __construct() { parent::__construct('Promote'); if ($this->wg->User->isLoggedIn()) { //fix for fb#49401 -- the page for anons looks better without this stylesheet //apparently it's also fix for fb#49394 -- the page for anons looks better without this stylesheet //FIXME: this is an asset of AdminDashboard extension; why is it added here? Maybe we should use some logic of AdminDashboard to load this asset and remove it from here $this->wg->Out->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/AdminDashboard/css/AdminDashboard.scss')); } $this->wg->Out->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/SpecialPromote/css/SpecialPromote.scss')); $this->helper = F::build('SpecialPromoteHelper'); }
public function __construct() { parent::__construct('WikiaStyleGuide', '', false); }
public function __construct() { parent::__construct('WikiaConfirmEmail', '', false); }
public function __construct() { parent::__construct('AuthImage', '', false); }
public function __construct() { parent::__construct('UserManagement', 'usermanagement', false); }
public function __construct() { parent::__construct('PathFinder', '', false); }
public function __construct() { $this->searchedKeywords = new SearchedKeywords(F::app()); parent::__construct('SearchedKeywords', 'SearchedKeywords', false); }
public function __construct() { // standard SpecialPage constructor call parent::__construct('BatchVarnishPurgeTool', 'batchvarnishpurgetool', false); }
public function __construct() { parent::__construct('Emails', 'emailsstorage', false); }
function __construct() { parent::__construct('Flags', 'flags', true); }
public function __construct() { parent::__construct('WikiMap', '', false, false, "default", true); }
public function __construct() { // standard SpecialPage constructor call parent::__construct(NewWikisController::SPECIAL_PAGE_NAME1, '', false); }
public function __construct() { parent::__construct('WDACReview', 'wdacreview', false); }
public function __construct() { parent::__construct('WikiFeatures', 'wikifeaturesview'); }
public function __construct() { parent::__construct('VideoHandler'); }
/** * Constructor method. Overrides the original Special:Version page. */ public function __construct() { $this->version = new WikiaSpecialVersion(); parent::__construct('Version'); }
public function __construct() { // Params: name, restrictions, listed parent::__construct('MiniEditorDemo', '', false); }
public function __construct() { parent::__construct('UserLogin', '', false); }
public function __construct() { parent::__construct('DMCARequestManagement', 'dmcarequestmanagement', false); }
public function init() { parent::init(); $this->initCacheValidityTimes(); $this->initFormat(); $this->initModel(); $this->initVertical(); $this->initVerticalSettings(); }
public function __construct() { WikiaSpecialPageController::__construct('PromoteImageReview', 'promoteimagereview', false); }
public function __construct() { parent::__construct('AdminDashboard', '', false); }