From 9834cbb5599ebff2fc1613dda580a1a54ee2aa97 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 13 Mar 2011 11:24:27 +0000 Subject: [PATCH] Fix for r83698: pass the Title object to the skin so that we are sure to show the correct context --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1