[Wiki Loves Monuments] Help! List to template transformation

Maarten Dammers maarten at mdammers.nl
Sun Jul 1 11:56:54 UTC 2012

Hi Andrij,

Op 29-6-2012 22:59, Андрій Бондаренко schreef:
> It seems to be interesting but how could it resolve the main issue - 
> wikitable-to-template convertion?
You could use pywikipedia. This line should be a good basis:

replace.py -lang:uk -regex 

will match the row and it's fields.
can be modified to use your template with the right parameters.

You should probably not include WLM in the template name. WLM is just a 
project in September, your heritage project should outlast it! Something 
like "Пам'ятки_рядок" and similar for the header. You seem to be having 
multiple sources. How is everything structured exactly? We might have to 
create multiple lists. We did this for example in Denmark. The have 2 
registers and we created two sets of templates and lists to be able to 
properly handle that.

You should have a chat with Elke, she understands the language much 
better than I do ;-)


More information about the WikiLovesMonuments mailing list