[Pywikipedia-l] request for new feature in replace.py

2009-10-04 Thread Patrol110
Hello! I would like to suggest adding new feature to pywikipedia in replace.py. This feature will give ability to use multipatterns in the same time and will require adding new parameter e.x. -multipatt:{number higher than 2}. Why? Because very often many of us, bot operators, have to change more

Re: [Pywikipedia-l] request for new feature in replace.py

2009-10-04 Thread Nicolas Dumazet
Hello! 2009/10/4 Patrol110 patrol110.wikipe...@gmail.com: Example of use of a new repalce.py with this feature: python replace.py -file:mylist -multipatt:2 old text new one another thing to change and the replacement python replace.py -file:mylist old text new one another thing to change and

Re: [Pywikipedia-l] request for new feature in replace.py

2009-10-04 Thread Santiago M. Mola
On Sun, Oct 4, 2009 at 4:40 PM, Nicolas Dumazet nicd...@gmail.com wrote: Hello! 2009/10/4 Patrol110 patrol110.wikipe...@gmail.com: Example of use of a new repalce.py with this feature: python replace.py -file:mylist -multipatt:2 old text new one another thing to change and the replacement

Re: [Pywikipedia-l] request for new feature in replace.py

2009-10-04 Thread Nicolas Dumazet
2009/10/4 Santiago M. Mola cooldw...@gmail.com: In that case, it could be clarified in the documentation. Attaching a posible patch, but maybe it could use better wording. Looks good to me. Applied as r7364, thanks. -- Nicolas Dumazet — NicDumZ

[Pywikipedia-l] request for new feature in replace.py

2009-10-04 Thread Patrol110
Thank you guys for really quick answer. I didn't suppose taht this function was available because there was no info in the documentation about it. Patrol ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org