r24909 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24908‎ | r24909 | r24910 >
Date:16:34, 19 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Update page on null revisions made for uploads
Modified paths:
  • /trunk/phase3/includes/filerepo/ICRepo.php (modified) (history)
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -787,6 +787,7 @@
788788 # Create a null revision
789789 $nullRevision = Revision::newNullRevision( $dbw, $descTitle->getArticleId(), $log->getRcComment(), false );
790790 $nullRevision->insertOn( $dbw );
 791+ $article->updateRevisionOn( $dbw, $nullRevision );
791792
792793 # Invalidate the cache for the description page
793794 $descTitle->invalidateCache();
Index: trunk/phase3/includes/filerepo/ICRepo.php
@@ -290,6 +290,7 @@
291291 # Create a null revision
292292 $nullRevision = Revision::newNullRevision( $dbw, $descTitle->getArticleId(), $log->getRcComment(), false );
293293 $nullRevision->insertOn( $dbw );
 294+ $article->updateRevisionOn( $dbw, $nullRevision );
294295
295296 # Invalidate the cache for the description page
296297 $descTitle->invalidateCache();

Follow-up revisions

RevisionCommit summaryAuthorDate
r25016Merged revisions 24866-25015 via svnmerge from...david23:06, 21 August 2007

Status & tagging log