Гаджет

Editors with the gadget installed will find the wiki labels "home" interface load as a single page app within en:Wikipedia:Labels or their local variant (if their wiki has been configured). This single page app will allow an editor to view active campaigns, request worksets and label revisions and other "tasks".

The system uses mw:Extension:OAuth to integrate with an editor's MediaWiki account. Actions performed in the wiki labels system will be associated with a user's centralauth account.

Interface translations

Сервер

Behind the gadget, a server manages "campaigns", "tasks", "worksets" and "labels". This server provides a Restful interface for accessing this data. There are 4 basic modules: auth, users, campaigns and forms. The server also provides some user-facing services for designing new forms and access to a stand-alone gadget.

Конструктор форм

A form builder interface is provided for the development and testing of forms to support new labeling tasks. Forms fields are configured using a YAML format that reflects OOjs UI. Forms can be submitted for review.

Form builder. A screenshot of the form builder.

Stand-alone gadget

In order to ease development and testing, we also provide access to the gadget via a single page app. If for some reason the on-wiki version of the gadget is malfunctioning, users can work from this interface.

Add ?tasks to the query string to include the campaign's tasks in the response

Add ?worksets to the query string to include the worksets for the campaign in the response. Specify ?worksets=stats to include completion statistics with the workset listings.

Add ?assign to the query string to request a new workset assignment for the current user. This will only work if (1) the user is logged in, (2) there's tasks available to be assigned and (3) the user doesn't already have an open workset assignment.

Add ?tasks to the query string to list out the tasks for this workset.

Add ?worksets=stats to include completion statistics with the workset listing.

Add ?campaign to the query string to include relevant campaign data and ?campaign=stats to also include campaign statistics.

Add ?abandon to the query string to release the incomplete tasks from this workset. This will only work if (1) the user is logged in and (2) the workset in question is assigned to the user. Only incomplete tasks will be released from the workset.