Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use extension.json manifest version 2 #94

Open
jamesmontalvo3 opened this issue Dec 5, 2018 · 0 comments
Open

Use extension.json manifest version 2 #94

jamesmontalvo3 opened this issue Dec 5, 2018 · 0 comments

Comments

@jamesmontalvo3
Copy link
Contributor

extension.json manifest version 2 allows supplying additional information about extension configuration. For example, manifest version 1 may look like this:

	"config": {
		"MyExtSetting": true
	},

But version 2 allows:

	"config": {
		"MyExtSetting": {
			"value": true,
			"path": false,
			"description": "The description for the configuration",
			"descriptionmsg": "myextension-config-myextsetting",
			"public": true
		},
	},

Most interesting there seems "descriptionmsg" which would force us to document the purpose of extension variables, and would make them internationalizable.

Ref: https://www.mediawiki.org/wiki/Manual:Extension.json/Schema#Changes_in_manifest_version_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant