Fix for r83698: pass the Title object to the skin so that we are sure to show the...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 13 Mar 2011 11:24:27 +0000 (11:24 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 13 Mar 2011 11:24:27 +0000 (11:24 +0000)
includes/OutputPage.php

index 277225e..576be09 100644 (file)
@@ -1847,7 +1847,7 @@ class OutputPage {
                if ( $this->mArticleBodyOnly ) {
                        $this->out( $this->mBodytext );
                } else {
-                       $sk = $wgUser->getSkin();
+                       $sk = $wgUser->getSkin( $this->getTitle() );
 
                        // Hook that allows last minute changes to the output page, e.g.
                        // adding of CSS or Javascript by extensions.