v3.0.0+
Status: | effective |
Progress: | 75% |
Version: | 3.0.0+ |
Help:Special page "SemanticMediaWiki" - configuration settings
From semantic-mediawiki.org
Configuration settings | |
---|---|
Allows to view the configuration parameters and their settings | |
Collection | |
Function type | |
Keywords | |
Table of Contents | |
This page describes the configuration settings page accessible via special page "SemanticMediaWiki". On that page it is found using the "Configuration settings" link in its "Supplementary functions" section. It provides information about the configuration parameters and their settings of your wiki.
By default all users who are administrators (user group "sysop") or Semantic MediaWiki administrators (user group "smwadministrator") may see the configuration settings. This can be prevented by removing the user right "smw-admin
" from the wiki administrators (user group "sysop") and additionally the respective user should not be assigned to be a Semantic MediaWiki administrator (user group "smwadministrator").
Example output[edit]
Configuration settings[edit]
{
"smwgIP": "../SemanticMediaWiki/",
"smwgExtraneousLanguageFileDir": "../SemanticMediaWiki/i18n/extra",
"smwgServicesFileDir": "../SemanticMediaWiki/src/Services",
"smwgResourceLoaderDefFiles": {
"smw": "../SemanticMediaWiki/res/Resources.php"
},
"smwgMaintenanceDir": "../SemanticMediaWiki/maintenance",
"smwgTemplateDir": "../SemanticMediaWiki/data/template",
"smwgConfigFileDir": "/var/www/html/wwwsmw/w",
"smwgImportFileDirs": {
"default": "../SemanticMediaWiki/data/import"
},
"smwgImportReqVersion": 1,
"smwgSemanticsEnabled": true,
"smwgIgnoreExtensionRegistrationCheck": false,
"smwgUpgradeKey": "smw:2019-09-23",
"smwgJobQueueWatchlist": [ ],
"smwgEnabledCompatibilityMode": false,
"smwgDefaultStore": "SMWSQLStore3",
"smwgDefaultLoggerRole": "production",
"smwgLocalConnectionConf": {
"mw.db": {
"read": -1,
"write": -2
},
"mw.db.queryengine": {
"read": -1,
"write": -2
}
},
"smwgSparqlRepositoryConnector": "default",
"smwgSparqlCustomConnector": "SMWSparqlDatabase",
"smwgSparqlEndpoint": {
"query": "http://localhost:8080/sparql/",
"update": "http://localhost:8080/update/",
"data": "http://localhost:8080/data/"
},
"smwgSparqlDefaultGraph": "",
"smwgSparqlRepositoryConnectorForcedHttpVersion": false,
"smwgSparqlReplicationPropertyExemptionList": [ ],
"smwgSparqlQFeatures": 14,
"smwgNamespaceIndex": 100,
"smwgFactboxFeatures": 240,
"smwgShowFactbox": 1,
"smwgShowFactboxEdit": 3,
"smwgCompactLinkSupport": false,
"smwgDefaultNumRecurringEvents": 100,
"smwgMaxNumRecurringEvents": 500,
"smwgSearchByPropertyFuzzy": [
"_num",
"_txt",
"_dat",
"_mlt_rec"
],
"smwgPagingLimit": {
"type": 50,
"concept": 250,
"property": 20,
"errorlist": 20,
"browse": {
"valuelist.outgoing": 30,
"valuelist.incoming": 20
}
},
"smwgPropertyListLimit": {
"subproperty": 25,
"redirect": 25,
"error": 10
},
"smwgQEnabled": true,
"smwgQMaxLimit": 10000,
"smwgIgnoreQueryErrors": true,
"smwgQSubcategoryDepth": 10,
"smwgQSubpropertyDepth": 10,
"smwgQEqualitySupport": 1,
"smwgQDefaultNamespaces": null,
"smwgQComparators": "<|>|!~|!|~|≤|≥|<<|>>|~=|like:|nlike:|in:|not:|phrase:",
"smwgQFilterDuplicates": false,
"smwStrictComparators": false,
"smwgQStrictComparators": false,
"smwgQMaxSize": 16,
"smwgQMaxDepth": 4,
"smwgQFeatures": 63,
"smwgQDefaultLimit": 50,
"smwgQUpperbound": 5000,
"smwgQMaxInlineLimit": 500,
"smwgQPrintoutLimit": 100,
"smwgQDefaultLinking": "all",
"smwgQConceptCaching": 1,
"smwgQConceptMaxSize": 20,
"smwgQConceptMaxDepth": 8,
"smwgQConceptFeatures": 63,
"smwgQConceptCacheLifetime": 1440,
"smwgQExpensiveThreshold": 10,
"smwgQExpensiveExecutionLimit": false,
"smwgRemoteReqFeatures": 6,
"smwgQuerySources": [ ],
"smwgQTemporaryTablesAutoCommitMode": false,
"smwgQSortFeatures": 6,
"smwgResultFormats": {
"table": "SMW\\Query\\ResultPrinters\\TableResultPrinter",
"broadtable": "SMW\\Query\\ResultPrinters\\TableResultPrinter",
"list": "SMW\\Query\\ResultPrinters\\ListResultPrinter",
"plainlist": "SMW\\Query\\ResultPrinters\\ListResultPrinter",
"ol": "SMW\\Query\\ResultPrinters\\ListResultPrinter",
"ul": "SMW\\Query\\ResultPrinters\\ListResultPrinter",
"category": "SMW\\Query\\ResultPrinters\\CategoryResultPrinter",
"embedded": "SMW\\Query\\ResultPrinters\\EmbeddedResultPrinter",
"template": "SMW\\Query\\ResultPrinters\\ListResultPrinter",
"count": "SMW\\Query\\ResultPrinters\\NullResultPrinter",
"debug": "SMW\\Query\\ResultPrinters\\NullResultPrinter",
"feed": "SMW\\Query\\ResultPrinters\\FeedExportPrinter",
"csv": "SMW\\Query\\ResultPrinters\\CsvFileExportPrinter",
"templatefile": "SMW\\Query\\ResultPrinters\\TemplateFileExportPrinter",
"dsv": "SMW\\Query\\ResultPrinters\\DsvResultPrinter",
"json": "SMW\\Query\\ResultPrinters\\JsonResultPrinter",
"rdf": "SMW\\Query\\ResultPrinters\\RdfResultPrinter"
},
"smwgResultFormatsFeatures": 2,
"smwgResultAliases": {
"feed": [
"rss"
],
"templatefile": [
"template file"
],
"plainlist": [
"plain"
]
},
"smwgPDefaultType": "_wpg",
"smwgAllowRecursiveExport": false,
"smwgExportBacklinks": true,
"smwgExportResourcesAsIri": true,
"smwgExportBCNonCanonicalFormUse": false,
"smwgExportBCAuxiliaryUse": false,
"smwgMaxNonExpNumber": 1000000000000000,
"smwgEnableUpdateJobs": true,
"smwgNamespacesWithSemanticLinks": {
"0": true,
"1": false,
"2": true,
"3": false,
"4": true,
"5": false,
"6": true,
"7": false,
"8": false,
"9": false,
"10": false,
"11": false,
"12": true,
"13": false,
"14": true,
"15": false,
"102": true,
"103": false,
"108": true,
"109": false,
"112": true,
"113": false,
"202": true,
"204": true,
"206": true,
"208": true,
"210": true,
"212": true,
"274": true
},
"smwgPageSpecialProperties": [
"_MDAT",
"_ATTCH_LINK",
"_CDAT",
"_DTITLE",
"_NEWP",
"_LEDT",
"_MEDIA",
"_MIME"
],
"smwgChangePropagationWatchlist": [
"_PVAL",
"_LIST",
"_PVAP",
"_PVUC",
"_PDESC",
"_PPLB",
"_PREC",
"_PDESC",
"_SUBP",
"_SUBC",
"_PVALI"
],
"smwgDataTypePropertyExemptionList": [
"Record",
"Reference",
"Keyword"
],
"smwgDefaultOutputFormatters": [ ],
"smwgTranslate": false,
"smwgAutoRefreshSubject": true,
"smwgAdminFeatures": 62,
"smwgAutoRefreshOnPurge": true,
"smwgAutoRefreshOnPageMove": true,
"smwgContLang": { },
"smwgMaxPropertyValues": 3,
"smwgNamespace": "https://www.semantic-mediawiki.org/id/",
"smwgMasterStore": "",
"smwgIQRunningNumber": 0,
"smwgCacheUsage": {
"special.wantedproperties": 3600,
"special.unusedproperties": 3600,
"special.properties": 3600,
"special.statistics": 3600,
"table.statistics": 3600,
"api.browse": 3600,
"api.browse.pvalue": 3600,
"api.browse.psubject": 3600,
"api.task": 3600,
"api.table.statistics": 3600
},
"smwgMainCacheType": "redis",
"smwgFixedProperties": [ ],
"smwgPropertyLowUsageThreshold": 3,
"smwgPropertyZeroCountDisplay": false,
"smwgQueryProfiler": 6,
"smwgEnabledSpecialPage": [
"Ask",
"RunQuery"
],
"smwgFallbackSearchType": null,
"smwgEnabledEditPageHelp": true,
"smwgEnabledDeferredUpdate": true,
"smwgEnabledQueryDependencyLinksStore": true,
"smwgQueryDependencyPropertyExemptionList": [
"_MDAT",
"_SOBJ",
"_ASKDU",
"_ASKDE",
"_ASKSI",
"_ASKFO",
"_ASKST"
],
"smwgParserFeatures": 58,
"smwgDVFeatures": 1974,
"smwgEnabledFulltextSearch": true,
"smwgFulltextDeferredUpdate": true,
"smwgFulltextSearchTableOptions": {
"mysql": [
"ENGINE=MyISAM, DEFAULT CHARSET=utf8"
],
"sqlite": [
"FTS4"
]
},
"smwgFulltextSearchPropertyExemptionList": [
"_ASKFO",
"_ASKST",
"_ASKPA",
"_IMPO",
"_LCODE",
"_UNIT",
"_CONV",
"_TYPE",
"_ERRT",
"_INST",
"_ASK",
"_SOBJ",
"_PVAL",
"_PVALI",
"_REDI",
"_CHGPRO"
],
"smwgFulltextSearchMinTokenSize": 3,
"smwgFulltextLanguageDetection": [ ],
"smwgFulltextSearchIndexableDataTypes": 6,
"smwgQueryResultCacheType": -1,
"smwgQueryResultCacheLifetime": 604800,
"smwgQueryResultNonEmbeddedCacheLifetime": 600,
"smwgQueryResultCacheRefreshOnPurge": true,
"smwgEditProtectionRight": "smw-pageedit",
"smwgCreateProtectionRight": false,
"smwgSimilarityLookupExemptionProperty": "owl:differentFrom",
"smwgPropertyInvalidCharacterList": [
"[",
"]",
"|",
"<",
">",
"{",
"}",
"+",
"–",
"%",
"\r",
"\n",
"?",
"*",
"!"
],
"smwgPropertyRetiredList": [
"_SF_",
"_SD_"
],
"smwgPropertyReservedNameList": [
"Category",
"smw-property-reserved-category"
],
"smwgEntityCollation": "identity",
"smwgExperimentalFeatures": 6,
"smwgFieldTypeFeatures": false,
"smwgChangePropagationProtection": true,
"smwgUseComparableContentHash": true,
"smwgBrowseFeatures": 90,
"smwgCategoryFeatures": 14,
"smwgURITypeSchemeList": [
"http",
"https",
"mailto",
"tel",
"ftp",
"sftp",
"news",
"file",
"urn",
"telnet",
"ldap",
"gopher",
"ssh",
"git",
"irc",
"ircs"
],
"smwgSchemaTypes": {
"LINK_FORMAT_SCHEMA": {
"group": "schema/group/format",
"validation_schema": "../SemanticMediaWiki/data/schema/link-format-schema.v1.json",
"type_description": "smw-schema-description-link-format-schema"
},
"SEARCH_FORM_SCHEMA": {
"group": "schema/group/searchform",
"validation_schema": "../SemanticMediaWiki/data/schema/search-form-schema.v1.json",
"type_description": "smw-schema-description-search-form-schema"
},
"PROPERTY_GROUP_SCHEMA": {
"group": "schema/group/property",
"validation_schema": "../SemanticMediaWiki/data/schema/property-group-schema.v1.json",
"type_description": "smw-schema-description-property-group-schema"
},
"PROPERTY_CONSTRAINT_SCHEMA": {
"group": "schema/group/constraint",
"validation_schema": "../SemanticMediaWiki/data/schema/property-constraint-schema.v1.json",
"type_description": "smw-schema-description-property-constraint-schema",
"change_propagation": [
"_CONSTRAINT_SCHEMA"
],
"usage_lookup": "_CONSTRAINT_SCHEMA"
},
"CLASS_CONSTRAINT_SCHEMA": {
"group": "schema/group/constraint",
"validation_schema": "../SemanticMediaWiki/data/schema/class-constraint-schema.v1.json",
"type_description": "smw-schema-description-class-constraint-schema",
"change_propagation": [
"_CONSTRAINT_SCHEMA"
],
"usage_lookup": "_CONSTRAINT_SCHEMA"
},
"PROPERTY_PROFILE_SCHEMA": {
"group": "schema/group/profile",
"validation_schema": "../SemanticMediaWiki/data/schema/property-profile-schema.v1.json",
"type_description": "smw-schema-description-property-profile-schema",
"change_propagation": "_PROFILE_SCHEMA",
"usage_lookup": "_PROFILE_SCHEMA"
}
},
"smwgElasticsearchConfig": {
"index_def": {
"data": "../SemanticMediaWiki/data/elastic/smw-data-standard.json",
"lookup": "../SemanticMediaWiki/data/elastic/smw-lookup.json"
},
"connection": {
"quick_ping": true,
"retries": 2,
"timeout": 30,
"connect_timeout": 30
},
"settings": {
"data": {
"index.mapping.total_fields.limit": 9000,
"index.max_result_window": 50000
}
},
"indexer": {
"raw.text": false,
"experimental.file.ingest": false,
"throw.exception.on.illegal.argument.error": true,
"job.recovery.retries": 5,
"job.file.ingest.retries": 3,
"monitor.entity.replication": true,
"monitor.entity.replication.cache_lifetime": 3660
},
"query": {
"fallback.no.connection": false,
"profiling": false,
"debug.explain": true,
"debug.description.log": true,
"maximum.value.length": 500,
"must_not.property.exists": true,
"sort.property.must.exists": true,
"score.sortfield": "es.score",
"query_string.boolean.operators": true,
"compat.mode": true,
"subquery.size": 10000,
"subquery.constant.score": true,
"subquery.terms.lookup.result.size.index.write.threshold": 200,
"subquery.terms.lookup.cache.lifetime": 3600,
"concept.terms.lookup": true,
"concept.terms.lookup.result.size.index.write.threshold": 10,
"concept.terms.lookup.cache.lifetime": 3600,
"cjk.best.effort.proximity.match": true,
"wide.proximity.as.match_phrase": true,
"wide.proximity.fields": [
"subject.title^8",
"text_copy^5",
"text_raw",
"attachment.title^3",
"attachment.content"
],
"uri.field.case.insensitive": false,
"text.field.case.insensitive.eq.match": false,
"page.field.case.insensitive.proximity.match": true,
"highlight.fragment": {
"number": 1,
"size": 250,
"type": false
}
}
},
"smwgElasticsearchProfile": false,
"smwgElasticsearchEndpoints": [ ],
"smwgPostEditUpdate": {
"check-query": false,
"run-jobs": {
"smw.fulltextSearchTableUpdate": 1
},
"purge-page": {
"on-outdated-query-dependency": true
}
},
"smwgSpecialAskFormSubmitMethod": "post",
"smwgSupportSectionTag": true,
"smwgMandatorySubpropertyParentTypeInheritance": false,
"smwgCheckForRemnantEntities": "purge",
"smwgCheckForConstraintErrors": "check/all",
"smwgPlainList": false
}
See also[edit]
- Help page on configuration parameters