public function execute($par) { if (!$this->user->isLoggedIn()) { $this->out->showErrorPage('create-blog-no-login', 'create-blog-login-required', array(wfGetReturntoParam())); return; } if ($this->user->isBlocked()) { throw new UserBlockedError($this->user->mBlock); } if (wfReadOnly()) { $this->out->readOnlyPage(); return; } parent::execute($par); /* bugId::34933 Actions::getActionName() assumes every Special page is a view. Forcing a wgAction override for this page */ RequestContext::getMain()->getOutput()->addJsConfigVars('wgAction', 'edit'); }