Hi Sorawee,
On 18 February 2013 17:16, Sorawee Porncharoenwase nullzero.free@gmail.com wrote:
Today, I put text to a page by my bot. pywikibot.showDiff() shows clearly that text is removed from previous revision for 2 lines and code returns from put() also indicate that putting succeeds
However, actually the text isn't changed! History page shows me that the text is added 1 byte (or sometimes o byte), but the content and its previous version are really the same.
Note that pywikibot.showDiff() and the Mediawiki diff are not necessarily the same due to normalization etc on Mediawiki's end. What was the change you were trying to make, and on which page?
Merlijn