From 29b76bca1fc0ea5e7abe03e5c8cc08f4e2fb34ec Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 21 Jul 2008 13:15:19 +0000 Subject: [PATCH] Oops, forgot a line. Now this works in Modern too. Yay for code duplication . . . --- skins/Modern.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.20.1