(bug 25592) LogEventsList:showLogExtract should ignore WebRequest
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 2 Feb 2013 02:17:02 +0000 (21:17 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 22 Apr 2013 13:42:44 +0000 (09:42 -0400)
commit38a74c7c789f41bdbbd759bf5809f379cc45578c
treedb128d37cfd9885347edd0b3c4253a56c5e20f8e
parent7c4eccb559754ea70c005dd87705af6bf46089c5
(bug 25592) LogEventsList:showLogExtract should ignore WebRequest

LogEventsList:showLogExtract currently pays attention to WebRequest
parameters such as offset, dir, order, and limit (although limit is
typically overridden by callers, and offset sometimes too).

While these make sense for a pager that is driving the whole page, it
doesn't make much sense for the "most recent log entry" boxes that are
displayed using LogEventsList:showLogExtract. So let's have
LogEventsList:showLogExtract ignore these, and for good measure add in a
parameter to use the old behavior in case any caller really needs that.

Change-Id: Id4380cd863ba69fc9b9afb5a0034d82ad4d9cc34
RELEASE-NOTES-1.22
includes/logging/LogEventsList.php