https://bugzilla.wikimedia.org/show_bug.cgi?id=17523

           Summary: Allow list=users to return editcount and blockinfo for
                    anon users
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=5821)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5821)
Patch against r47324

It would be nice to be able to query the editcount and/or blockinfo for anon
users through list=users; groups, registration, and emailable of course don't
make sense for anon users.

This patch should do that. It adds an extra query if any anon users are
specified and editcount is requested, and adds an extra query if any anon users
are specified and blockinfo is requested, for a total of two possible extra
queries. If no anon users are specified or neither of those two options are
specified, no extra queries are performed.

I also incidentally fixed a PostgreSQL error, PostgreSQL requires the optional
"AS" in column aliases. If you WONTFIX the patch, please pick up that minor
fix.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to