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%20bakelite%20shinji%201.jpg&prop=imageinfo&iiprop=url&iiurlwidth=250 > > 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&prop=imageinfo&iiprop=url&iiurlwidth=100 > > What setting to I need to alter in order to canonically bring this change > about? > > I'm using Mediawiki 1.15.1 > -- May The Maths Be With You _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
