Hi, I don't have these lines. Where do I have to put them.
Do you know some way to upload many images in our local mediawiki site? I have tried with those python scripts, Extention:SpecialUploadLocal, Extention: SpecialMultiUploadViaZip, Java application commonist by the way it gave the same error as python scripts. Word add-in Word2MediaWikiPlus_Installer and nothing worked. I am almost desperate. I am about to write .NET application for this but I think is going to be very difficult. Regards, Ivo -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jan Dudík Sent: Thursday, August 18, 2011 7:54 AM To: Pywikipedia discussion list Subject: [Pywikipedia-l] Expressions in Cosmetic changes 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
