jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Harej: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I029f898f7ed5562ce6e415de121756ae31d24fc2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Harej <[email protected]>
Gerrit-Reviewer: Harej <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits