set up formatterUrlProperty for Wikibase
authorYuri Astrakhan <YuriAstrakhan@gmail.com>
Tue, 18 Sep 2018 00:46:53 +0000 (20:46 -0400)
committerYuri Astrakhan <YuriAstrakhan@gmail.com>
Tue, 18 Sep 2018 00:46:53 +0000 (20:46 -0400)
cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb

index d4c2b97..dc1188c 100644 (file)
@@ -81,8 +81,8 @@ $wgGroupPermissions['data-admin']['item-merge'] = true;
 $wgGroupPermissions['data-admin']['property-create'] = true;
 
 
-// ---- This should be set once formatUrl property is created
-// $wgWBRepoSettings['formatterUrlProperty'] = 'P3';
+// See https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Define_links_for_external_identifiers
+$wgWBRepoSettings['formatterUrlProperty'] = 'P8';
 
 // ---- This should be removed once all needed initial items and properties are set up
 $wgNamespaceProtection[WB_NS_ITEM] = [ 'create-wb-items' ];