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

            Bug ID: 70075
           Summary: A way to get if uploads are allowed
           Product: MediaWiki
           Version: unspecified
          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]
       Web browser: ---
   Mobile Platform: ---

On Wikidata uploads aren't allowed but I couldn't find a way to determine this
via the API.

For example the siteinfo property general returns a filesize larger than zero
and the fileextensions list valid extensions.

One way to have the filesize return 0 (or negative) if uploads are disabled or
let fileextensions return an empty list or introduce a new property.

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