Wikimedia

Add a "tag" paramater to the MediaWiki API's rollback function

The popular wiki platform, MediaWiki has a web service API which allows users to interact with a wiki programmatically. It is used by various software tools, such as Huggle, which provide specialised, custom interfaces to the wiki.

The developers of Huggle would like to tag the rollbacks made by Huggle with a specific change tag. Currently, this is a two-step process (make the rollback, then add the tag), and the second step may be denied to some users on some wikis, depending on setup.

Your task is to add a "tag" parameter to the API's rollback feature to allow Huggle to tag rollbacks in a one-step process.

NOTE: This task does not ask you to modify Huggle code. You do not need to implement rollback tagging in Huggle. In order to complete this task, you only need to add the extra API parameter to MediaWiki core.

See https://phabricator.wikimedia.org/T111948 for more details (including where the code needs to be changed).

MediaWiki code can be found in the mediawiki/core Git repository. Read https://www.mediawiki.org/wiki/Gerrit for more details on submitting your code and the review process.

Task tags

  • mediawiki
  • api
  • interoperability
  • php

Students who completed this task

mhutti1

Task type

  • code Code
close

2015