sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
183 stars 22 forks source link

Generate initial history revision on pageindex rebuild #204

Closed sbrl closed 4 years ago

sbrl commented 4 years ago

If the feature-history module is enabled, we should generate the initial revision when rebuilding the pageindex in case of its absence. This should be pretty simple and easy to do - it's just a case of doing it.

Generating the initial history revision consists of 2 parts:

  1. [x] Copying the content to pagename.md.r0
  2. [x] Inserting the revision metadata into the pageindex
sbrl commented 4 years ago
sbrl commented 4 years ago

The pageindex rebuilder now fully supports history revision detection - yay! Note that you need the feature-history module compiled in for this functionality to activate though.