Last modified: 2014-03-06 12:34:59 UTC
When trying to obtain all recent changes, but suppressing anon users, the following query fails: https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&list=recentchanges&format=json&rcstart=2014-03-04T00%3A00%3A00Z&rcdir=newer&rcnamespace=0&rcprop=userid%7Ctitle%7Cids%7Csizes&rcshow=!minor%7C!bot%7C!anon&rclimit=50 But adding "user" to rcprop, causes it to work correctly: https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&list=recentchanges&format=json&rcstart=2014-03-04T00%3A00%3A00Z&rcdir=newer&rcnamespace=0&rcprop=user%7Cuserid%7Ctitle%7Cids%7Csizes&rcshow=!minor%7C!bot%7C!anon&rclimit=50 No idea why, but hopefully those repro steps will help someone knowledgeable to fix this? Contact me anytime for more info or more work on repro steps / bug analysis.
It's not that the query fails, it's returning the right edits. But it wrongly claims all the edits are anon.
Change 117158 had a related patch set uploaded by Anomie: API: Fix logic for list=recentchanges prop=userid https://gerrit.wikimedia.org/r/117158
Change 117158 merged by jenkins-bot: API: Fix logic for list=recentchanges prop=userid https://gerrit.wikimedia.org/r/117158
This should be deployed to WMF wikis with 1.23wmf17, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.