[pywikibot] I get mad of replace.py, please help
Briefly: I began to use new replace.py. (I used the old compat one as long as I could with satisfaction, but at a point some sysop threw out all the logged in bots, and by that time the login had been crashed.) Sometimes it works well, sometimes it keeps the first character of the article and throws away everything else. I cannot find the reason. For testing here is an example where it shows BOTH behaviours: My fix is: fixes['nemezetek'] = { 'regex': True, 'msg': { 'hu':'Nemezetek → nemzetek tömeges javítása', }, 'replacements': [ (r'(n|N)emezetek', r'\1emzetek'), # Ez az alap, amit a lajostalanításhoz kikommentezünk ] } My command in huwiki is: python pwb.py -nolog replace -fix:nemezetek -search:nemezetek And the same fix and same command sometimes works well, and in other arcticles shows the above mentioned silly behaviour. What do I do wrong? I try to attach a small creenshot: two articles are correct, the 3rd one is totally bad. [image: kép.png] -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/54IHMXE6B3SKBHMGL5NNGHHH452N22KH/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
[pywikibot] Re: Moderator please
I will approve it, you sent the email five minutes ago. Please just wait an hour for someone to review before sending an email to the entire mailing list about it. Am Di., 22. Aug. 2023 um 09:13 Uhr schrieb Bináris : > Who is the moderator here? I sent a message with a small picture that was > not avoidable to show the problem and it got stuck. Please, help. > > -- > Bináris > ___ > pywikibot mailing list -- pywikibot@lists.wikimedia.org > Public archives at > https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/3NKS5SCQCDSQ5X4ZHZPFA5CXEKWMVJHN/ > To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org > -- Amir (he/him) ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/CTKI2DDHQEOJEDDZXBEXIEI36FVFGEQA/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
[pywikibot] Moderator please
Who is the moderator here? I sent a message with a small picture that was not avoidable to show the problem and it got stuck. Please, help. -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/3NKS5SCQCDSQ5X4ZHZPFA5CXEKWMVJHN/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org