r17487 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17486‎ | r17487 | r17488 >
Date:12:31, 8 November 2006
Author:brion
Status:old
Tags:
Comment:
* Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
with compression or legacy encoding
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUndelete.php
@@ -139,7 +139,9 @@
140140 return new Revision( array(
141141 'page' => $this->title->getArticleId(),
142142 'id' => $row->ar_rev_id,
143 - 'text' => ($row->ar_text_id ? null : $row->ar_text),
 143+ 'text' => ($row->ar_text_id
 144+ ? null
 145+ : Revision::getRevisionText( $row, 'ar_' ) ),
144146 'comment' => $row->ar_comment,
145147 'user' => $row->ar_user,
146148 'user_text' => $row->ar_user_text,
Index: trunk/phase3/RELEASE-NOTES
@@ -157,7 +157,10 @@
158158 recently used IP of a user when they are blocked.
159159 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This will
160160 make CheckUser.php and the new retroactive autoblock functionality faster.
 161+* Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
 162+ with compression or legacy encoding
161163
 164+
162165 == Languages updated ==
163166
164167 * Bishnupriya Manipuri (bpy)