Hi, Elke

2012/6/29 elya <ew_wp@web.de>
Hi Андрій,
just a  few remarks from best practice, (I'm sure one of our technical
people will offer a more detailed approach here...)

Am 28.06.12 10:04, schrieb Андрій Бондаренко:
> 1. How could I transform in automatic mode a list from a standard wiki
> form to templated? For example here
> <http://uk.wikipedia.org/wiki/%D0%92%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F:%D0%92%D1%96%D0%BA%D1%96_%D0%BB%D1%8E%D0%B1%D0%B8%D1%82%D1%8C_%D0%BF%D0%B0%D0%BC%27%D1%8F%D1%82%D0%BA%D0%B8/%D0%92%D1%96%D0%BD%D0%BD%D0%B8%D1%86%D1%8C%D0%BA%D0%B0_%D0%BE%D0%B1%D0%BB%D0%B0%D1%81%D1%82%D1%8C/%D0%96%D0%BC%D0%B5%D1%80%D0%B8%D0%BD%D0%BA%D0%B0>
> is a table where I've templated only first 2 rows but the others have
> not yet. Of course whole the list must be templated but doing it by
> hands is too dull work.

I saw a bot converting with the help of regular expressions (if the
tables are in a more or less clear structure), but it's much easier to
convert from csv (Calc/Excel) files or from a database. Did you edit
them a lot after putting the lists into Wiki tables?

Some of them - yes, some of them - not yet. It's much easier to work with lists in a wiki-table form, they look more clear.  

You should definitely add the most common of your Ukrainian parameters
to your template - parameters can be left empty if not needed, or filled
later. However it's much easier to put parameters in in the beginning
than adding them later.

Of course. Our parametres are next
| ID =  (special ID for WLM)
| назва = (name of the object)
| рік = (year of its creation)
| нас_пункт = (city or village)
| адреса = (adress)
| координати = (coordinates)
| охоронний номер = (official number)
| тип = (type of monument)
| фото = <br /> (photo)
| галерея = (link to commons gallery)
Difficulty is that lists which we receive from our goverment have differents structures. They don't have such parametres as coordinates or photo, but sometimes have additional parametres as author of a monument, it's height, protected area and so on. Using list-to-template transformation must be easy for standardizing lists.

I think the script must add names of parametres in such way:

|-
|

it transforme to
}}
{{WLM-рядок|

- first " || " it transformes to " |ID " =
- second "  || " it transformes to "|назва ="
- third "  || " it transformes   "| рік ="

and so on...



I'll be in the Ukraine on vacation from mid-July, if I can be of any
help (other than taking images of remote monuments ;-)), just tell me.


OK, welcome! If you'll attend after wikimania we could organize a wikimeetup.

--
Андрій Бондаренко