Xqt created this task. Xqt added projects: Pywikibot-core, Pywikibot-General. Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper. |
TASK DESCRIPTION
BaseBot.userPut() method gives wrong result when trying to add spaces or newlines at the end of the page. MediaWiki does not respect adding any space to the end but strips it. Unfortunately userPut() method only checks for differences including empty spaces at the end and returns True but it should return False in that case.
The result of userPut() might be used for further bot action which could be declined when no edit was done.
TASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: Aklapper, Zppix, Xqt, pywikibot-bugs-list, Mdupont, jayvdb
Cc: Aklapper, Zppix, Xqt, pywikibot-bugs-list, Mdupont, jayvdb
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs