ApiPurge: Set the triggering user for the LinksUpdate
authorPetr Pchelko <ppchelko@wikimedia.org>
Wed, 12 Oct 2016 21:20:29 +0000 (14:20 -0700)
committerMarko Obrovac <mobrovac@wikimedia.org>
Thu, 13 Oct 2016 07:07:31 +0000 (10:07 +0300)
commit84ffa5d1242fd28f9288a1be9199f64cb50cc920
treec1a39953d1979f146e95d90817f03ab992067819
parent9e48939c5a5c0c3161416736e26e6092a00a2e30
ApiPurge: Set the triggering user for the LinksUpdate

Even if the API call was done anonymously, we still have the IP
address to set as a triggering user. This is needed in the EventBus
since the LinksUpdate job triggers a page-properties-change event
and we need information about the performer for each page-related
event.

Bug: T147516
Bug: T147977
Change-Id: Idc6efc894698606ba528f4bd67658267ed250862
includes/api/ApiPurge.php