Last modified: 2011-12-06 01:28:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 19314 - allow list=usercontribs to be a generator in certain circumstances
allow list=usercontribs to be a generator in certain circumstances
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 14027
  Show dependency treegraph
Reported: 2009-06-20 22:15 UTC by Splarka
Modified: 2011-12-06 01:28 UTC (History)
6 users (show)

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


Description Splarka 2009-06-20 22:15:44 UTC
Useful, for example, with:

Comment 1 Sam Reed (reedy) 2010-01-24 00:15:33 UTC
Is there a "set" way of making it a generator?

Seemingly seems to finish returning a page set...? And using that for storing things?
Comment 2 Roan Kattouw 2010-01-24 10:15:01 UTC
Yes, you need to fill a PageSet object with the revisions generated by usercontribs. However, there are no existing generators that generate revisions rather than pages because ApiPageSet::processDbRow() only supports titles at this point. However, ApiPageSet does support loading from revids through populateFromRevisionIDs(), so adding an equivalent of processDbRow() for revisions or detecting the difference between the two in processDbRow() shouldn't be too difficult.

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