You could always create a Python script, which regexpes the current
wiki-format lists and transforms it into a template, and then add the
heading/closing templates. If you have kept the same format everywhere,
it'll be much easier.

(If you're not into bots: pywikipedia allows to access/edit Wikipedia from
Python.)

Joan Creus.

2012/4/15 Андрій Бондаренко <[email protected]>

> OK, now I understand. Than I have such a question - is it possible to
> convert the simple wiki-format lists (as we use now) into the
> template-format lists automatically or semiautomatically?
>
> Andrij
>
>
> 15 квітня 2012 р. 00:06 Platonides <[email protected]> написав:
>
> On 14/04/12 22:31, Андрій Бондаренко wrote:
>> > I'm sorry, but i don't understand, what template is expected from us.
>> >
>> > Here
>> > <
>> http://uk.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D0%BB%D1%96%D0%BA_%D0%BF%D0%B0%D0%BC%27%D1%8F%D1%82%D0%BE%D0%BA_%D0%BA%D1%83%D0%BB%D1%8C%D1%82%D1%83%D1%80%D0%BD%D0%BE%D1%97_%D1%81%D0%BF%D0%B0%D0%B4%D1%89%D0%B8%D0%BD%D0%B8,_%D1%89%D0%BE_%D0%BD%D0%B5_%D0%BF%D1%96%D0%B4%D0%BB%D1%8F%D0%B3%D0%B0%D1%8E%D1%82%D1%8C_%D0%BF%D1%80%D0%B8%D0%B2%D0%B0%D1%82%D0%B8%D0%B7%D0%B0%D1%86%D1%96%D1%97_%28%D0%92%D0%BE%D0%BB%D0%B8%D0%BD%D1%81%D1%8C%D0%BA%D0%B0_%D0%BE%D0%B1%D0%BB%D0%B0%D1%81%D1%82%D1%8C%29
>> >
>> > is one of the list, kindly prepared  by Platonides. It is a draft list
>> > yet, it is not rather pretty and it is not complete, possibly it will be
>> > combined with some others from this region.
>> >
>> > And this one
>> > <
>> http://uk.wikipedia.org/wiki/%D0%9F%D0%B0%D0%BC%27%D1%8F%D1%82%D0%BA%D0%B8_%D0%B0%D1%80%D1%85%D1%96%D1%82%D0%B5%D0%BA%D1%82%D1%83%D1%80%D0%B8_%D0%BD%D0%B0%D1%86%D1%96%D0%BE%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B3%D0%BE_%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%BD%D1%8F_%D0%A2%D0%B5%D1%80%D0%BD%D0%BE%D0%BF%D1%96%D0%BB%D1%8C%D1%81%D1%8C%D0%BA%D0%BE%D1%97_%D0%BE%D0%B1%D0%BB%D0%B0%D1%81%D1%82%D1%96
>> >
>> > is possibly prettiest monuments list in a whole Ukrainian Wikipedia,
>> > though it is not complete too - it contains only architectural
>> > monuments  and should be supplemented with historical and possibly
>> > archaeological.
>> >
>> > So the question is next: are those lists readable for your bot or are we
>> > expected to do some special preparations with them?
>> >
>> > Andrij
>>
>> The bot expects each monument (each row) to be provided by a template
>> instance. That's why I had asked you about a template and parameter names.
>>
>> Each row might look like:
>> {{Культурна спадщина |Номер=583 | пам'ятки=Будинок Луцької міської ради
>> | Датування=1939 рік | Розташування=м. Луцьк, вул. В. Винниченка, 15}}
>>
>>
>> _______________________________________________
>> Wiki Loves Monuments mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
>> http://www.wikilovesmonuments.eu
>>
>
>
> _______________________________________________
> Wiki Loves Monuments mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> http://www.wikilovesmonuments.eu
>
_______________________________________________
Wiki Loves Monuments mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.eu

Reply via email to