Hey all (and especially Grant & Jochen),<div><br></div><div>So, the iD editor has this nice 'reference pane' which shows tag/value summaries from TagInfo, if available. TagInfo also provides thumbnails for these combos in the form File:Foo. Unfortunately that doesn't map to a real URL (by design). There's an API to get at the contents, like</div>
<div><br></div><div>    <a href="http://wiki.openstreetmap.org/w/api.php?action=query&prop=imageinfo&titles=Image:Residential.jpg&iiprop=url|content&format=xml">http://wiki.openstreetmap.org/w/api.php?action=query&prop=imageinfo&titles=Image:Residential.jpg&iiprop=url|content&format=xml</a></div>
<div><br></div><div>But this doesn't support CORS. It doesn't look like MediaWiki supports CORS at this point ( <a href="https://gerrit.wikimedia.org/r/#/c/9718/">https://gerrit.wikimedia.org/r/#/c/9718/</a> ), so either we're looking at implementing this on a server-level in Apache, having TagInfo expose actual image URLs, or implementing it in MediaWiki.</div>
<div><br></div><div>Any other thoughts here? I obviously am unable to mess with server configuration of <a href="http://wiki.openstreetmap.org">wiki.openstreetmap.org</a>, but if, for instance, patching MediaWiki would do the trick, I can probably do that.</div>
<div><br></div><div>Tom</div>