Last modified: 2010-05-15 15:33:52 UTC
Special:Undelete displays the oldest deleted revision not the newest. This behavior is both counter-intuitive and backwards from the existing behavior.
Created attachment 438 [details] Patch against HEAD The bug is caused by a string passed instead of an array of options to selectrow.
Created attachment 439 [details] Patch against REL1_4_1
Applied with slight modification (include the limit; if there are many we only want one here). Fix in CVS HEAD and REL1_4, will appear in 1.4.3 release (Note that deletion is a bit borked in HEAD at the moment.)
(In reply to comment #3) > Applied with slight modification (include the limit; if there are many we only want one here). Note that this is unnecessary, Database::selectRow specifies LIMIT 1 automatically ("select [one] row").
Ok, time to sleep before any more check-ins. :) Removed the redundant clause. (It's harmless as it's overridden in selectRow(), not appended, but let's not needlessly multiply non-parsimonious elements.)