From: Alexandre Emsenhuber Date: Sun, 13 Mar 2011 11:24:27 +0000 (+0000) Subject: Fix for r83698: pass the Title object to the skin so that we are sure to show the... X-Git-Tag: 1.31.0-rc.0~31472 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=9834cbb5599ebff2fc1613dda580a1a54ee2aa97;p=lhc%2Fweb%2Fwiklou.git Fix for r83698: pass the Title object to the skin so that we are sure to show the correct context --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 277225eab5..576be09e5c 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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.