Index: trunk/phase3/includes/Revision.php |
— | — | @@ -906,7 +906,7 @@ |
907 | 907 | |
908 | 908 | $current = $dbw->selectRow( |
909 | 909 | array( 'page', 'revision' ), |
910 | | - array( 'page_latest', 'rev_text_id' ), |
| 910 | + array( 'page_latest', 'rev_text_id', 'rev_len' ), |
911 | 911 | array( |
912 | 912 | 'page_id' => $pageId, |
913 | 913 | 'page_latest=rev_id', |
— | — | @@ -919,7 +919,8 @@ |
920 | 920 | 'comment' => $summary, |
921 | 921 | 'minor_edit' => $minor, |
922 | 922 | 'text_id' => $current->rev_text_id, |
923 | | - 'parent_id' => $current->page_latest |
| 923 | + 'parent_id' => $current->page_latest, |
| 924 | + 'len' => $current->rev_len |
924 | 925 | ) ); |
925 | 926 | } else { |
926 | 927 | $revision = null; |