Wikimedia

Add logic to MediaWiki's ApiBase class to handle change tags in API modules

Your task is to address the first bullet point of Legoktm's comment in https://phabricator.wikimedia.org/T97720.

You need to add support for PARAM_TYPE => 'tag' to ApiBase, and make use of this new parameter type in the ApiDelete module. The new parameter type should accept only explicitly defined change tags, matching the checking logic currently at the top of ApiDelete.

Code can be found in the includes/api/ directory in the MediaWiki core repository.

Task tags

  • mediawiki
  • php

Students who completed this task

Victor Barbu

Task type

  • code Code
close

2015