https://bugzilla.wikimedia.org/show_bug.cgi?id=24987
Summary: Special:ListUsers does not take external groups into
account
Product: MediaWiki
Version: 1.16
Platform: All
OS/Version: All
Status: NEW
Keywords: patch
Severity: enhancement
Priority: Normal
Component: Special pages
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 7661
--> https://bugzilla.wikimedia.org/attachment.cgi?id=7661
Proposed patch that fixes the problem
The function formatRow in includes/specials/SpecialListusers.php gets and
prints a list of groups the user is in. The function does not take into account
that some groups might not show up in the database if they have been added
using the UserEffectiveGroups hook. If the user is in no local groups or in
just one local group, the groups from the external source are not shown.
Attached is a proposed patch which fixes the problem. It also simplifies the
code somewhat, I think there are some unnecessary checks there.
--
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