https://bugzilla.wikimedia.org/show_bug.cgi?id=38151
Web browser: ---
Bug #: 38151
Summary: Add functions to get some user info
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently to get the user name or group you do mw.config.get('wgUserName') or
mw.config.get('wgUserGroups').
In Gerrit change 13628 I tried to add wgUserRights. Krinkle has said that this
makes the page too heavy though.
What's suggested is that we make new methods in mw.user which are asynchronous,
use the API and cache the data.
E.g. mw.user.getName(), mw.user.getGroups(), mw.user.getRights().
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l