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

           Summary: the 'emailable' property (from API) should be true or
                    false (currently empty string or undefined)
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]


When using the API to find out if someone is emailable, the emailable property
is set to empty string for true or undefined for false. Instead, it should be
set to 'true' or 'false'.

True example:
http://en.wikipedia.org/w/api.php?&action=query&list=users&ususers=Kaldari&usprop=emailable&format=json

False example:
http://en.wikipedia.org/w/api.php?&action=query&list=users&ususers=Jorm&usprop=emailable&format=json

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