[pmwiki-devel] experimental, pagestore-plain
Petko Yotov
5ko at 5ko.fr
Thu Dec 5 23:34:03 PST 2019
If you haven't, you can check PageTopStore:
https://www.pmwiki.org/wiki/Cookbook/PageTopStore
It stores a regular PmWiki page file and second plain-text file with the
plain wiki text (only "<" gets escaped to "<").
It detects if the plain text version is more recent than the regular
wiki page and automatically merges it, and vice versa.
This means that you can edit the contents directly on the filesystem and
it should be mostly safe (except maybe for simultaneous edits).
This recipe can give you some ideas for your own recipe.
Petko
--
If you upgrade : http://www.pmwiki.org/Upgrades
On 05/12/2019 22:46, V.Krishn wrote:
> I have been using this pagestore-plain script for a while,
> seems to be working.
>
> URL: https://gist.github.com/insteps/aa7e2d54da33ad257fae57a9b884d744
>
> PageStorePlain replaces some functions in order
> to use Plain text to store wiki, and, the related attributes
> in .hist/<pagename>.
>
> Pros
> * VCS friendly (main reason for writing this script)
> * Smaller patch code for core Pmwiki's version releases.
> * External search tool friendly.
> Cons
> * Encourages to edit page directly(not good)
>
> Would be nice to know if this makes sense ?
> Any other suggestions or comments are welcome.
>
> If works out well, would convert into a cookbook/addon and
> upload to pmwiki.org soonish.
More information about the pmwiki-devel
mailing list