Skip to content

Use extension.json manifest version 2 #94

@jamesmontalvo3

Description

@jamesmontalvo3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions