Page MenuHomePhabricator

Convert OAuthAuthentication extension.json to manifest_version 2
Closed, ResolvedPublic

Description

OAuthAuthentication extension should be converted to use manifest version 2 in its extension.json file.

In extension manifest version 1, documentation was made like this:

	"config": {
		"@doc": "see OAuthAuthentication.php",
		"OAuthAuthenticationUrl": null,
         }

This documentation can now be done with "description" and "value" fields available in manifest_version: 2 like this:

	"config": {
            "OAuthAuthenticationUrl": {
		"description": "see OAuthAuthentication.php",
		"value": null,
            }
	},

The maintenance script maintenance/updateExtensionJsonSchema.php semi-automates this conversion and is recommended to be used

Event Timeline

Change 561387 had a related patch set uploaded (by JeremyNguyenGCI; owner: JeremyNguyenGCI):
[mediawiki/extensions/OAuthAuthentication@master] Updated extension.json to manifest_version 2

https://gerrit.wikimedia.org/r/561387

Ammarpad claimed this task.
Ammarpad reassigned this task from Ammarpad to JeremyNguyenGCI.

Change 561387 merged by Umherirrender:
[mediawiki/extensions/OAuthAuthentication@master] Updated extension.json to manifest_version 2

https://gerrit.wikimedia.org/r/561387