* (bug 8712) Expose user groups as a JavaScript global [patch c/o AzaToth]
authorRob Church <robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 19:38:51 +0000 (19:38 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 19:38:51 +0000 (19:38 +0000)
* Tweak release notes from hashar's last commmit

RELEASE-NOTES
includes/Skin.php

index d2855cb..e53ac88 100644 (file)
@@ -127,7 +127,8 @@ lighter making things easier to read.
 * Renamed constructor methods to PHP 5 __construct reserved name
 * (bug 8715) Warn users when editing an interface message whether or not the message page exists
 * ar: fix the 'create a new page' on search page when no exact match found
-* (bug 8703) li: corrected 'talk' in namespace names.
+* (bug 8703) Corrected Talk namespace name for Limburgish (li)
+* (bug 8712) Expose user groups as a JavaScript global
 
 == Languages updated ==
 
@@ -141,6 +142,7 @@ lighter making things easier to read.
 * Indonesian (id)
 * Japanese (ja)
 * Korean (ko)
+* Limburgish (li)
 * Ripuarian (ksh)
 * Limburgish (li)
 * Lithuanian (lt)
index fb4007d..1c2a866 100644 (file)
@@ -310,6 +310,7 @@ class Skin extends Linker {
                        'wgArticleId' => $wgTitle->getArticleId(),
                        'wgIsArticle' => $wgOut->isArticle(),
                        'wgUserName' => $wgUser->isAnon() ? NULL : $wgUser->getName(),
+                       'wgUserGroups' => $wgUser->isAnon() ? NULL : $wgUser->getGroups(),
                        'wgUserLanguage' => $wgLang->getCode(),
                        'wgContentLanguage' => $wgContLang->getCode(),
                        'wgBreakFrames' => $wgBreakFrames,