textlib: as I answered last week I found that the method did not properly in past. Unfortunately it did not match some Unicode strings. Now it does but you have to escape regex signs by yourself. On the other hand you are able to use a full regex and could search for wiki links in the section header. Feel free to revert my release and find another solution for unicode signs an we link brackets in the header. patch.exe: There is a thread at code revision r11711. I am unhappy with running .exe files but maybe it is needed sometimes to patch externals for the framework. I am really unsure and prefer using derived classes and methods. Best Xqt
----- Ursprüngliche Nachricht ----- Von: Bináris Gesendet: 09.07.2013 00:07 An: Pywikipedia discussion list Betreff: [Pywikipedia-l] Patch.exe, what sort of message is this?
Things go worse and worse in the last days. First SVN errors, then change of textlib.py killed my script, and the newest, when running replace.py:
WARNING: Download package "patch.exe" from http://downloads.sourceforge.net/project/gnuwin32/patch/2.5.9-7/patch-2.5.9-...
What is this? Why should I download it? Why did my bot stop, when it worked normally a few days ago? What did I harm to the world?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09.07.2013 05:54, info@gno.de wrote:
patch.exe: There is a thread at code revision r11711. I am unhappy with running .exe files but maybe it is needed sometimes to patch externals for the framework. I am really unsure and prefer using derived classes and methods. Best Xqt
In fact; I agree with you, as you may have noted, initially I proposed [1] which is a pure python script (and thus may be multi OS). The problem with this approach is that this python implementation in uncomplete and does NOT support the full unified diff set...
[1] https://code.google.com/p/google-diff-match-patch/
If somebody has time to finalize this code/project and make it therefore usable as full replacement to "patch.exe", please step forward!
Thanks and Greetings DrTrigon
pywikipedia-l@lists.wikimedia.org