Last modified: 2014-07-01 19:40:38 UTC
Calling action=setnotificationtimestamp with parameter newerthanrevid set to the most recent revision throws a fatal error: PHP fatal error in /usr/local/apache/common-local/php-1.22wmf2/includes/api/ApiSetNotificationTimestamp.php line 78: Call to a member function getNextRevisionID() on a non-object Expected result: The notification timestamp should be reset, as this means that the user has viewed all revisions of that page.
I should read the documentation first... Repurposing this bug: When neither titles, nor pageids, nor revids, nor entierwatchlist are specified, no fatal error should be thrown, but instead a helpful error message about the fact that at least one of these parameters is required.
Related URL: https://gerrit.wikimedia.org/r/62229 (Gerrit Change I5abcdf0fa20486f1198d1cc111461b3088a311df)
Change 62229 merged by jenkins-bot: API: Fix setnotificationtimestamp with no pages given https://gerrit.wikimedia.org/r/62229
Should be deployed to WMF wikis with 1.24wmf12, see https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.