Pass if log entry is legacy to ApiQueryLogEvents::addLogParams()
authorChad Horohoe <chadh@wikimedia.org>
Thu, 12 Mar 2015 18:53:21 +0000 (11:53 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 12 Mar 2015 18:57:03 +0000 (11:57 -0700)
commitcc2eb92668cd731594fa7b3025768c533c7846f4
tree168c161c03f1aa0566a60c53b6bf08e67bc4c03d
parent555a0b8645f1afcdb422275190573ce8861e8e31
Pass if log entry is legacy to ApiQueryLogEvents::addLogParams()

Querying via ApiQueryRecentChanges and ApiQueryWatchlist did not
pass if a particular log entry was a legacy log entry.

Ultimately CheckUser should stop writing legacy style log entries
too but we can at least behave properly when we hit them.

Bug: T91466
Change-Id: I1564ec7e599e2f9d78775e63e06eca84db497a43
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryWatchlist.php