I am keeping a static offline copy of my wiki with the help of wget.
Each and every page is downloaded every time I make a snapshot. This
is alright for now, because the wiki is rather small, but it's not
I have looked at the HTTP headers mediawiki is sending back. About
10% of the pages are served with NO Last-modified header. The rest all
carry a Last-modified header that is always set to the current time,
making it impossible for wget to know that the page in question has not
This happens for both the anonymous user (for whom User:loadDefaults
should be setting mTouched to 0) and for a real user whose lastTouched
column is days ago.
I have looked through the code and I can't figure out why this is
happening. As far as I can tell, the Last-modified header is being set
to the maximum of the User:mTouched value and the cur_touched column.
Both are smaller than the present.
Thank you in advance!
Show replies by date