Hi Andrey,
Hi, ElkeOK, welcome! If you'll attend after wikimania we could organize a wikimeetup.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> <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>
> form to templated? For example here
> is a table where I've templated only first 2 rows but the others haveI saw a bot converting with the help of regular expressions (if the
> not yet. Of course whole the list must be templated but doing it by
> hands is too dull work.
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.
--
Андр╕й Бондаренко
_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.eu