https://bugzilla.wikimedia.org/show_bug.cgi?id=51032

--- Comment #5 from James Forrester <[email protected]> ---
(In reply to Tisza Gergő from comment #4)
> For the time being, you could use the extmetadata API:
> 
> https://en.wikipedia.org/w/api.
> php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:
> Aglais_urticae_qtl1.
> jpg&iiextmetadatafilter=ImageDescription&iiextmetadatalanguage=en
> 
> https://en.wikipedia.org/w/api.
> php?action=query&prop=imageinfo&iiprop=extmetadata&titles=File:
> Aglais_urticae_qtl1.
> jpg&iiextmetadatafilter=ImageDescription&iiextmetadatalanguage=de
> 
> Note that the current caching behavior is not too clever (API response for
> remote images is cached for 30 days, without any invalidation) and there is
> no sanitization (other than the one done by MediaWiki on saving) - the
> description can contain tables, images or any other weird HTML.

I think we're better off waiting than coming up with a hack to drop "unwanted"
tables but strip out the bits we do want, but thank you. :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to