Nice, nice, nice :-)

Op 1 okt. 2014 21:03 schreef "Hay (Husky)" <huskyr@gmail.com>:
Hey everyone,
as one of the last things for my Wikipedian in Residency for the
National Archive in the Netherlands i've written a tool to preprocess
XML dumps from their API for processing in the GWT.

Check it out here:
http://tools.wmflabs.org/hay/gwtcook/

I've played around with the GWT with dumps from the National Archive
API, and not all the fields map nicely to the Commons template tags.
Because i like my colleagues there to use the GWT themselves without
my help i thought it would be useful to have a simple tool where they
could upload an XML file from their API and get a transformed version
with extra fields for the GWT upload.

I did a little test run on Commons Beta (haven't got the GWT flag on
production yet) and it seems to work properly there.

Anyway, i could imagine that this might be useful for other people as
well, so if you have some PHP skills feel free to write a
'transformer' and open a pull request so i can include it in the tool.
Code is available over here:

https://github.com/hay/wiki-tools.

Specifically, look at the class-gwtcook*.php files in the 'lib' directory.

Let me know if you've got any comments or remarks.

Kind regards,
-- Hay

_______________________________________________
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools