SECURITY: Fix cache mode for (un)patrolled recent changes query
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Mon, 17 Dec 2018 13:02:39 +0000 (14:02 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 6 Jun 2019 21:24:32 +0000 (21:24 +0000)
commitea0f1b5f004a9dc1cdf5568259c337d45f15ce9b
treea2b5fde5bad4461b6cd68cd93e59c7ad5c716f6a
parent816ac899a7087a79e1d23b5efe867987e6dc3233
SECURITY: Fix cache mode for (un)patrolled recent changes query

Restricting the list of recent changes to patrolled, not patrolled,
autopatrolled, not autopatrolled, or unpatrolled recent changes requires
special permissions (as does displaying that status in the properties of
returned entries), but we only set the cache mode to private in the
first two cases.

Bug: T212118
Change-Id: I4c3fe6e47f80ebf97fa37875c704328d08772d26
includes/api/ApiQueryRecentChanges.php