Wikimedia

Add license information to two MediaWiki extensions so the license appears correctly on Special:Version (V)

Some MediaWiki extensions are missing the license-name field in the file extension.json or in $wgExtensionCredits. This means no license is shown for them in Special:Version (e.g. https://en.wikipedia.org/wiki/Special:Version) or the license is displayed as 'License', instead of something like for example GPL-2.0-or-later.

To fix this, we need to make changes like https://gerrit.wikimedia.org/r/#/c/264553/ in the relevant extensions.

1) Check the existing LICENSE or COPYING file of the extension to verify which license the extension has. 2) Look up the corresponding value of that license in https://spdx.org/licenses/ 3) Add that value as the value of the license-name parameter to the file extension.json. 4) Provide your patch for that extension in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit. Please link to the Phabricator task in your Gerrit commit message, as explained in https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines

To solve this task, you need to provide two separate patches for each one of these two extensions:

  • mediawiki/extensions/SemanticTitle
  • mediawiki/extensions/TestLanguageNameGrammar

Task tags

  • json
  • license

Students who completed this task

refeed

Task type

  • code Code
  • done_all Quality Assurance
close

2018