Menu

Commit [r2248]  Maximize  Restore  History

Fixes for deleting wiki page versions:

* the confirmation page didn't have a "version" field in the form, so it was
deleting the whole page
* deleting a single version was redirecting to WikiStart instead of back to
the current page
* a !WikiPage model that deletes its own version will now refetch the content
of the latest version of the page
* add test cases for checking the `page.exists` value after deletion

mgood 2005-09-17

changed /trunk
changed /trunk/templates/wiki.cs
changed /trunk/trac/wiki/model.py
changed /trunk/trac/wiki/tests/model.py
changed /trunk/trac/wiki/web_ui.py
/trunk
Directory.
/trunk/templates/wiki.cs Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/model.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/model.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/web_ui.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB