Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3665
wgUserGroups.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:35 PM
2014-11-21 21:35:18 (UTC+0)
Size
629 B
Referenced Files
None
Subscribers
None
wgUserGroups.patch
View Options
Index: includes/Skin.php
===================================================================
--- includes/Skin.php (revision 19602)
+++ includes/Skin.php (arbetskopia)
@@ -313,7 +313,7 @@
'wgArticleId' => $wgTitle->getArticleId(),
'wgIsArticle' => $wgOut->isArticle(),
'wgUserName' => $wgUser->isAnon() ? NULL : $wgUser->getName(),
- 'wgUserGroups' => $wgUser->isAnon() ? NULL : $wgUser->getGroups(),
+ 'wgUserGroups' => $wgUser->isAnon() ? NULL : $wgUser->getEffectiveGroups(),
'wgUserLanguage' => $wgLang->getCode(),
'wgContentLanguage' => $wgContLang->getCode(),
'wgBreakFrames' => $wgBreakFrames,
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3232
Default Alt Text
wgUserGroups.patch (629 B)
Attached To
Mode
T10712: Expose user groups as JavaScript variable
Attached
Detach File
Event Timeline
Log In to Comment