On Tue, Apr 22, 2014 at 11:28 AM, Trevor Parscal tparscal@wikimedia.orgwrote:
I don't quite understand your question [linking templatedata easily to Wikidata], sorry. I'm talking about adding fields to TemplateData which VisualEditor uses to build a user interface around templates. TemplateData is defined on-wiki as a JSON blob.
It confused me too at first, since Wikidata is envisioned as a way to supply data to infobox templates. Maybe call it a TemplateSpec.
I was also confused by its [Manage template documentation] button, I thought at first clicking it would let you edit the /doc subpage of a template, but it brings up the interface for editing the <templatedata> block. The block does replace a lot of hand-written template documentation; might <templatedata> be internationalized some day?
It's a really cool feature! It saves me opening "Templates used on this page" to open a template in a new tab just to remind me of its parameters.