Last modified: 2014-03-06 12:34:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64301, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62301 - list=recentchanges / rcprop / rcshow not working correctly
list=recentchanges / rcprop / rcshow not working correctly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-06 02:51 UTC by Steve Midgley
Modified: 2014-03-06 12:34 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Steve Midgley 2014-03-06 02:51:13 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.
Comment 1 Brad Jorsch 2014-03-06 04:01:42 UTC
It's not that the query fails, it's returning the right edits. But it wrongly claims all the edits are anon.
Comment 2 Gerrit Notification Bot 2014-03-06 04:01:52 UTC
Change 117158 had a related patch set uploaded by Anomie:
API: Fix logic for list=recentchanges prop=userid

https://gerrit.wikimedia.org/r/117158
Comment 3 Gerrit Notification Bot 2014-03-06 07:20:19 UTC
Change 117158 merged by jenkins-bot:
API: Fix logic for list=recentchanges prop=userid

https://gerrit.wikimedia.org/r/117158
Comment 4 Brad Jorsch 2014-03-06 12:34:59 UTC
This should be deployed to WMF wikis with 1.23wmf17, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links