Dvorapa added a comment.

This is weird, the change has removed 122 bytes, but the diff is empty

Actually, only the byte counter was updated: it current version the hidden page haeder size is not conted. Only the size of the visible/editable data is reported for the proofread-page content model pages. And this change is an edit as it creates a new revision to store the updated value. I do not think such database update can be made directly in code. There are also changes in other tables related to this edit.

And yes, this is a case similar to the trailing spaces/newlines stripping by a nul-edit.

To summarize it: this is a server behavior and Pywikibot can do nothing about as there is no difference between the old and new text in the page. What is missing to do in this task?


TASK DETAIL
https://phabricator.wikimedia.org/T199042

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: JAnD, Mpaa, Tacsipacsi, Framawiki, Bodhisattwa, Ankry, Dvorapa, Aklapper, pywikibot-bugs-list, Billinghurst, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Tshrinivasan, Avicennasis, Info-farmer, mys_721tx, Candalua, jayvdb, Dalba, Masti, Tpt, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to