r101294 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101293‎ | r101294 | r101295 >
Date:00:55, 30 October 2011
Author:aaron
Status:ok
Tags:
Comment:
FU r101021: made newNullRevision() re-use the sha1 of the reference revision
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -1097,7 +1097,8 @@
10981098 'minor_edit' => $minor,
10991099 'text_id' => $current->rev_text_id,
11001100 'parent_id' => $current->page_latest,
1101 - 'len' => $current->rev_len
 1101+ 'len' => $current->rev_len,
 1102+ 'sha1' => $current->rev_sha1
11021103 ) );
11031104 } else {
11041105 $revision = null;

Follow-up revisions

RevisionCommit summaryAuthorDate
r101311Fix r101294: newNullRevision isn't using selectField() or the like...it needs...aaron20:32, 30 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101021Reinstated r94289 et all - rev_sha1/ar_sha1 field for bug 21860aaron18:44, 27 October 2011

Status & tagging log