Index: trunk/phase3/includes/Title.php |
— | — | @@ -342,7 +342,7 @@ |
343 | 343 | $this->mRedirect = false; |
344 | 344 | $this->mLatestID = 0; |
345 | 345 | $this->mCounter = 0; |
346 | | - $this->mTouched = '19700101000000'; |
| 346 | + $this->mTouched = false; |
347 | 347 | $this->mIsNew = false; |
348 | 348 | $this->mOldRestrictions = false; |
349 | 349 | $this->mLoadedLevel = 2; |
— | — | @@ -3043,7 +3043,7 @@ |
3044 | 3044 | $this->mLength = -1; |
3045 | 3045 | $this->mLatestID = false; |
3046 | 3046 | $this->mCounter = false; |
3047 | | - $this->mTouched = '19700101000000'; |
| 3047 | + $this->mTouched = null; |
3048 | 3048 | $this->mIsNew = null; |
3049 | 3049 | $this->mEstimateRevisions = null; |
3050 | 3050 | $this->mLoadedLevel = 0; |
Index: trunk/phase3/includes/WikiPage.php |
— | — | @@ -499,7 +499,11 @@ |
500 | 500 | if ( !$this->mDataLoaded ) { |
501 | 501 | $this->loadPageData(); |
502 | 502 | } |
503 | | - return $this->mTitle->getTouched(); |
| 503 | + $timestamp = $this->mTitle->getTouched(); |
| 504 | + if ( $timestamp === false ) { |
| 505 | + $timestamp = '19700101000000'; |
| 506 | + } |
| 507 | + return $timestamp; |
504 | 508 | } |
505 | 509 | |
506 | 510 | /** |