Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1205,7 +1205,8 @@ |
1206 | 1206 | function lastModified() { |
1207 | 1207 | global $wgLang, $wgArticle; |
1208 | 1208 | if( $this->mRevisionId ) { |
1209 | | - $timestamp = Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() ); |
| 1209 | + $timestamp = wfTimestamp( TS_MW, |
| 1210 | + Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() ) ); |
1210 | 1211 | } else { |
1211 | 1212 | $timestamp = $wgArticle->getTimestamp(); |
1212 | 1213 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -427,6 +427,8 @@ |
428 | 428 | * (bug 14745) Image moving works on sites that transform thumbnails via 404 |
429 | 429 | * (bug 2186) Document.write() in wikibits caused failures when using |
430 | 430 | application/xhtml+xml. The calls to this have been removed. |
| 431 | +* (bug 14764) Fix regression in from Article::lastModified(), failed to work |
| 432 | + on non-mySQL schemas. |
431 | 433 | |
432 | 434 | === API changes in 1.13 === |
433 | 435 | |