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

John Mark Vandenberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Blocks|                            |70936
           Severity|normal                      |major

--- Comment #1 from John Mark Vandenberg <[email protected]> ---
Site should use meta=filerepoinfo

https://www.mediawiki.org/wiki/API:Meta#filerepoinfo_.2F_fri

https://www.wikidata.org/w/api.php?action=query&meta=filerepoinfo&friprop=name%7Cdisplayname|rootUrl|local

https://en.wikipedia.org/w/api.php?action=query&meta=filerepoinfo&friprop=name%7Cdisplayname|rootUrl|local

The apiurl appears to no longer be in the returned data, and the rootUrl is not
very helpful if we want to determine where the front end processor is for the
shared repo.

But we can get the base URL of the images, which covers most of the needs of
FilePage.

http://mapping.referata.com/w/api.php?action=query&meta=filerepoinfo&friprop=name%7Cdisplayname|rootUrl|local|apiURL

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