Hi Monica (and list)

I am working with a non profit environmental institution in Panama that
> wants to upload pictures of natural landscapes to Wikimedia Commons.   I
> found the GWToolset and have been reading how to use it and preparing the
> metadata to run a small test.
>
Sounds good :)


> I finally could try the tool and got this error message.  I would
> appreciate if anyone could explain me how to fix this.There was a problem
> processing the metadata file.
>
> There is no <templatedata> block for template Information.
>
> If possible, add a <templatedata> block
> <http://www.mediawiki.org/wiki/Extension:TemplateData#Defining_a_TemplateData_block>
> to the template, or to the template's TemplateBox
> <http://commons.wikimedia.beta.wmflabs.org/w/index.php?title=Commons:Commons:TemplateData&action=edit&redlink=1>.
>
>
 Reproduced and {{fixed}}

Basically, a template must be documented using the TemplateData feature to
be used by the GWToolset (in order to retrieve what are the template
parameters, which is necessary for the mapping).

Usually, TemplateData are added using <templatedata> block and JSON syntax.
On Wikimedia Commons, we have long been using {{TemplateBox}} to document
our templates, so it was modified in order to automagically output
TemplateData.

The {{Information}} template, as well as its documentation, on the Beta
Cluster was imported from Commons a long time ago, at a time where there
was no TemplateData there.

I updated [1] the documentation to the most recent version. {{Information}}
now outputs TemplateData on the Beta Cluster [2]. It can be used by the
GWToolset.

Please try again Monica, and let us know if it goes well :-)

[1] http://commons.wikimedia.beta.wmflabs.org/wiki/Special:Diff/65288
[2]
https://commons.wikimedia.org/w/api.php?action=templatedata&format=jsonfm&titles=Template%3AInformation

-- 
Jean-Frédéric
_______________________________________________
Glamtools mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/glamtools

Reply via email to