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

Change subject: Update Wikidata settings according to new entityNamespaces 
format
......................................................................


Update Wikidata settings according to new entityNamespaces format

Bug: T138983
Change-Id: I3c7adb3460a8957654d642555d7f5ba5d0cffffc
---
M puppet/modules/role/templates/wikidata/shared.php.erb
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/puppet/modules/role/templates/wikidata/shared.php.erb 
b/puppet/modules/role/templates/wikidata/shared.php.erb
index a614d6c..e8e8931 100644
--- a/puppet/modules/role/templates/wikidata/shared.php.erb
+++ b/puppet/modules/role/templates/wikidata/shared.php.erb
@@ -4,10 +4,10 @@
        $wgNamespaceAliases['Item_talk'] = NS_TALK;
 
        // Tell Wikibase which namespace to use for which kind of entity
-       $wgWBRepoSettings['entityNamespaces']['wikibase-item'] = NS_MAIN;
+       $wgWBRepoSettings['entityNamespaces']['item'] = NS_MAIN;
        define( 'WB_NS_PROPERTY', 122 );
        define( 'WB_NS_PROPERTY_TALK', 123 );
-       $wgWBRepoSettings['entityNamespaces']['wikibase-property'] = 
WB_NS_PROPERTY;
+       $wgWBRepoSettings['entityNamespaces']['property'] = WB_NS_PROPERTY;
 
        // Register extra namespaces.
        $wgWBNamespaces[WB_NS_PROPERTY] = 'Property';

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c7adb3460a8957654d642555d7f5ba5d0cffffc
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <smalys...@wikimedia.org>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org>
Gerrit-Reviewer: Dduvall <dduv...@wikimedia.org>
Gerrit-Reviewer: Smalyshev <smalys...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to