public function outputHeader() { $this->headerDone = true; $dbTypes = $this->parent->getDBTypes(); $this->parent->request->response()->header('Content-Type: text/html; charset=utf-8'); if (!$this->allowFrames) { $this->parent->request->response()->header('X-Frame-Options: DENY'); } if ($this->redirectTarget) { $this->parent->request->response()->header('Location: ' . $this->redirectTarget); return; } if ($this->useShortHeader) { $this->outputShortHeader(); return; } echo Html::htmlHeader($this->getHeadAttribs()); ?> <head> <meta name="robots" content="noindex, nofollow" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><?php $this->outputTitle(); ?> </title> <?php echo Html::linkedStyle('../skins/common/shared.css') . "\n"; ?> <?php echo $this->getCssUrl() . "\n"; ?> <?php echo Html::inlineScript("var dbTypes = " . Xml::encodeJsVar($dbTypes)) . "\n"; ?> <?php echo $this->getJQuery() . "\n"; ?> <?php echo Html::linkedScript('../skins/common/config.js') . "\n"; ?> </head> <?php echo Html::openElement('body', array('class' => $this->getDir())) . "\n"; ?> <div id="mw-page-base"></div> <div id="mw-head-base"></div> <div id="content"> <div id="bodyContent"> <h1><?php $this->outputTitle(); ?> </h1> <?php }