I've temporarily solved the problem by calling wfExpandUrl() on the relative url being returned. I'd like to know the proper way to go about this though.
Obsessive MathsFreak wrote:
I'm currently trying to use the api to give me a url to a requested resized image on my wiki.
However, the system is currently only giving me a relative url, not a complete one. The attribute "thumburl" in the ii tag on this page is relative.
http://wiki.evageeks.org/api.php?action=query&titles=File:M26%20hanger%2...
I'd like the thumburl to be complete, as in this Wikipedia page
http://en.wikipedia.org/w/api.php?action=query&titles=File:Test.jpg&...
What setting to I need to alter in order to canonically bring this change about?
I'm using Mediawiki 1.15.1