I created a sample environment. 1. Use the attached fixes_diffcolor.py as fixes.py, or copy the fix from it to your fixes.py. 2. https://hu.wikipedia.org/wiki/F%C3%A1jl:Uncoloured_replace_2in1.png will emphasize two colouring errors in their original enviromnent (one ó/ő and one é/á). I copied the original text to my test subpage. 3. Use the command *replace.py -lang:hu -page:user:BinBot/semmi -fix:1970-as* The bot will want to make 3 corrections, the above given 2 of them uncoloured. (You don't have to actually press y, the test page is good if it is wrong. :-))
2016-01-15 9:28 GMT+01:00 info@gno.de:
Could you provide a test command line in order we could check it for core (and compat as well)
Greetings
xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikibot discussion list pywikibot@lists.wikimedia.org Datum: 14.01.2016 21:05 Betreff: Re: [pywikibot] Uncoloured diffs in textlib
None of these are the same letters. :-) (ó and ?) The problem does not occur each time ó is changed to ?, so one test is
not
enough to say OK, only if the problem was directly fixed.
2016-01-14 19:46 GMT+01:00 Mpaa mpaa.wiki@gmail.com:
In core it should be OK:
[image: Inline image 1]
Mpaa
On Thu, Jan 14, 2016 at 7:17 PM, Bináris wikiposta@gmail.com wrote:
Hi.
I have an old problem. When I run replace.py, sometimes the diff is
not
coloured with red and green (see the attachment). This makes replacing
very
uncomfortable and also dangerous (even if I see a coloured
difference, I
can't be sure there are no more). I use compat so tell me, if the problem is already fixed in core and I
am
just speaking for nothing... I couldn't identify the reason, but in
the
last times I always see it vith ó and ?, as seen on image; as to my
best
knowledge Hungarian is the only language in the discovered part of
Universe
to use ?, this issue may have not come up for others.
-- Bináris
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
-- Bináris
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot