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

Umherirrender <umherirrender_de...@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |umherirrender_de...@web.de

--- Comment #8 from Umherirrender <umherirrender_de...@web.de> ---
Is this alreay fixed? With prop=imageinfo you get back a "imagerepository"
property, which contains the name of the repo or an empty string. Set the
iiprop to an empty string to avoid too many extra data.

Usually values for wmf wikis are "local" or "shared", because the config for
wmf wikis calls commons shared[1]. Using InstantCommons the content is
"wikimediacommons" for foreign images. Using json you have still the issue with
the negative page ids, but with indexpageids= you can get a array back where
the pageids in the numeric order to get the values (see comment above for the
implementation)

[1] https://en.wikipedia.org/w/api.php?action=query&meta=filerepoinfo

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to