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

           Summary: API: Autoconfirmation
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


There is currently no way to reliably determine through the API whether or not
a given user is autoconfirmed, for wikis that use autoconfirmation.

Autoconfirmed is a user right, so it can be determined for the user you are
logged in as using 'meta=userinfo', but for arbitrary users, 'list=ususers'
must be used, for which only groups, and not rights, can be returned. Since the
autoconfirmed user right is not associated with any group, this doesn't help.

'list=ususers' can be used to retrieve the user's edit count and creation date,
which can be used to determine autoconfirmed status if the requirements are
already known. However, the requirements aren't available through the API
either, which means hardcoding them, and consequent breakage when they change.

Even knowing the thresholds themselves doesn't help if the method used to
determine autoconfirmation changes; there are several methods, and new ones are
added from time to time (see r45365).

The simplest way to implement this would be to extend 'list=ususers' to either
make user rights available or, if that is impractical, a boolean value
indicating whether or not the user is autoconfirmed.


-- 
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