r101311 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101310‎ | r101311 | r101312 >
Date:20:32, 30 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Fix r101294: newNullRevision isn't using selectField() or the like...it needs to specify sha1
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -1083,7 +1083,7 @@
10841084
10851085 $current = $dbw->selectRow(
10861086 array( 'page', 'revision' ),
1087 - array( 'page_latest', 'rev_text_id', 'rev_len' ),
 1087+ array( 'page_latest', 'rev_text_id', 'rev_len', 'rev_sha1' ),
10881088 array(
10891089 'page_id' => $pageId,
10901090 'page_latest=rev_id',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101294FU r101021: made newNullRevision() re-use the sha1 of the reference revisionaaron00:55, 30 October 2011

Status & tagging log