Page MenuHomePhabricator

action=feedrecentchanges doesn't interpret parameters (timestamps, booleans) like the rest of the API
Closed, ResolvedPublic

Description

http://www.mediawiki.org/w/api.php?action=feedrecentchanges&from=2015:04:30%2023:44:55 is in the future but still retrieves items,
proving that from= is totally ignored.

Event Timeline

Jidanni raised the priority of this task from to Medium.
Jidanni updated the task description. (Show Details)
Jidanni added a project: MediaWiki-Action-API.
Jidanni subscribed.

proving that from= is totally ignored.

Not quite. It works if you specify the timestamp in MediaWiki's internal format, like https://www.mediawiki.org/w/api.php?action=feedrecentchanges&from=30150430234455 instead of https://www.mediawiki.org/w/api.php?action=feedrecentchanges&from=3015:04:30%2023:44:55

Change 206512 had a related patch set uploaded (by Anomie):
API: Fix parameter interpretation in ApiFeedRecentChanges

https://gerrit.wikimedia.org/r/206512

Anomie renamed this task from action=feedrecentchanges&from ignored to action=feedrecentchanges doesn't interpret parameters (timestamps, booleans) like the rest of the API.Apr 25 2015, 11:29 AM
Anomie claimed this task.
Anomie moved this task from Unsorted to Needs Review on the MediaWiki-Action-API board.

Change 206512 merged by jenkins-bot:
API: Fix parameter interpretation in ApiFeedRecentChanges

https://gerrit.wikimedia.org/r/206512

This should be deployed to WMF wikis with 1.26wmf4, see https://www.mediawiki.org/wiki/MediaWiki_1.26/Roadmap for the schedule.