[MediaWiki-commits] [Gerrit] mediawiki...CollaborationKit[master]: Adding WikiProject scope to CollaborationHubContent schema.
jenkins-bot has submitted this change and it was merged. Change subject: Adding WikiProject scope to CollaborationHubContent schema. .. Adding WikiProject scope to CollaborationHubContent schema. This adds a new scope object to the CollaborationHubContent schema in anticipation of its future use. We are not currently designing a UI around it, however. Bug: T129247 Change-Id: I7412faad9916e50de078cf5b0063263959efa985 --- M includes/content/CollaborationHubContentSchema.php 1 file changed, 71 insertions(+), 0 deletions(-) Approvals: Brian Wolff: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/content/CollaborationHubContentSchema.php b/includes/content/CollaborationHubContentSchema.php index 05df63a..937d9be 100644 --- a/includes/content/CollaborationHubContentSchema.php +++ b/includes/content/CollaborationHubContentSchema.php @@ -77,6 +77,77 @@ ], ], ], + 'scope' => + [ + 'type' => 'object', + 'properties' => + [ + 'included_categories' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'object', + 'properties' => + [ + 'category_name' => + [ + 'type' => 'string' + ], + 'category_depth' => + [ + 'type' => 'number', + 'default' => 9 + ] + ] + ] + ] + ], + 'excluded_categories' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'object', + 'properties' => + [ + 'category_name' => + [ + 'type' => 'string' + ], + 'category_depth' => + [ + 'type' => 'number', + 'default' => 9 + ] + ] + ] + ] + ], + 'included_pages' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'string' + ] + ] + ], + 'excluded_pages' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'string' + ] + ] + ] + ] +
[MediaWiki-commits] [Gerrit] mediawiki...CollaborationKit[master]: Adding WikiProject scope to CollaborationHubContent schema.
Harej has uploaded a new change for review. https://gerrit.wikimedia.org/r/314227 Change subject: Adding WikiProject scope to CollaborationHubContent schema. .. Adding WikiProject scope to CollaborationHubContent schema. This adds a new scope object to the CollaborationHubContent schema in anticipation of its future use. We are not currently designing a UI around it, however. Bug: T129247 Change-Id: I7412faad9916e50de078cf5b0063263959efa985 --- M includes/content/CollaborationHubContentSchema.php 1 file changed, 71 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit refs/changes/27/314227/1 diff --git a/includes/content/CollaborationHubContentSchema.php b/includes/content/CollaborationHubContentSchema.php index 05df63a..937d9be 100644 --- a/includes/content/CollaborationHubContentSchema.php +++ b/includes/content/CollaborationHubContentSchema.php @@ -77,6 +77,77 @@ ], ], ], + 'scope' => + [ + 'type' => 'object', + 'properties' => + [ + 'included_categories' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'object', + 'properties' => + [ + 'category_name' => + [ + 'type' => 'string' + ], + 'category_depth' => + [ + 'type' => 'number', + 'default' => 9 + ] + ] + ] + ] + ], + 'excluded_categories' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'object', + 'properties' => + [ + 'category_name' => + [ + 'type' => 'string' + ], + 'category_depth' => + [ + 'type' => 'number', + 'default' => 9 + ] + ] + ] + ] + ], + 'included_pages' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'string' + ] + ] + ], + 'excluded_pages' => + [ + 'type' => 'array', + 'items' => + [ + [ + 'type' => 'string' + ] + ] +