Wikibase
MediaWiki Wikibase extension
Wikibase.default.php File Reference

Variables

global $wgCdnMaxAge
 
 return ['federatedPropertiesEnabled'=> false, 'federatedPropertiesSourceScriptUrl'=> 'https:'taintedReferencesEnabled'=> false, 'ssrServerUrl'=> '', 'ssrServerTimeout'=> 3, 'termboxEnabled'=> false, 'termboxUserSpecificSsrEnabled'=> true, 'reservedIds'=>[], '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',], 'entityDataCachePaths'=> function() { return[wfAppendQuery(str_replace(' $1', 'Special:EntityData/{entity_id}.json', $GLOBALS['wgArticlePath']), 'revision={revision_id}'), wfAppendQuery(str_replace(' $1', 'Special:EntityData/{entity_id}.ttl', $GLOBALS['wgArticlePath']), 'flavor=dump &revision={revision_id}'),];}, 'enableEntitySearchUI'=> true, 'dataRightsUrl'=> function() { return $GLOBALS['wgRightsUrl'];}, 'rdfDataRightsUrl'=> 'http:'dataRightsText'=> function() { return $GLOBALS['wgRightsText'];}, 'sparqlEndpoint'=> null, 'transformLegacyFormatOnExport'=> true, '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'],], 'geoShapeStorageApiEndpointUrl'=> 'https:'geoShapeStorageBaseUrl'=> 'https:'tabularDataStorageApiEndpointUrl'=> 'https:'tabularDataStorageBaseUrl'=> 'https:'dispatchingLockManager'=> null, 'searchIndexProperties'=>[], 'searchIndexTypes'=>[], 'searchIndexPropertiesExclude'=>[], 'searchIndexQualifierPropertiesForQuantity'=>[], 'dispatchLagToMaxLagFactor'=> 0, 'dumpDBDefaultGroup'=> 'dump', 'useKartographerGlobeCoordinateFormatter'=> false, 'useKartographerMaplinkInWikitext'=> false, 'enableRefTabs'=> false, 'idGenerator'=> 'original', 'idGeneratorSeparateDbConnection'=> false, 'idGeneratorInErrorPingLimiter'=> 0, 'entityTypesWithoutRdfOutput'=>[], 'entitySources'=> function(SettingsArray $settings) { throw new Exception( 'entitySources must be configured manually(or use the example settings)');}, 'localEntitySourceName'=> 'local', 'enablePopulateWithRandomEntitiesAndTermsScript'=> false, 'entitySchemaNamespace'=> 640, 'dataBridgeEnabled'=> false, 'changeVisibilityNotificationClientRCMaxAge'=> $GLOBALS['wgRCMaxAge'], 'changeVisibilityNotificationJobBatchSize'=> 3, 'deleteNotificationClientRCMaxAge'=> $GLOBALS['wgRCMaxAge'], 'termFallbackCacheVersion'=> null, 'wikibasePingback'=> false, 'pingbackHost'=> 'https:'tmpUseRequestLanguagesForRdfOutput'=> false, 'tmpSerializeEmptyListsAsObjects'=> false, 'sandboxEntityIds'=>['mainItem'=> 'Q999999998', 'auxItem'=> 'Q999999999'], 'updateRepoTags'=>[], 'viewUiTags'=>[], 'termboxTags'=>[], 'specialPageTags'=>[], 'tmpNormalizeDataValues'=> false,]
 -file-suppress PhanUnextractableAnnotation More...
 

Variable Documentation

◆ $wgCdnMaxAge

global $wgCdnMaxAge

◆ return

return[ 'federatedPropertiesEnabled'=> false, 'federatedPropertiesSourceScriptUrl'=> 'https: 'taintedReferencesEnabled'=> false, 'ssrServerUrl'=> '', 'ssrServerTimeout'=> 3, 'termboxEnabled'=> false, 'termboxUserSpecificSsrEnabled'=> true, 'reservedIds'=>[], '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',], 'entityDataCachePaths'=> function() { return[ wfAppendQuery( str_replace(' $1', 'Special:EntityData/{entity_id}.json', $GLOBALS[ 'wgArticlePath']), 'revision={revision_id}'), wfAppendQuery( str_replace(' $1', 'Special:EntityData/{entity_id}.ttl', $GLOBALS[ 'wgArticlePath']), 'flavor=dump &revision={revision_id}'),];}, 'enableEntitySearchUI'=> true, 'dataRightsUrl'=> function() { return $GLOBALS[ 'wgRightsUrl'];}, 'rdfDataRightsUrl'=> 'http:'dataRightsText'=> function() { return $GLOBALS[ 'wgRightsText'];}, 'sparqlEndpoint'=> null, 'transformLegacyFormatOnExport'=> true, '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'],], 'geoShapeStorageApiEndpointUrl'=> 'https: 'geoShapeStorageBaseUrl'=> 'https: 'tabularDataStorageApiEndpointUrl'=> 'https: 'tabularDataStorageBaseUrl'=> 'https: 'dispatchingLockManager'=> null, 'searchIndexProperties'=>[], 'searchIndexTypes'=>[], 'searchIndexPropertiesExclude'=>[], 'searchIndexQualifierPropertiesForQuantity'=>[], 'dispatchLagToMaxLagFactor'=> 0, 'dumpDBDefaultGroup'=> 'dump', 'useKartographerGlobeCoordinateFormatter'=> false, 'useKartographerMaplinkInWikitext'=> false, 'enableRefTabs'=> false, 'idGenerator'=> 'original', 'idGeneratorSeparateDbConnection'=> false, 'idGeneratorInErrorPingLimiter'=> 0, 'entityTypesWithoutRdfOutput'=>[], 'entitySources'=> function(SettingsArray $settings) { throw new Exception('entitySources must be configured manually(or use the example settings)');}, 'localEntitySourceName'=> 'local', 'enablePopulateWithRandomEntitiesAndTermsScript'=> false, 'entitySchemaNamespace'=> 640, 'dataBridgeEnabled'=> false, 'changeVisibilityNotificationClientRCMaxAge'=> $GLOBALS[ 'wgRCMaxAge'], 'changeVisibilityNotificationJobBatchSize'=> 3, 'deleteNotificationClientRCMaxAge'=> $GLOBALS[ 'wgRCMaxAge'], 'termFallbackCacheVersion'=> null, 'wikibasePingback'=> false, 'pingbackHost'=> 'https: 'tmpUseRequestLanguagesForRdfOutput'=> false, 'tmpSerializeEmptyListsAsObjects'=> false, 'sandboxEntityIds'=>[ 'mainItem'=> 'Q999999998', 'auxItem'=> 'Q999999999'], 'updateRepoTags'=>[], 'viewUiTags'=>[], 'termboxTags'=>[], 'specialPageTags'=>[], 'tmpNormalizeDataValues'=> false,]

-file-suppress PhanUnextractableAnnotation