| Dvorapa added a comment. |
@Xqt For y there is _replace_async_callback called and page is saved asynchronously, but for a there is _replace_sync_callback called and page is saved synchronously. The counter is inside the callback. I think Page.save in async mode is maybe returning its callback too late and the last increment is made after page count is outputted. Print bot.changed_pages after everything is done in script and compare with output should give a clue.
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: Zoranzoki21, Dvorapa, Danny_B, Zppix, JAnD, binbot, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Jrbranaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Zoranzoki21, Dvorapa, Danny_B, Zppix, JAnD, binbot, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Jrbranaa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
