Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263046

Change subject: Basic "Identifiers" statement section config for Wikidata
......................................................................

Basic "Identifiers" statement section config for Wikidata

Note that only a selection of a few heavily used string property ids is
listed (including VIAF, ISBN and GND, to name the most relevant). The
full list would be some hundred property ids. This is not worth the
trouble, in my opinion. We start with a basic set for testing. Later,
the community decides which properties are identifiers and which not.
These will be changed to have the "external-id" type. When this
happened we will switch the configuration as described in T123112.

Bug: T123112
Change-Id: Ie4e28a90c8221b5fc4b49bdfcabb7cf278c18853
---
M wmf-config/Wikibase-labs.php
M wmf-config/Wikibase-production.php
2 files changed, 55 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/46/263046/1

diff --git a/wmf-config/Wikibase-labs.php b/wmf-config/Wikibase-labs.php
index 95dee64..28d40af 100644
--- a/wmf-config/Wikibase-labs.php
+++ b/wmf-config/Wikibase-labs.php
@@ -14,6 +14,21 @@
                'Q98658' => 'wb-badge-proofread',
                'Q98651' => 'wb-badge-validated'
        );
+       $wgWBRepoSettings['statementSections'] = array(
+               'item' => array(
+                       'statements' => null,
+                       'identifiers' => array(
+                               // TODO: Switch to type "dataType" once the 
"external-id" data type exists.
+                               'type' => 'propertySet',
+                               'propertyIds' => array(
+                                       'P737',
+                                       'P738',
+                                       'P752',
+                                       'P765',
+                               ),
+                       ),
+               ),
+       );
        $wgWBRepoSettings['preferredGeoDataProperties'] = array(
                'P740',
                'P477',
diff --git a/wmf-config/Wikibase-production.php 
b/wmf-config/Wikibase-production.php
index b664d44..1db7100 100644
--- a/wmf-config/Wikibase-production.php
+++ b/wmf-config/Wikibase-production.php
@@ -8,6 +8,27 @@
                        'Q608' => 'wb-badge-goodarticle',
                        'Q609' => 'wb-badge-featuredarticle'
                );
+               $wgWBRepoSettings['statementSections'] = array(
+                       'item' => array(
+                               'statements' => null,
+                               'identifiers' => array(
+                                       // TODO: Switch to type "dataType" once 
the "external-id" data type exists.
+                                       'type' => 'propertySet',
+                                       'propertyIds' => array(
+                                               'P61',
+                                               'P122',
+                                               'P137',
+                                               'P150',
+                                               'P176',
+                                               'P360',
+                                               'P366',
+                                               'P589',
+                                               'P610',
+                                               'P620',
+                                       ),
+                               ),
+                       ),
+               );
                $wgWBRepoSettings['preferredGeoDataProperties'] = array(
                        'P125',
                        'P10',
@@ -37,6 +58,25 @@
                        'Q20748092' => 'wb-badge-proofread',
                        'Q20748093' => 'wb-badge-validated'
                );
+               $wgWBRepoSettings['statementSections'] = array(
+                       'item' => array(
+                               'statements' => null,
+                               'identifiers' => array(
+                                       // TODO: Switch to type "dataType" once 
the "external-id" data type exists.
+                                       'type' => 'propertySet',
+                                       'propertyIds' => array(
+                                               'P214',
+                                               'P227',
+                                               'P268',
+                                               'P345',
+                                               'P646',
+                                               'P830',
+                                               'P846',
+                                               'P1566',
+                                       ),
+                               ),
+                       ),
+               );
                $wgWBRepoSettings['preferredGeoDataProperties'] = array(
                        'P625',
                );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4e28a90c8221b5fc4b49bdfcabb7cf278c18853
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to