Last modified: 2013-12-05 06:22:39 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 T57773, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55773 - Convert task system to API call
Convert task system to API call
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GettingStarted (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on: 55598
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-16 06:15 UTC by Steven Walling
Modified: 2013-12-05 06:22 UTC (History)
5 users (show)

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


Attachments

Description Steven Walling 2013-10-16 06:15:01 UTC
Converting CategoryRoulette to an API module will make it more reusable by other interfaces and better abstracted away from the current UI of GettingStarted. 

We'll be able to test it thoroughly, and when we discover bugs, we'll be able to make all the same API calls the interface is making, and thus quickly isolate problems. Dogfooding an internal API is going to be especially important if we want to test variants concurrently.

Also an important driver for this is that the mobile team currently wants to access GettingStarted tasks in MobileFrontEnd to suggest things for mobile editors, but that the GettingStarted UI is not suited for mobile.
Comment 1 Ori Livneh 2013-10-16 22:11:45 UTC
It should be fairly straightforward, I think, to create an API module that exposes CategoryRoulette::getRandomArticles as an API action. You'd probably want to give the action a name that makes the limited scope (= i.e., random in task categories, not every category) apparent.
Comment 2 Gerrit Notification Bot 2013-11-26 08:31:58 UTC
Change 97691 had a related patch set uploaded by Mattflaschen:
New API for selecting a task; related refactoring and minor fm

https://gerrit.wikimedia.org/r/97691
Comment 3 Gerrit Notification Bot 2013-12-02 23:35:29 UTC
Change 97691 merged by jenkins-bot:
New API for selecting a task; related refactoring and minor fm

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

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


Navigation
Links