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

Change subject: Remove unused entityPrefixes setting
......................................................................


Remove unused entityPrefixes setting

This setting is now unused and not needed anymore.

Change-Id: I1b750b577177d6a6236f1de3d76cafc5ad432800
---
M docs/options.wiki
M lib/config/WikibaseLib.default.php
2 files changed, 0 insertions(+), 14 deletions(-)

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



diff --git a/docs/options.wiki b/docs/options.wiki
index b189136..add51b8 100644
--- a/docs/options.wiki
+++ b/docs/options.wiki
@@ -19,15 +19,6 @@
 :* NOTE: The default may change in order to use the repo's database name 
automatically.
 ;sharedCacheDuration: The default duration of entries in the shared object 
cache, in seconds. Default is 3600 seconds = 1 hour.
 ;sharedCacheType: The type of cache to use for the shared object cache. 
Defaults to $wgMainCacheType. Use CACHE_XXX constants.
-;entityPrefixes: ID prefixes to use for the different entity types, as an 
associative array mapping prefixes to entity type constants. Default:
-<poem>
-          array(
-              'q' => Wikibase\DataModel\Entity\Item::ENTITY_TYPE,
-              'p' => Wikibase\DataModel\Entity\Property::ENTITY_TYPE,
-              'y' => Wikibase\DataModel\Entity\Query::ENTITY_TYPE,
-          );
-</poem>
-:'''Warning:''' do not change this if you already have Wikibase entities in 
your database, since they may become unreadable!
 ;useChangesTable: Whether to record changes in the database, so they can be 
pushed to clients. Boolean, defaults to <code>true</code>. May be set to false 
in situations where there are no clients to notify, to preserve space. 
'''Note''' that if this is true, the <code>pruneChanges.php</code> script 
should be run periodically to remove old changes from the database table.
 ;changeHandlers: Array mapping change type IDs to handler classes. May be used 
by extensions to register additional change classes.
 ;disabledDataTypes: Array listing of disabled data types on a wiki. This 
setting is intended to be used a new Wikibase install without items yet, or to 
control deployment of new data types. This setting should be set the same in 
the client and repo settings.
diff --git a/lib/config/WikibaseLib.default.php 
b/lib/config/WikibaseLib.default.php
index b0369d0..95342d1 100644
--- a/lib/config/WikibaseLib.default.php
+++ b/lib/config/WikibaseLib.default.php
@@ -19,11 +19,6 @@
        // whether changes get recorded to wb_changes
        'useChangesTable' => true,
 
-       'entityPrefixes' => array(
-               'q' => 'item',
-               'p' => 'property',
-       ),
-
        'siteLinkGroups' => array(
                'wikipedia',
        ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1b750b577177d6a6236f1de3d76cafc5ad432800
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Bene <benestar.wikime...@gmail.com>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de>
Gerrit-Reviewer: Hoo man <h...@online.de>
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