From: Aryeh Gregor Date: Mon, 21 Jul 2008 13:15:19 +0000 (+0000) Subject: Oops, forgot a line. Now this works in Modern too. Yay for code duplication . . . X-Git-Tag: 1.31.0-rc.0~46432 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=29b76bca1fc0ea5e7abe03e5c8cc08f4e2fb34ec;p=lhc%2Fweb%2Fwiklou.git Oops, forgot a line. Now this works in Modern too. Yay for code duplication . . . --- diff --git a/skins/Modern.php b/skins/Modern.php index 3f5ce5e8b5..1dc28dfb65 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -48,8 +48,9 @@ class ModernTemplate extends QuickTemplate { * @access private */ function execute() { - global $wgUser; + global $wgUser, $wgRequest; $this->skin = $skin = $wgUser->getSkin(); + $action = $wgRequest->getText( 'action' ); // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings();