On 9/16/05, David Cuenca dacuetu@gmail.com wrote:
Hi all,
I'd like to do an automated replacement in ca.wikipedia.orghttp://ca.wikipedia.orgfor include geographic data of about 500 cities in Valencia (Spain) and for not getting nuts I was trying to do a *.bat file for making changes like this: replace.py -page:Ademús "{{Predomini lingüístic" "{{Coordenades geogràfiques del municipi|40|04|15|1|17|06}}\n{{Predomini lingüístic" replace.py -page:Ador "{{Predomini lingüístic" "{{Coordenades geogràfiques del municipi|38|55|05|0|13|31}}\n{{Predomini lingüístic" etc...
But Win2000 changes the stressed letters into artifacts.
I'm not sure whether it works, but you could try using Adem%C3%BAs instead of Ademús etcetera.
For this reason I was thinking that maybe I could use the -file:xxx option, is there some way for making a different change in each page included in the file?
I don't think so. This looks like a thing that could be done better by making a dedicated bot. Either that or by hand.
Andre Engels