/**
  * Add modules to headers and wrap content in div.content if unstyledContent = true
  */
 public function setHeaders()
 {
     parent::setHeaders();
     $this->addModules();
     if ($this->unstyledContent) {
         $this->getOutput()->setProperty('unstyledContent', true);
     }
 }
예제 #2
0
 function setHeaders()
 {
     global $wgRequest;
     if ($wgRequest->getVal('gen') == 'titlematch') {
         # NOP; avoid initializing the message cache
     } else {
         return parent::setHeaders();
     }
 }
 function setHeaders()
 {
     global $wgOut, $wgContLang;
     parent::setHeaders();
     CategoryBrowser::headScripts($wgOut, $wgContLang->isRTL());
 }