Bugs item #1864547, was opened at 2008-01-05 16:12 Message generated for change (Comment added) made by filnik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1864547...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: add_text damages interwiki encoding
Initial Comment: When running add_text.py on pl.wikipedia with: add_text.py -cat:"III wiek" -text:"{{Commonscat}}" -except:"{{(?:[Ss]zablon:|)[Cc]ommonscat}}"
text is added correctly but the interwiki links encoding is destroyed ie. not UTF-8 anymore. example of live change: http://pl.wikipedia.org/w/index.php?title=201&diff=10859565&oldid=10...
----------------------------------------------------------------------
Comment By: Filnik (filnik) Date: 2008-01-05 16:29
Message: Logged In: YES user_id=1834469 Originator: NO
Uhm, unfortunately that's a really big problem. I've tried almost everything, so I would be glad if anyone can help fixing the problem (search .decode(' in the code, you can't lose it). Maybe the old version works better (but I think not). Try http://botwiki.sno.cc/w/index.php?title=Python:Add_text.py&action=histor... until I can work on it.
Filnik
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1864547...
pywikipedia-l@lists.wikimedia.org