I think each save_one method should be extended with the following parameters:
- save_mode — create, overwrite, create_or_overwrite (default)
- notify_watchers — true, false (default)
- save_as — for renaming pages, files, … (default — leave where it is)
Other idea:
- last_revision — if passed, Wikidot verifies the last revision of page is N, so that you can react for the situation someone created a new page just before you tried. If last revision is different from N, error is thrown and you can get new revision, apply your changes and save again.
Piotr Gabryjeluk
visit my blog