Use prop=imageinfo & iiprop=url.
here's an example that uses JSON:
https://en.wikipedia.org/w/api.php?action=query&titles=File:Test.jpg&...
On 7/28/14, 12:22 AM, Aaron Lewis wrote:
Hi,
Is there any API to retrieve raw address of an inserted image?
e.g the original URL might be XXX.com/Image:YY.jpg
Now I want the raw link,
e.g XXX.com/a/b/YY.jpg
Is there any API can do that?