I migrated a wiki to a new hosting provider a few months ago, and just found out that the page's last revision
author and
time stamp information (in the footer) was lost in the process, showing
(external edit) instead of the actual author's username.
Last modified: Y/m/d H:i (external edit)
After a bit of research, it turns out that this is due to a mismatch between
* the timestamp of the page's file (e.g.
path/to/wiki/data/pages/start.txt)
* the last update's timestamp in the file's history (last line in
path/to/wiki/data/meta/start.changes)
The problem was most likely caused by not keeping the original files' timestamp when extracting them from the tarball I created on the old server.
To fix the problem, I wrote a simple bash script, hopefully it will be helpful for someone.
Note that this will not fix the pages' history - older revisions will remain as
(external edit).