Index: trunk/phase3/includes/Article.php |
— | — | @@ -1896,6 +1896,7 @@ |
1897 | 1897 | |
1898 | 1898 | $dbw = wfGetDB( DB_MASTER ); |
1899 | 1899 | $now = wfTimestampNow(); |
| 1900 | + $this->mTimestamp=$now; |
1900 | 1901 | |
1901 | 1902 | if( $flags & EDIT_UPDATE ) { |
1902 | 1903 | # Update article, but only if changed. |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1509,7 +1509,7 @@ |
1510 | 1510 | |
1511 | 1511 | function lastModified() { |
1512 | 1512 | global $wgLang, $wgArticle; |
1513 | | - if( $this->mRevisionId ) { |
| 1513 | + if( $this->mRevisionId && $this->mRevisionId != $wgArticle->getLatest()) { |
1514 | 1514 | $timestamp = Revision::getTimestampFromId( $wgArticle->getTitle(), $this->mRevisionId ); |
1515 | 1515 | } else { |
1516 | 1516 | $timestamp = $wgArticle->getTimestamp(); |