HomePhabricator

Fix NewcomerTasksCacheRefreshJob

Description

Fix NewcomerTasksCacheRefreshJob

While it is nowhere documented as far as I can see, jobs must have
a (title, params) constructor signature, unless they implement
GenericParameterJob, in which case it is just (params).
NewcomerTasksCacheRefreshJob used the latter signature, but did not
implement the interface, so it was passed a Title, and the params
got lost.

Bug: T268008
Change-Id: I9072243ce8ed170652062166fdf9d7b92d77b6d9
(cherry picked from commit c8d4d42245719a74d8c25a1188fc54edf4c884ae)

Details

Provenance
TgrAuthored on Nov 18 2020, 2:45 AM
hasharCommitted on Nov 18 2020, 10:38 AM
Parents
rEGREd2a2878bb9e1: Merge "Suggested edits: Guard against empty topic data" into wmf/1.36.0-wmf.18
Branches
Unknown
Tags
Unknown
ChangeId
I9072243ce8ed170652062166fdf9d7b92d77b6d9