Wikibase
MediaWiki Wikibase extension
WikibaseLib.default.php File Reference

Variables

 return ['useChangesTable'=> true, 'siteLinkGroups'=>[], 'specialSiteLinkGroups'=>[], 'changesDatabase'=> false, 'maxSerializedEntitySize'=>(int) $GLOBALS['wgMaxArticleSize'], 'tmpPropertyTermsMigrationStage'=> MIGRATION_WRITE_NEW, 'tmpItemTermsMigrationStages'=>[ 'max'=> MIGRATION_WRITE_NEW], 'tmpItemSearchMigrationStage'=> MIGRATION_OLD, 'tmpPropertySearchMigrationStage'=> MIGRATION_OLD,]
 Lib is not an application and should not have global config state. More...
 

Variable Documentation

◆ return

return[ 'useChangesTable'=> true, 'siteLinkGroups'=>[], 'specialSiteLinkGroups'=>[], 'changesDatabase'=> false, 'maxSerializedEntitySize'=>(int) $GLOBALS[ 'wgMaxArticleSize'], 'tmpPropertyTermsMigrationStage'=> MIGRATION_WRITE_NEW, 'tmpItemTermsMigrationStages'=>['max'=> MIGRATION_WRITE_NEW], 'tmpItemSearchMigrationStage'=> MIGRATION_OLD, 'tmpPropertySearchMigrationStage'=> MIGRATION_OLD,]

Lib is not an application and should not have global config state.

Therefore you should NOT add new settings here. If both client and repo need them, add them to both.

This file assigns the default values to all Wikibase Lib settings.

This file is NOT an entry point the WikibaseLib extension. Use WikibaseLib.php. It should furthermore not be included from outside the extension.