Restore calls to SpecialPage::outputHeader(), no longer called since the rewrite...
[lhc/web/wiklou.git] / includes / specials / SpecialNewimages.php
index aeefb4d..9414aa0 100644 (file)
@@ -27,8 +27,10 @@ class SpecialNewFiles extends IncludableSpecialPage {
        }
 
        public function execute( $par ){
-               global $wgOut, $wgLang;
+               global $wgOut;
+
                $this->setHeaders();
+               $this->outputHeader();
 
                $pager = new NewFilesPager( $par );
 
@@ -160,4 +162,4 @@ class NewFilesPager extends ReverseChronologicalPager {
 
                return $form;
        }
-}
\ No newline at end of file
+}