From: Aaron Schulz Date: Tue, 18 Mar 2008 18:43:03 +0000 (+0000) Subject: *Use page_touched to deal with client side history caching min timestamp. This handle... X-Git-Tag: 1.31.0-rc.0~49018 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=3561a9393f76cb5da09d490d4b5ebc32abdab6bf;p=lhc%2Fweb%2Fwiklou.git *Use page_touched to deal with client side history caching min timestamp. This handles imports/revisiondelete/deletion/tagging properly. (bug 13403) --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 23bd9440f8..6fc82b2579 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -65,7 +65,7 @@ class PageHistory { * Allow client caching. */ - if( $wgOut->checkLastModified( $this->mArticle->getTimestamp() ) ) + if( $wgOut->checkLastModified( $this->mArticle->getTouched() ) ) /* Client cache fresh and headers sent, nothing more to do. */ return;