dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfe68f0
)
Oops, forgot a line. Now this works in Modern too. Yay for code duplication . . .
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 21 Jul 2008 13:15:19 +0000
(13:15 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 21 Jul 2008 13:15:19 +0000
(13:15 +0000)
skins/Modern.php
patch
|
blob
|
history
diff --git
a/skins/Modern.php
b/skins/Modern.php
index
3f5ce5e
..
1dc28df
100644
(file)
--- a/
skins/Modern.php
+++ b/
skins/Modern.php
@@
-48,8
+48,9
@@
class ModernTemplate extends QuickTemplate {
* @access private
*/
function execute() {
* @access private
*/
function execute() {
- global $wgUser;
+ global $wgUser
, $wgRequest
;
$this->skin = $skin = $wgUser->getSkin();
$this->skin = $skin = $wgUser->getSkin();
+ $action = $wgRequest->getText( 'action' );
// Suppress warnings to prevent notices about missing indexes in $this->data
wfSuppressWarnings();
// Suppress warnings to prevent notices about missing indexes in $this->data
wfSuppressWarnings();