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
Wikipedia gives out a full url because it has $wgUploadPath set as a full url (needed since images are at a different host).
A related bug is https://bugzilla.wikimedia.org/show_bug.cgi?id=9087