jenkins-bot has submitted this change and it was merged.

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


Basic "Identifiers" statement section config for Wikidata

Bug: T123112
Change-Id: Ie4e28a90c8221b5fc4b49bdfcabb7cf278c18853
---
M wmf-config/Wikibase.php
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Aude: Looks good to me, approved
  Daniel Kinzler: Looks good to me, but someone else must approve
  Lydia Pintscher: Looks good to me, but someone else must approve
  JanZerebecki: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index 66c0bd9..bb7eb17 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -68,6 +68,16 @@
        $wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_ITEM] = 
NS_MAIN;
        $wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_PROPERTY] 
= WB_NS_PROPERTY;
 
+       $wgWBRepoSettings['statementSections'] = array(
+               'item' => array(
+                       'statements' => null,
+                       'identifiers' => array(
+                               'type' => 'dataType',
+                               'dataTypes' => array( 'external-id' ),
+                       ),
+               ),
+       );
+
        $wgWBRepoSettings['normalizeItemByTitlePageNames'] = true;
 
        $wgWBRepoSettings['dataRightsText'] = 'Creative Commons CC0 License';

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4e28a90c8221b5fc4b49bdfcabb7cf278c18853
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to