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

       Web browser: ---
            Bug ID: 59953
           Summary: action=query&meta=filerepoinfo reports boolean not in
                    api way for xml format
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When using action=query&meta=filerepoinfo the boolean attributes like local,
fetchDescription or initialCapital does not follow the api rules for boolean.

Api rules for boolean in xml is a existing attribute for true and no attribute
for false, but in this module a value of 1 is true and nothing is false, which
can be missleading.

For json all looks okay, because the true/false is reported as is and not
formatted to a string representing value like on xml.

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

Reply via email to