Wikibase
MediaWiki Wikibase extension
Wikibase.default.php File Reference

Variables

global $wgCdnMaxAge
 This file assigns the default values to all Wikibase Repo settings. More...
 
 return ['federatedPropertiesEnabled'=> false, 'federatedPropertiesSourceScriptUrl'=> 'https:'taintedReferencesEnabled'=> false, 'ssrServerUrl'=> '', 'ssrServerTimeout'=> 3, 'termboxEnabled'=> false, 'termboxUserSpecificSsrEnabled'=> true, 'reservedIds'=>[], 'entityNamespaces'=>[], 'readOnlyEntityTypes'=>[], 'statementSections'=>[], 'string-limits'=>['multilang'=>['length'=> 250,], 'VT:monolingualtext'=>['length'=> 400,], 'VT:string'=>['length'=> 400,], 'PT:url'=>['length'=> 500,],], 'urlSchemes'=>[ 'bzr', 'cvs', 'ftp', 'git', 'http', 'https', 'irc', 'mailto', 'ssh', 'svn'], 'badgeItems'=>[], 'dataCdnMaxAge'=> $wgCdnMaxAge, 'localClientDatabases'=>[], 'dispatchMaxTime'=> 60 *60, 'dispatchIdleDelay'=> 10, 'dispatchBatchChunkFactor'=> 3, 'dispatchBatchCacheFactor'=> 3, 'dispatchDefaultBatchSize'=> 1000, 'dispatchDefaultMaxChunks'=> 15, 'dispatchDefaultDispatchInterval'=> 60, 'dispatchDefaultDispatchRandomness'=> 15, 'entityDataFormats'=>['json', 'php', 'rdfxml', 'n3', 'turtle', 'ntriples', 'jsonld', 'html',], 'enableEntitySearchUI'=> true, 'dataRightsUrl'=> function() { return $GLOBALS['wgRightsUrl'];}, 'rdfDataRightsUrl'=> 'http:'dataRightsText'=> function() { return $GLOBALS['wgRightsText'];}, 'sparqlEndpoint'=> null, 'transformLegacyFormatOnExport'=> true, 'conceptBaseUri'=> function() { $uri=preg_replace('!^ return $uri . '/entity/';}, 'formatterUrlProperty'=> null, 'canonicalUriProperty'=> null, 'allowEntityImport'=> false, 'sharedCacheKeyPrefix'=> 'wikibase_shared/' . $GLOBALS['wgDBname'], 'sharedCacheKeyGroup'=> $GLOBALS['wgDBname'], 'sharedCacheDuration'=> 60 *60, 'sharedCacheType'=> $GLOBALS['wgMainCacheType'], 'disabledDataTypes'=>[], 'canonicalLanguageCodes'=>['simple'=> 'en-simple', 'crh'=> 'crh-Latn', 'cbk-zam'=> 'cbk-x-zam', 'map-bms'=> 'jv-x-bms', 'nrm'=> 'fr-x-nrm', 'roa-tara'=> 'it-x-tara', 'de-formal'=> 'de-x-formal', 'es-formal'=> 'es-x-formal', 'hu-formal'=> 'hu-x-formal', 'nl-informal'=> 'nl-x-informal',], 'preferredPageImagesProperties'=>[], 'preferredGeoDataProperties'=>[], 'globeUris'=>['http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:'http:], 'pagePropertiesRdf'=>['wb-sitelinks'=>[ 'name'=> 'sitelinks', 'type'=> 'integer'], 'wb-claims'=>[ 'name'=> 'statements', 'type'=> 'integer'], 'wb-identifiers'=>[ 'name'=> 'identifiers', 'type'=> 'integer'],], 'foreignRepositories'=>[], 'geoShapeStorageApiEndpointUrl'=> 'https:'geoShapeStorageBaseUrl'=> 'https:'tabularDataStorageApiEndpointUrl'=> 'https:'tabularDataStorageBaseUrl'=> 'https:'dispatchingLockManager'=> null, 'searchIndexProperties'=>[], 'searchIndexTypes'=>[], 'searchIndexPropertiesExclude'=>[], 'searchIndexQualifierPropertiesForQuantity'=>[], 'useTermsTableSearchFields'=> true, 'forceWriteTermsTableSearchFields'=> false, 'dispatchLagToMaxLagFactor'=> 0, 'dumpDBDefaultGroup'=> 'dump', 'useKartographerGlobeCoordinateFormatter'=> false, 'useKartographerMaplinkInWikitext'=> false, 'enableRefTabs'=> false, 'idGenerator'=> 'original', 'idGeneratorSeparateDbConnection'=> false, 'entityTypesWithoutRdfOutput'=>[], 'entitySources'=>[], 'localEntitySourceName'=> 'local', 'tmpSerializeEmptyListsAsObjects'=> true, 'enablePopulateWithRandomEntitiesAndTermsScript'=> false, 'entitySchemaNamespace'=> 640, 'dataBridgeEnabled'=> false, 'propagateChangeVisibility'=> false, 'changeVisibilityNotificationClientRCMaxAge'=> $GLOBALS['wgRCMaxAge'], 'changeVisibilityNotificationJobBatchSize'=> 3,]
 

Variable Documentation

◆ $wgCdnMaxAge

global $wgCdnMaxAge

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

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

◆ return

return[ 'federatedPropertiesEnabled'=> false, 'federatedPropertiesSourceScriptUrl'=> 'https: 'taintedReferencesEnabled'=> false, 'ssrServerUrl'=> '', 'ssrServerTimeout'=> 3, 'termboxEnabled'=> false, 'termboxUserSpecificSsrEnabled'=> true, 'reservedIds'=>[], 'entityNamespaces'=>[], 'readOnlyEntityTypes'=>[], 'statementSections'=>[], 'string-limits'=>[ 'multilang'=>[ 'length'=> 250,], 'VT:monolingualtext'=>[ 'length'=> 400,], 'VT:string'=>[ 'length'=> 400,], 'PT:url'=>[ 'length'=> 500,],], 'urlSchemes'=>['bzr', 'cvs', 'ftp', 'git', 'http', 'https', 'irc', 'mailto', 'ssh', 'svn'], 'badgeItems'=>[], 'dataCdnMaxAge'=> $wgCdnMaxAge, 'localClientDatabases'=>[], 'dispatchMaxTime'=> 60 *60, 'dispatchIdleDelay'=> 10, 'dispatchBatchChunkFactor'=> 3, 'dispatchBatchCacheFactor'=> 3, 'dispatchDefaultBatchSize'=> 1000, 'dispatchDefaultMaxChunks'=> 15, 'dispatchDefaultDispatchInterval'=> 60, 'dispatchDefaultDispatchRandomness'=> 15, 'entityDataFormats'=>[ 'json', 'php', 'rdfxml', 'n3', 'turtle', 'ntriples', 'jsonld', 'html',], 'enableEntitySearchUI'=> true, 'dataRightsUrl'=> function() { return $GLOBALS[ 'wgRightsUrl'];}, 'rdfDataRightsUrl'=> 'http:'dataRightsText'=> function() { return $GLOBALS[ 'wgRightsText'];}, 'sparqlEndpoint'=> null, 'transformLegacyFormatOnExport'=> true, 'conceptBaseUri'=> function() { $uri=preg_replace('!^ return $uri . '/entity/';}, 'formatterUrlProperty'=> null, 'canonicalUriProperty'=> null, 'allowEntityImport'=> false, 'sharedCacheKeyPrefix'=> 'wikibase_shared/' . $GLOBALS[ 'wgDBname'], 'sharedCacheKeyGroup'=> $GLOBALS[ 'wgDBname'], 'sharedCacheDuration'=> 60 *60, 'sharedCacheType'=> $GLOBALS[ 'wgMainCacheType'], 'disabledDataTypes'=>[], 'canonicalLanguageCodes'=>[ 'simple'=> 'en-simple', 'crh'=> 'crh-Latn', 'cbk-zam'=> 'cbk-x-zam', 'map-bms'=> 'jv-x-bms', 'nrm'=> 'fr-x-nrm', 'roa-tara'=> 'it-x-tara', 'de-formal'=> 'de-x-formal', 'es-formal'=> 'es-x-formal', 'hu-formal'=> 'hu-x-formal', 'nl-informal'=> 'nl-x-informal',], 'preferredPageImagesProperties'=>[], 'preferredGeoDataProperties'=>[], 'globeUris'=>[ 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http: 'http:], 'pagePropertiesRdf'=>[ 'wb-sitelinks'=>['name'=> 'sitelinks', 'type'=> 'integer'], 'wb-claims'=>['name'=> 'statements', 'type'=> 'integer'], 'wb-identifiers'=>['name'=> 'identifiers', 'type'=> 'integer'],], 'foreignRepositories'=>[], 'geoShapeStorageApiEndpointUrl'=> 'https: 'geoShapeStorageBaseUrl'=> 'https: 'tabularDataStorageApiEndpointUrl'=> 'https: 'tabularDataStorageBaseUrl'=> 'https: 'dispatchingLockManager'=> null, 'searchIndexProperties'=>[], 'searchIndexTypes'=>[], 'searchIndexPropertiesExclude'=>[], 'searchIndexQualifierPropertiesForQuantity'=>[], 'useTermsTableSearchFields'=> true, 'forceWriteTermsTableSearchFields'=> false, 'dispatchLagToMaxLagFactor'=> 0, 'dumpDBDefaultGroup'=> 'dump', 'useKartographerGlobeCoordinateFormatter'=> false, 'useKartographerMaplinkInWikitext'=> false, 'enableRefTabs'=> false, 'idGenerator'=> 'original', 'idGeneratorSeparateDbConnection'=> false, 'entityTypesWithoutRdfOutput'=>[], 'entitySources'=>[], 'localEntitySourceName'=> 'local', 'tmpSerializeEmptyListsAsObjects'=> true, 'enablePopulateWithRandomEntitiesAndTermsScript'=> false, 'entitySchemaNamespace'=> 640, 'dataBridgeEnabled'=> false, 'propagateChangeVisibility'=> false, 'changeVisibilityNotificationClientRCMaxAge'=> $GLOBALS[ 'wgRCMaxAge'], 'changeVisibilityNotificationJobBatchSize'=> 3,]