Brion Vibber wrote:
This looks like a typo. It used to be:
if ( !isset( $oldid ) and $this->checkTouched() ) {
Change it to:
if ( empty( $oldid ) and $this->checkTouched() ) {
and let me know how it works.
It didn't, isFileCacheable always returned false. That appeared to be because $action was always empty. If I requested an article with '&action=view', it did work.
I now changed isFileCacheable() to read:
... and ($action == 'view' or empty( $action )) ...
and that seemed to do the trick.