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
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
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
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
Hello
2009/10/3 Santiago M. Mola cooldw...@gmail.com:
Patch attached.
Thanks,
In trunk as r7365
--
Nicolas Dumazet — NicDumZ
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
Hello
2009/10/3 Santiago M. Mola cooldw...@gmail.com:
Hello,
While writing a bot, I had to discard redirected pages from the XML
dump. In order to be able to do it early, I modified xmlreader.py to
parse the redirect / tag and add it to XmlEntry. I'm attaching the
patch, which is not
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