turnermm / Updatable-Snippets-for-Dokuwiki

Inserts updatable snippets into Dokuwiki pages
https://dokuwiki.org/plugin:snippets
GNU General Public License v2.0
6 stars 4 forks source link

handle_wiki_read replaces old revisions #23

Closed lisps closed 5 years ago

lisps commented 7 years ago

i think replaceing the page content on IO_WIKIPAGE_READ is a bad idea.

it totally ignores revision handling.

turnermm commented 7 years ago

Submit a pull request

turnermm commented 7 years ago

See my revisions at https://github.com/turnermm/Updatable-Snippets-for-Dokuwiki/pull/26

turnermm commented 7 years ago

There is a new interface for handling Old Revisions. While it retains the previous old_revisions option, it adds an Old Revisions/Snippets interface to the Old Revisions listings page, where you can decide whether or not to insert new snippets into an Old Revision. This makes more sense than the previous process, since the user might want to recover the earlier page with the earlier snippet