Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/214778
Change subject: registration: Don't hardcode list of extension types in schema
......................................................................
registration: Don't hardcode list of extension types in schema
Extension types can be added via a hook, so don't try and validate
against a hardcoded list.
Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6
---
M docs/extension.schema.json
1 file changed, 1 insertion(+), 14 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/78/214778/1
diff --git a/docs/extension.schema.json b/docs/extension.schema.json
index c4d0513..14867b1 100644
--- a/docs/extension.schema.json
+++ b/docs/extension.schema.json
@@ -19,20 +19,7 @@
},
"type": {
"type": "string",
- "description": "The extension's type, as an index to
$wgExtensionCredits.",
- "default": "other",
- "enum": [
- "api",
- "antispam",
- "datavalues",
- "media",
- "parserhook",
- "semantic",
- "skin",
- "specialpage",
- "variable",
- "other"
- ]
+ "description": "The extension's type, as an index to
$wgExtensionCredits."
},
"author": {
"type": [
--
To view, visit https://gerrit.wikimedia.org/r/214778
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits