When i try $ python cosmetic_changes.py -lang:cs -page:"Ferrari FF"
this return "No changes were necessary in Ferrari FF"
 
Are you sure your pywikipedia is up to date ?

--
Alaric FAVIER


2011/8/18 Jan Dudík <jan.dudik@gmail.com>
in my cosmetic_changes.py I have following lines:

       text = pywikibot.replaceExcept(text, u' m. n. m.', u' m n.
m.', ['comment', 'math', 'nowiki', 'pre'])
       text = pywikibot.replaceExcept(text, u' viz.', u' viz',
['comment', 'math', 'nowiki', 'pre'])

I think, that r in the beginning means regular expression, but u means
simple text.
But bot takes dot like any character, so i got e.g.

revize ->reviz
má na mále -> m na mále

http://cs.wikipedia.org/w/index.php?title=Ferrari_FF&action=historysubmit&diff=7277383&oldid=7116503


How to channge it to correct output?

JAnD
--
--
Ing. Jan Dudík

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l