From e6bf3bc537280cd858070b0cd8fc218c9ff95d39 Mon Sep 17 00:00:00 2001 From: UnknownSkyrimPasserby Date: Fri, 3 May 2024 17:35:44 +0200 Subject: [PATCH] Update the underlying schema for SMW 3.2. (#150) According to https://www.semantic-mediawiki.org/wiki/Help:Schema/Type/PROPERTY_GROUP_SCHEMA: "The underlying schema changed between it's initial release with Semantic MediaWiki 3.1.0 and Semantic MediaWiki 3.2.0.23 Thus you need to migrate existing schemas to the new structure." --- data/import/groups/extra.group.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/data/import/groups/extra.group.json b/data/import/groups/extra.group.json index eabbc81..3f5c23f 100644 --- a/data/import/groups/extra.group.json +++ b/data/import/groups/extra.group.json @@ -1,11 +1,13 @@ { "type": "PROPERTY_GROUP_SCHEMA", "description": "Provides groups for special properties provided by the `Semantic Extra Special Properties` extension.", - "groups": [ + "groups": + { + "user_group": { - "group_name":"User related", + "canonical_name":"User related", "message_key": "sesp-property-group-label-user-data-group", - "properties": [ + "property_keys": [ "___USERREG", "___USEREDITCNT", "___USEREDITCNTNS", @@ -14,10 +16,11 @@ "___USERGROUP" ] }, + "page_group": { - "group_name":"Page related", + "canonical_name":"Page related", "message_key": "sesp-property-group-label-page-data-group", - "properties": [ + "property_keys": [ "___REVID", "___PAGEID", "___PAGELGTH", @@ -31,7 +34,7 @@ "___NSNAME" ] } - ], + }, "tags": [ "group", "property group",