On 8/20/07, Rob Church robchur@gmail.com wrote:
On 20/08/07, Tim Starling tstarling@wikimedia.org wrote:
This seems a bit short-sighted, since I've been busy lately writing routines to extract and display metadata from Ogg files. Wouldn't it be better to call it something like {{#filemetadata:...}} ? Then the media handlers could provide arbitrary key-value pairs.
I don't understand whether you're objecting to the function name, which is trivial to change, or how the function actually operates...?
I think Tim has written PHP functions, but no wiki-based access to them. I want to write access routines for the wiki. So, {{#filemetadata}} sounds great.
Could someone quickly point me to where Tims handlers are defined/used, so I won't have to wade through the entire code? ;-)
(If someone else wants to write the extension, please go ahead; that way, it might actually get used on wikimedia sites!:-)
Magnus