Index: trunk/phase3/includes/ParserOutput.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | array('img_name' => $name), |
105 | 105 | __METHOD__ ); |
106 | 106 | } |
107 | | - $timestamp = $timestamp ? $timestamp : 0; |
| 107 | + $timestamp = $timestamp ? $timestamp : null; |
108 | 108 | $this->mImageTimestamps[$name] = $timestamp; // For versioning |
109 | 109 | } |
110 | 110 | |
Index: trunk/phase3/includes/Parser.php |
— | — | @@ -3277,7 +3277,7 @@ |
3278 | 3278 | |
3279 | 3279 | if( $skip ) { |
3280 | 3280 | $text = false; |
3281 | | - $this->mOutput->addTemplate( $title, $title->getArticleID(), 0 ); |
| 3281 | + $this->mOutput->addTemplate( $title, $title->getArticleID(), null ); |
3282 | 3282 | break; |
3283 | 3283 | } |
3284 | 3284 | $rev = $id ? Revision::newFromId( $id ) : Revision::newFromTitle( $title ); |