Not a good idea, how do you save a blank page?

On Tuesday, September 2, 2014, Sorawee Porncharoenwase <
[email protected]> wrote:

> I propose this change:
>
> - set `page.text` to `None` to discard changes
> - delete `page.text` to reload content -- equivalent to get(force=True)
> - 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to