Wikimedia
Implement and document parameter to filter revisions based on tag in MediaWiki API
In MediaWiki's API, the list=alldeletedrevisions has a adrtag parameter to show only revisions marked with given tag. The list=allrevisions should also provide an arvtag parameter for the same purpose.
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit. Although not required, you may wish to complete the "Set up your MediaWiki development environment" task first.
Your patch needs to add the parameter and document it.
Helpful resources:
- The API help page for
list=allrevisions: https://en.wikipedia.org/w/api.php?action=help&modules=query%2Ballrevisions - Files that may be helpful to reference: /includes/api/ApiQueryAllDeletedRevisions.php, /includes/api/ApiQueryAllRevisions.php, and /includes/api/ApiBase.php
- Further reading of the auto-generated docs and documentation wikipages (mediawiki.org) may be required to understand the API and how it's documented.
Task tags
Students who completed this task
pppery