HomePhabricator

API: Fix parameter interpretation in ApiFeedRecentChanges

Description

API: Fix parameter interpretation in ApiFeedRecentChanges

ApiFeedRecentChanges uses special page logic (eew) to do its thing.
Lacking the time at the moment to refactor the business logic, let's at
least pass the parsed parameters in via a FauxRequest instead of
allowing the special page logic to do its own interpretation of the raw
parameters.

This makes it so all recognized timestamp formats are supported (instead
of only TS_MW) and fixes the interpretation of booleans to match API
standards.

Bug: T97213
Change-Id: Ia254e36b5df2e552e283fb57ce859d6478908bd9

Details

Provenance
AnomieAuthored on
Parents
rMWee8ccd1b545c: Document IContextSource->msg
Branches
Unknown
Tags
Unknown
ChangeId
Ia254e36b5df2e552e283fb57ce859d6478908bd9