Not a good idea, how do you save a blank page?
On Tuesday, September 2, 2014, Sorawee Porncharoenwase <nullzero.free@gmail.com> wrote:
- delete `page.text` to reload content -- equivalent to get(force=True)I propose this change:- set `page.text` to `None` to discard changes- in Page.save(), if `page.text` is equal to unchanged text, no API call
- to touch a page, use page.touch(), which will call action="edit" & appendtext="", instead. The advantage is that there is no need to preload text.Sorawee Porncharoenwase
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l