I was thinking about a new API function:
For a given Wikitext or article, return a list of all used templates
(direct and nested), together with the used key/value pairs.
Nested templates could be passed in the nested structure, or as a list
with parent id information. (I'd prefer the latter, since it's easier
to parse if you don't need the nesting tree)
Output could offer a format "RDF". Yay cheap semantic web! :-)
Anyone working on something like that? Anyone interested in
writing/using it? (I'm sure there's plenty of applications to use it
with; I have a few myself)
Cheers,
Magnus