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)
committerReedy <reedy@wikimedia.org>
Thu, 6 Jun 2019 16:54:29 +0000 (16:54 +0000)
commit178b7ad6a4cedc42e69c5fe00e55b63621bd0e47
treef50aae5ffd7a53a8ed832d8829b5d99fb67c2559
parent756827cae7483b5aae7d45228e89ae4cfc203364
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