Page MenuHomePhabricator

Convert OAuthAuthentication extension.json to manifest_version 2
Closed, ResolvedPublic


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

Ammarpad created this task.Dec 20 2019, 5:25 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 20 2019, 5:25 AM
Ammarpad updated the task description. (Show Details)Dec 20 2019, 7:08 AM

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

Ammarpad closed this task as Resolved.Jan 1 2020, 11:40 PM
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