Harej has uploaded a new change for review.
https://gerrit.wikimedia.org/r/313649
Change subject: Changing CollaborationList schema.
......................................................................
Changing CollaborationList schema.
As it turns out, the syntax of [ 'string', 'boolean' ] is not supported by our
validator. This caused lists with embedded images to be considered invalid.
Therefore this functionality is taken out for now.
Change-Id: I029f898f7ed5562ce6e415de121756ae31d24fc2
---
M includes/content/CollaborationListContentSchema.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit
refs/changes/49/313649/1
diff --git a/includes/content/CollaborationListContentSchema.php
b/includes/content/CollaborationListContentSchema.php
index a630311..5e7cb9d 100644
--- a/includes/content/CollaborationListContentSchema.php
+++ b/includes/content/CollaborationListContentSchema.php
@@ -18,13 +18,13 @@
'type' => 'string'
],
'link' => [
- 'type' => [ 'string',
'boolean' ]
+ 'type' => 'string'
],
'notes' => [
'type' => 'string'
],
'image' => [
- 'type' => [ 'string',
'boolean' ]
+ 'type' => 'string'
],
'sortkey' => [
'type' => 'object',
@@ -71,7 +71,7 @@
'default' => 'random'
],
'maxitems' => [
- 'type' => [ 'number', 'boolean' ],
+ 'type' => 'number',
'default' => 5
],
'includedesc' => [
--
To view, visit https://gerrit.wikimedia.org/r/313649
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I029f898f7ed5562ce6e415de121756ae31d24fc2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Harej <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits