On 22/05/12 15:49, Daniel Kinzler wrote:
On 22.05.2012 16:37, Nikola Smolenski wrote:
Of course not, however, for example, I believe a
major use of Wikidata would be
for citation templates, so
<ref>{{cite|id=q1234}}</ref><ref>{{cite|id=q2345}}</ref> is
better than
<ref>{{#data-template:cite|id=q1234}}</ref><ref>{{#data-template:cite|id=q2345}}</ref>.
The bibliography use case is on our minds, but not in our road map. It's
beyond
phase 3. So i'm reluctant to spend too much thought on it right now.
However, you can always just wrap another template around
{{#data-template:cite|id={{{id}}}}}, respectively just make {{cite}} call
{{#data-template:cite-format|id={{{id}}}}}
-- daniel
Which is absolutely the right way to do it. In general, I think that
access to the semantic layer should always be done in this way: the
extra layer of indirection is a form of implementation hiding, allowing
the semantic parts of the system to be maintained and redefined without
having to change the user interface and thus have to ripple edits
through into thousands of articles.
-- Neil