jenkins-bot has submitted this change and it was merged.
Change subject: registration: FileExtensions should be an array, not an object
......................................................................
registration: FileExtensions should be an array, not an object
Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc
---
M docs/extension.schema.json
M docs/extension.schema.v1.json
2 files changed, 10 insertions(+), 4 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/extension.schema.json b/docs/extension.schema.json
index 638ee5d..30feaef 100644
--- a/docs/extension.schema.json
+++ b/docs/extension.schema.json
@@ -651,8 +651,11 @@
"description": "Password policies"
},
"FileExtensions": {
- "type": "object",
- "description": "Preferred file extensions for uploading"
+ "type": "array",
+ "description": "Preferred file extensions for
uploading",
+ "items": {
+ "type": "string"
+ }
},
"callback": {
"type": [
diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json
index 4d5c44f..421ea5c 100644
--- a/docs/extension.schema.v1.json
+++ b/docs/extension.schema.v1.json
@@ -641,8 +641,11 @@
"description": "Password policies"
},
"FileExtensions": {
- "type": "object",
- "description": "Preferred file extensions for uploading"
+ "type": "array",
+ "description": "Preferred file extensions for
uploading",
+ "items": {
+ "type": "string"
+ }
},
"callback": {
"type": [
--
To view, visit https://gerrit.wikimedia.org/r/322610
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits