Index: trunk/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -787,6 +787,7 @@ |
788 | 788 | # Create a null revision |
789 | 789 | $nullRevision = Revision::newNullRevision( $dbw, $descTitle->getArticleId(), $log->getRcComment(), false ); |
790 | 790 | $nullRevision->insertOn( $dbw ); |
| 791 | + $article->updateRevisionOn( $dbw, $nullRevision ); |
791 | 792 | |
792 | 793 | # Invalidate the cache for the description page |
793 | 794 | $descTitle->invalidateCache(); |
Index: trunk/phase3/includes/filerepo/ICRepo.php |
— | — | @@ -290,6 +290,7 @@ |
291 | 291 | # Create a null revision |
292 | 292 | $nullRevision = Revision::newNullRevision( $dbw, $descTitle->getArticleId(), $log->getRcComment(), false ); |
293 | 293 | $nullRevision->insertOn( $dbw ); |
| 294 | + $article->updateRevisionOn( $dbw, $nullRevision ); |
294 | 295 | |
295 | 296 | # Invalidate the cache for the description page |
296 | 297 | $descTitle->invalidateCache(); |