Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/322610

Change subject: Make FileExtensions into an array, not an object
......................................................................

Make FileExtensions into an array, not an object

Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc
---
M docs/extension.schema.json
M docs/extension.schema.v1.json
2 files changed, 8 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/10/322610/1

diff --git a/docs/extension.schema.json b/docs/extension.schema.json
index 638ee5d..d22eb5e 100644
--- a/docs/extension.schema.json
+++ b/docs/extension.schema.json
@@ -651,8 +651,11 @@
                        "description": "Password policies"
                },
                "FileExtensions": {
-                       "type": "object",
+                       "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..d83ea08 100644
--- a/docs/extension.schema.v1.json
+++ b/docs/extension.schema.v1.json
@@ -641,8 +641,11 @@
                        "description": "Password policies"
                },
                "FileExtensions": {
-                       "type": "object",
+                       "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: newchange
Gerrit-Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to