Mollywhite has submitted this change and it was merged.

Change subject: Remove "pages" property from the JSON schema.
......................................................................


Remove "pages" property from the JSON schema.

Because the ProofreadPage extension will be attempting to
semi-automatically populate pages with the <pages index> tags,
there is no need to include this information in the JSON
schema for BookManagerv2.

Change-Id: If77e3421dda1cce67fbb6a9ad6a129ffd732bc71
---
M schemas/bookschema.json
1 file changed, 4 insertions(+), 25 deletions(-)

Approvals:
  Mollywhite: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/schemas/bookschema.json b/schemas/bookschema.json
index 5497912..47171be 100644
--- a/schemas/bookschema.json
+++ b/schemas/bookschema.json
@@ -171,31 +171,10 @@
                             "type": "string",
                             "required": true
                         },
-                                               "link": {
-                                                       "description": "Name of 
the wiki page where this section is located",
-                                                       "type": "string",
-                                                       "required": true
-                                               },
-                        "pages": {
-                            "description": "Page numbers in the section. Can 
either be an array of numbers, or there can be arrays in the list. These 
sub-arrays are interpreted as a range, so [1,5] is intepreted as pages 1, 2, 3, 
4, and 5.",
-                            "type": "array",
-                            "required": false,
-                            "items": [
-                                {
-                                    "type": "integer",
-                                    "required": false
-                                },
-                                {
-                                    "type": "array",
-                                    "required": false,
-                                    "items": [
-                                        {
-                                            "type": "integer",
-                                            "required": false
-                                        }
-                                    ]
-                                }
-                            ]
+                        "link": {
+                            "description": "Name of the wiki page where this 
section is located",
+                            "type": "string",
+                            "required": true
                         },
                         "source": {
                             "description": "The source of the particular 
section",

-- 
To view, visit https://gerrit.wikimedia.org/r/76353
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If77e3421dda1cce67fbb6a9ad6a129ffd732bc71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BookManagerv2
Gerrit-Branch: master
Gerrit-Owner: Mollywhite <[email protected]>
Gerrit-Reviewer: Mollywhite <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to