What is the best way to store versions when writing a Wiki application?

I am writing a wiki application that requires version control for search. What is the best data model for this?

I write this in Django, but it is not so important.

0
source share
4 answers

Let me suggest you not implement version control, but use one of the existing implementations. Version control is a lot of work to implement well and a lot to bother the user if he is not implemented well.

See, for example, how ikiwiki does this: it has plugins to distract the version control system and supports several, so the user can choose.

0

svnwiki en.wikipedia.org/wiki/Svnwiki

0

, : " ". , : " , ?"

-1

wiki , python, trac,

http://trac.edgewall.org/

, django.

If you are looking for a wiki with a built-in document management system, I designed and built one (in bash) for my office. As Charlie mentions, there are many ways to implement this, and your implementation probably depends most on how your office works. If you want to describe in detail how our system works, I would be happy to detail it - just leave a comment and I will edit this post.

-1
source

Source: https://habr.com/ru/post/1746787/


All Articles