Due to certain circumstances (which are unimportant, but detailed at the end), some of my
<pagename>.changes files do not include all the past revisions.
The revision files are present under:
/attic/<pagename>.<timestamp>.txt
But, since they do not appear in the
/meta/<pagename>.changes file, they do not appear on the 'old revisions' page.
Question: is there a way to get DokuWiki to rebuild the changes file?
Note (A): this is not the same as rebuilding the
/meta/_dokuwiki.changes, as detailed here:
https://www.dokuwiki.org/tips:recreate_wiki_change_log
Since that approach rebuilds the top-level changes file by concatenating the individual page changes files... but it is those individual files that are out-of-step.
Note (B): I have tried the
SearchIndex plugin's 'rebuild index' and that doesn't seem to rebuild the changes meta files.
Background
I have a DokuWiki running on two devices, I use it as my personal organiser/place to keep notes from meetings/etc.
I keep the two devices in sync using FolderSync https://play.google.com/store/apps/details?id=dk.tacit.android.foldersync.full&hl=en. I sync everything under the /data/ directory, which includes: attic, meta, pages, media, cache.
However, I've noticed that some of the revisions I make on one device are not showing up on the other. After some looking, the revisions are there... just not listed under the changes file. Hence my question.
Supplementary question
Given I have two copies of the same wiki, is there a better/different/more robust way to keep them in sync that will avoid these types of issue?
I need the two copies, as one device is my tablet - which needs to be able to work offline (I basically have a PHP server running on my Android tablet with a local DokuWiki install running); my over device is my work machine. Hence why I need to keep the two in sync.