Configuration

From Linux Web Expert

Template:Interlanguagelink: en

Configuration
Lists configuration parameters that site administrators may modify according to the particular needs of their wiki.
Table of Contents

Semantic MediaWiki offers a number of configuration parameters that site administrators may modify according to the particular needs of their wiki. This page explains all configuration parameters for Semantic MediaWiki. All available configuration parameters can also be found in file File:Octocat.pngDefaultSettings.php.

To change the setting of any configuration parameter, copy the respective assignment into your "LocalSettings.php" file, after including Semantic MediaWiki as described in installation. Do not change the "DefaultSettings.php" file directly, as your changes would be overwritten in software upgrades. See also the help page on function enableSemantics including configuration preloading.

See also this page for a unordered list of configuration parameters.

Installation settings

The following settings relate to the basic installation of Semantic MediaWiki.

Parameter Description Default Version
[[Help:$smwgAdminFeatures|$smwgAdminFeatures]] Sets which administrative features may be used via special page "SemanticMediaWiki" see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgAdminRefreshStore|$smwgAdminRefreshStore]] Sets whether it is possible to set up the database tables or to initiate the repairing or updating of all semantic data of wiki using the interface on special page "SemanticMediaWiki" True 1.3.0+
[[Help:$smwgConfigFileDir|$smwgConfigFileDir]] Sets the directory for storing the setup information file ensuring database consistency DIR 3.0.1+
[[Help:$smwgCreateProtectionRight|$smwgCreateProtectionRight]] see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgDVFeatures|$smwgDVFeatures]] Sets the available features regarding property data values see doc­u­men­ta­tion 2.4.0+
[[Help:$smwgDefaultNumRecurringEvents|$smwgDefaultNumRecurringEvents]] 100 1.4.3+
[[Help:$smwgDefaultStore|$smwgDefaultStore]] Sets the storage backend to be used for the semantic data SMW\SQLStore\SQLStore 0.7+
[[Help:$smwgEnabledEditPageHelp|$smwgEnabledEditPageHelp]] Sets whether helpful information is displayed when editing a page True 2.1.0+
[[Help:$smwgEnabledInTextAnnotationParserStrictMode|$smwgEnabledInTextAnnotationParserStrictMode]] Sets whether strictness should be enforced during the annotation parsing process True 2.3.1+
[[Help:$smwgEntityCollation|$smwgEntityCollation]] see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgFieldTypeFeatures|$smwgFieldTypeFeatures]] Sets relational database specific field type features False 3.0.0+
[[Help:$smwgFixedProperties|$smwgFixedProperties]] Sets user defined properties to have a dedicated database table for them see doc­u­men­ta­tion 1.9.0+
[[Help:$smwgImportFileDirs|$smwgImportFileDirs]] see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgImportReqVersion|$smwgImportReqVersion]] see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgLinksInValues|$smwgLinksInValues]] False 1.3.0+
[[Help:$smwgLocalConnectionConf|$smwgLocalConnectionConf]] Sets the database connection characteristics for providers used see doc­u­men­ta­tion 2.5.3+
[[Help:$smwgMaxNumRecurringEvents|$smwgMaxNumRecurringEvents]] Sets the maximum number of recurring events that can be defined regardless of a given end date 500 1.4.3+
[[Help:$smwgPageSpecialProperties|$smwgPageSpecialProperties]] Sets the page related special properties to be used see doc­u­men­ta­tion 1.7.0+
[[Help:$smwgQueryProfiler|$smwgQueryProfiler]] Sets whether specific monitorable profile data are recorded True 1.9.0+
[[Help:$smwgResultAliases|$smwgResultAliases]] see doc­u­men­ta­tion 1.8.0+
[[Help:$smwgShowHiddenCategories|$smwgShowHiddenCategories]] Sets whether to omit categories marked with the HIDDENCAT behaviour switch from the annotation process True 1.9.0+
[[Help:$smwgURITypeSchemeList|$smwgURITypeSchemeList]] Sets the permissive URI schemes for data values to properties of datatype URL and Annotation URI see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgCompactLinkSupport|$smwgCompactLinkSupport]] Sets whether compact links to special query pages should be used False 3.0.0+
[[Help:$smwgEnabledQueryDependencyLinksStore|$smwgEnabledQueryDependencyLinksStore]] Sets whether tracking and storing of dependencies of embedded queries may be used False 2.3.0+
[[Help:$smwgEnableUpdateJobs|$smwgEnableUpdateJobs]] Sets whether tasks are deferred until after a page was edited by using the job queue True 1.2.0+
[[Help:$smwgFallbackSearchType|$smwgFallbackSearchType]] Sets the search engine to fall back to in case SMWSearch is used as custom search engine but is unable to interpret the search term as an semantic query. Null 2.1.0+
[[Help:$smwgIgnoreExtensionRegistrationCheck|$smwgIgnoreExtensionRegistrationCheck]] Sets whether users will be informed about the discrepancy of having Semantic MediaWiki installed but not enabled False 3.1.0+
[[Help:$smwgIgnoreUpgradeKeyCheck|$smwgIgnoreUpgradeKeyCheck]] Allows to disable the upgrade key check False 4.1.3+
[[Help:$smwgNamespace|$smwgNamespace]] Sets the namespace of exported URIs see doc­u­men­ta­tion 1.0+
[[Help:$smwgNamespacesWithSemanticLinks|$smwgNamespacesWithSemanticLinks]] Defines for which namespaces the semantic links and annotations are to be evaluated see doc­u­men­ta­tion 0.7+
[[Help:$smwgNamespaceIndex|$smwgNamespaceIndex]] Sets the index of the first namespace to be used by Semantic MediaWiki 100 0.7+
[[Help:$smwgPlainList|$smwgPlainList]] Sets whether the list format should provide class attributes to HTML elements False 3.1.2+
[[Help:$smwgPropertyInvalidCharacterList|$smwgPropertyInvalidCharacterList]] Sets a list of invalid characters which are not allowed to be used for property naming see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgQueryDependencyPropertyExemptionList|$smwgQueryDependencyPropertyExemptionList]] Sets special properties that should be exempted from embedded queries updates see doc­u­men­ta­tion 2.3.0+

Cache settings

The following settings are relevant for the caching behaviour of Semantic MediaWiki, such as special pages, factboxes etc.

Parameter Description Default Version
[[Help:$smwgAutoRefreshOnPurge|$smwgAutoRefreshOnPurge]] Sets whether semantic data are refreshed in the store when a page is manually purged True 1.9.0+
[[Help:$smwgCacheType|$smwgCacheType]] Sets which object cache Semantic MediaWiki should use to track temporary changes CACHE ANYTHING 1.9.0+
[[Help:$smwgCacheUsage|$smwgCacheUsage]] Sets how the caching behaviour or special pages related to Semantic MediaWiki is controlled see doc­u­men­ta­tion 1.9.0+
[[Help:$smwgMainCacheType|$smwgMainCacheType]] Sets which object cache Semantic MediaWiki should use to track temporary changes CACHE ANYTHING 2.3.0+
[[Help:$smwgQueryResultCacheLifetime|$smwgQueryResultCacheLifetime]] Sets the cache lifetime of embedded queries and their results fetched from the query engine 60 * 60 * 24 * 7 2.5.0+
[[Help:$smwgQueryResultCacheRefreshOnPurge|$smwgQueryResultCacheRefreshOnPurge]] Sets whether it is possible to manually refresh the query cache by doing a "purge" action True 2.5.0+
[[Help:$smwgQueryResultCacheType|$smwgQueryResultCacheType]] Sets whether the query result cache may be used CACHE NONE 2.5.0+
[[Help:$smwgFactboxCacheRefreshOnPurge|$smwgFactboxCacheRefreshOnPurge]] Sets whether or not a cached factbox should be invalidated on an "action=purge" event. True 1.9.0+
[[Help:$smwgFactboxUseCache|$smwgFactboxUseCache]] Sets whether or not a factbox content should be stored in cache. True 1.9.0+
[[Help:$smwgQueryResultNonEmbeddedCacheLifetime|$smwgQueryResultNonEmbeddedCacheLifetime]] Sets the cache lifetime of non-embedded queries and their results fetched from the query engine 60 * 10 2.5.0+

Interface settings

The following settings are relevant for the general appearance of various wiki pages in Semantic MediaWiki, as well as for browsing interfaces such as Special:Browse.

Parameter Description Default Version
[[Help:$smwgBrowseByApi|$smwgBrowseByApi]] True 2.5.0+
[[Help:$smwgBrowseFeatures|$smwgBrowseFeatures]] see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgBrowseShowAll|$smwgBrowseShowAll]] True 1.3.0+
[[Help:$smwgBrowseShowInverse|$smwgBrowseShowInverse]] False 1.3.0+
[[Help:$smwgInlineErrors|$smwgInlineErrors]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgPagingLimit|$smwgPagingLimit]] Sets the number of results shown in the listings on pages in the namespace "Property", "Concept" as well as on the special pages "Special:Types" and "Special:ProcessingErrorList" see doc­u­men­ta­tion 3.0+
[[Help:$smwgParserFeatures|$smwgParserFeatures]] Sets the behaviour of features related to text and annotation parsing see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgRedirectPropertyListLimit|$smwgRedirectPropertyListLimit]] Sets the number of redirect results (synonyms) shown in the listings in the "Synonyms" section on pages in namespace "Property" 25 2.5.0+
[[Help:$smwgSearchByPropertyFuzzy|$smwgSearchByPropertyFuzzy]] see doc­u­men­ta­tion 1.1.0+
[[Help:$smwgShowFactbox|$smwgShowFactbox]] Sets in which cases the factbox should be shown below a page see doc­u­men­ta­tion 0.7+
[[Help:$smwgShowFactboxEdit|$smwgShowFactboxEdit]] Sets in which cases the factbox should be shown when editing a page see doc­u­men­ta­tion 1.0+
[[Help:$smwgSubPropertyListLimit|$smwgSubPropertyListLimit]] Sets the number of subproperties shown in the listings in the "Subproperties" section on pages in namespace "Property" 25 2.5.0+
[[Help:$smwgToolboxBrowseLink|$smwgToolboxBrowseLink]] see doc­u­men­ta­tion 1.3.0+
[[Help:$smwgFactboxFeatures|$smwgFactboxFeatures]] Sets the behaviour of features related to the factbox see doc­u­men­ta­tion 3.0.0+
Parameter Description
$smwgMaxNonExpNumber The maximal number that SMW will normally display without using scientific exp notation. The default is rather large since some users have problems understanding exponents. Scientific applications may prefer a smaller value for concise display.

Default: 1000000000000000

Query settings

Settings for inline queries and for semantic queries in general. This can especially be used to prevent overly high server-load by complex queries. The following settings affect all queries, wherever they occur.

Parameter Description Default Version
[[Help:$maxRecursionDepth|$maxRecursionDepth]] Sets the recursion depth for a template output 2 1.4.0+
[[Help:$smwgCategoriesAsInstances|$smwgCategoriesAsInstances]] Sets whether a category statement should be treated as an element of the category True 1.5.0+
[[Help:$smwgCategoryFeatures|$smwgCategoryFeatures]] Sets the behaviour of the query features related to category handling see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgQFilterDuplicates|$smwgQFilterDuplicates]] Sets whether duplicate query conditions should be removed from computing query results False 2.5.0+
[[Help:$smwgQMaxDepth|$smwgQMaxDepth]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgQMaxInlineLimit|$smwgQMaxInlineLimit]] Sets the maximal number of rows ever printed by queries 500 1.0+
[[Help:$smwgQMaxLimit|$smwgQMaxLimit]] Sets the maximal number of results ever retrieved by queries 10000 1.0+
[[Help:$smwgQMaxSize|$smwgQMaxSize]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgQRandSortingSupport|$smwgQRandSortingSupport]] True 1.0+
[[Help:$smwgQSortingSupport|$smwgQSortingSupport]] True 1.0+
[[Help:$smwgQStrictComparators|$smwgQStrictComparators]] False 1.5.3+
[[Help:$smwgQSubcategoryDepth|$smwgQSubcategoryDepth]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgQuerySources|$smwgQuerySources]] see doc­u­men­ta­tion 1.8.0+
[[Help:$smwgUseCategoryHierarchy|$smwgUseCategoryHierarchy]] see doc­u­men­ta­tion 1.5.0+
[[Help:$smwgEnabledQueryDependencyLinksStore|$smwgEnabledQueryDependencyLinksStore]] Sets whether tracking and storing of dependencies of embedded queries may be used False 2.3.0+
[[Help:$smwgQSortFeatures|$smwgQSortFeatures]] see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgQUpperbound|$smwgQUpperbound]] Sets the upper bound of the offset used for the maximal number of rows ever printed in an embedded query 5000 2.1.0+
[[Help:$smwgRemoteReqFeatures|$smwgRemoteReqFeatures]] see doc­u­men­ta­tion 3.0.0+
Parameter Description
$smwgQDefaultNamespaces Which namespaces should be searched by default? A value of NULL switches off default restrictions on searching, which is faster. An example value with namespaces would be [ NS_MAIN, NS_FILE ].

Default: NULL

$smwgIgnoreQueryErrors Should queries be executed even if some errors were detected? A hint that points out errors is shown in any case.

Default: true

Settings for inline queries

The following settings affect inline queries and querying special pages, in particular Special:Ask. Essentially they should mirror the kind of queries that should immediately be answered by the wiki, using whatever computations are needed.

Parameter Description Default Version
[[Help:$maxRecursionDepth|$maxRecursionDepth]] Sets the recursion depth for a template output 2 1.4.0+
[[Help:$smwgQFilterDuplicates|$smwgQFilterDuplicates]] Sets whether duplicate query conditions should be removed from computing query results False 2.5.0+
[[Help:$smwgQMaxDepth|$smwgQMaxDepth]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgQMaxInlineLimit|$smwgQMaxInlineLimit]] Sets the maximal number of rows ever printed by queries 500 1.0+
[[Help:$smwgQMaxSize|$smwgQMaxSize]] see doc­u­men­ta­tion 1.0+
[[Help:$smwgQUpperbound|$smwgQUpperbound]] Sets the upper bound of the offset used for the maximal number of rows ever printed in an embedded query 5000 2.1.0+

Settings for Special:Ask

The following settings affect querying special pages, in particular Special:Ask. The settings for inline queries mentioned above also affect queries on special pages.

Parameter Description Default Version
[[Help:$smwgSpecialAskFormSubmitMethod|$smwgSpecialAskFormSubmitMethod]] see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgResultFormatsFeatures|$smwgResultFormatsFeatures]] Sets whether features for some result formats should be extended see doc­u­men­ta­tion 2.5.0+

Settings for concept queries

Further settings for queries. The following settings affect queries that are part of concept pages. These are usually chosen to be less restricted than inline queries, since there are two other means for controlling their use:

  1. Concept queries that would not be allowed as normal queries will not be executed directly, but can use pre-computed results instead. This is the default. See Concept caching for details on how to exploit this.
  2. The whole Concept: namespace can be restricted (using some suitable MediaWiki extension) to an experienced user group that may create more complex queries resonably. Other users can employ thus defined concepts in their queries.
Parameter Description
$smwgQConceptCaching Which concepts should be displayed only if available from cache? Possible values are:
  • CONCEPT_CACHE_ALL show concept elements anywhere only if they are cached,
  • CONCEPT_CACHE_HARD show without cache if concept is not harder than permitted inline queries, or
  • CONCEPT_CACHE_NONE show all concepts even without any cache.

In any case, caches will always be used if available (but see $smwgQConceptCacheLifetime).

Default: CONCEPT_CACHE_HARD

$smwgQConceptMaxSize Same as $smwgQMaxSize but for concepts.

Default: 20

$smwgQConceptMaxDepth Same as $smwgQMaxDepth but for concepts.

Default: 8

$smwgQConceptFeatures Same as $smwgQFeatures but for concepts. Note that using concepts in concepts is currently not supported – do not enable it!

Default: SMW_PROPERTY_QUERY | SMW_CATEGORY_QUERY | SMW_NAMESPACE_QUERY | SMW_CONJUNCTION_QUERY | SMW_DISJUNCTION_QUERY

$smwgQConceptCacheLifetime This setting defines the cache life time in minutes. If a concept cache exists but is older than this, SMW tries to recompute it, and will only use the cache if this is not allowed due to settings above.

Default: 24 * 60 (= 1 day)

Settings for full-text search

The following settings affect the full-text search.

Parameter Description Default Version
[[Help:$smwgEnabledFulltextSearch|$smwgEnabledFulltextSearch]] Sets whether full-text search support for properties may be used False 2.5.0+
[[Help:$smwgFulltextDeferredUpdate|$smwgFulltextDeferredUpdate]] Sets the number of expected full-text search index updates True 2.5.0+
[[Help:$smwgFulltextLanguageDetection|$smwgFulltextLanguageDetection]] Sets which languages to detect for the full-text search from an indexable text see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchIndexableDataTypes|$smwgFulltextSearchIndexableDataTypes]] Sets which datatypes are allowed to be indexed using the full-text search see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchMinTokenSize|$smwgFulltextSearchMinTokenSize]] Sets the minimum word/token length to help to decide whether MATCH or LIKE operators are to be used for a condition statement 3 2.5.0+
[[Help:$smwgFulltextSearchPropertyExemptionList|$smwgFulltextSearchPropertyExemptionList]] Sets the property keys for which value assignments are being exempted from the full-text indexing see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchTableOptions|$smwgFulltextSearchTableOptions]] Sets the full-text search table options to use during installation or update see doc­u­men­ta­tion 2.5.0+

Settings for query formatting/display

Parameter Description
$smwgQDefaultLinking Which result columns in an inline query should be linked if not specified otherwise. Possible values are 'none', 'subject' (links only in first column), 'all'.

Default: 50

smwgResultFormats This setting contains an array of all query result formats that the wiki supports. It is normally extended automatically by extensions that supply additional formats. However, it is also possible to set this array manually, e.g. to disable some formats. To disable a format, do unset($smwgResultFormats['template']); Disabled formats will be treated like if the format parameter had been omitted. The formats 'table' and 'list' are defaults that cannot be disabled. The format 'broadtable' should not be disabled either in order not to break Special:Ask.

Default:

[
	'table' => 'SMWTableResultPrinter',
	'list' => 'SMWListResultPrinter',
	'ol' => 'SMWListResultPrinter',
	'ul' => 'SMWListResultPrinter',
	'broadtable' => 'SMWTableResultPrinter',
	'category' => 'SMWCategoryResultPrinter',
	'embedded' => 'SMWEmbeddedResultPrinter',
	'template' => 'SMWListResultPrinter',
	'count' => 'SMWListResultPrinter',
	'debug' => 'SMWListResultPrinter',
	'rss' => 'SMWRSSResultPrinter',
	'csv' => 'SMWCsvResultPrinter',
	'dsv' => 'SMWDSVResultPrinter',
	'json' => 'SMWJSONResultPrinter',
	'rdf' => 'SMWRDFResultPrinter'
];

Export settings

Parameter Description Default Version
[[Help:$smwgExportResourcesAsIri|$smwgExportResourcesAsIri]] Sets whether resources should be exported as IRIs (Internationalized Resource Identifiers) True 2.5.0+
[[Help:$smwgNamespace|$smwgNamespace]] Sets the namespace of exported URIs see doc­u­men­ta­tion 1.0+
Parameter Description
$smwgAllowRecursiveExport Can normal users request recursive export, i.e. an OWL/RDF export that includes a full export of all mentioned pages, and of all pages they mention, and so on. Recommended only for very small wikis.

Default: false

$smwgExportBacklinks Should incoming properties be part of OWL/RDF export?

Default: true

Other settings

The following settings usually need no modification.

SPARQL and RDF store stettings

See also the help page on configuring Semantic MediaWiki for use with SPARQL and RDF stores.

Parameter Description Default Version
[[Help:$smwgDefaultStore|$smwgDefaultStore]] Sets the storage backend to be used for the semantic data SMW\SQLStore\SQLStore 0.7+
[[Help:$smwgExportResourcesAsIri|$smwgExportResourcesAsIri]] Sets whether resources should be exported as IRIs (Internationalized Resource Identifiers) True 2.5.0+
[[Help:$smwgSparqlCustomConnector|$smwgSparqlCustomConnector]] Defines the SPARQL custom database connectors Custom 1.6.0+
[[Help:$smwgSparqlDataEndpoint|$smwgSparqlDataEndpoint]] Sets the endpoint for data on the SPARQL database Http://localhost:8080/data/ 1.6.0+
[[Help:$smwgSparqlDefaultGraph|$smwgSparqlDefaultGraph]] Sets the identifier (graph) of the SPARQL database 1.7.0+
[[Help:$smwgSparqlQFeatures|$smwgSparqlQFeatures]] Sets the SPARQL query features that are expected to be supported by the repository of the identifier (graph) of the SPARQL database see doc­u­men­ta­tion 2.3.0+
[[Help:$smwgSparqlQueryEndpoint|$smwgSparqlQueryEndpoint]] Sets the endpoint for querying the SPARQL database Http://localhost:8080/sparql/ 1.6.0+
[[Help:$smwgSparqlReplicationPropertyExemptionList|$smwgSparqlReplicationPropertyExemptionList]] see doc­u­men­ta­tion +
[[Help:$smwgSparqlRepositoryConnector|$smwgSparqlRepositoryConnector]] Identifies a database connector that ought to be used together with the semantic data store. Default 2.0.0+
[[Help:$smwgSparqlUpdateEndpoint|$smwgSparqlUpdateEndpoint]] Sets the endpoint for updating the SPARQL database Http://localhost:8080/update/ 1.6.0+
[[Help:$smwgSparqlRepositoryConnectorForcedHttpVersion|$smwgSparqlRepositoryConnectorForcedHttpVersion]] False 2.3.1+

Miscellaneous settings

Parameter Description Default Version
[[Help:$smwgChangePropagationProtection|$smwgChangePropagationProtection]] Sets whether property pages are protected from editing while a property change propagation is being processed True 3.0.0+
[[Help:$smwgChangePropagationWatchlist|$smwgChangePropagationWatchlist]] Sets the properties that are relevant for property change propagation see doc­u­men­ta­tion 1.5.0+
[[Help:$smwgDataTypePropertyExemptionList|$smwgDataTypePropertyExemptionList]] Sets which datatypes are exempted from the property registration process see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgExperimentalFeatures|$smwgExperimentalFeatures]] Sets experimental features see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgExtraneousLanguageFileDir|$smwgExtraneousLanguageFileDir]] DIR . '/i18n/extra'; 2.5.0+
[[Help:$smwgPropertyReservedNameList|$smwgPropertyReservedNameList]] Sets which names are reserved from usage as property names see doc­u­men­ta­tion 3.0.0+
[[Help:$smwgQTemporaryTablesAutoCommitMode|$smwgQTemporaryTablesAutoCommitMode]] Sets whether certain types of database transactions may be performed that cannot be safely logged using global transaction identifiers (GTIDs) False 2.5.0+
[[Help:$smwgServicesFileDir|$smwgServicesFileDir]] DIR . '/src/Services'; 2.5.0+
[[Help:$smwgCheckForConstraintErrors|$smwgCheckForConstraintErrors]] Sets whether constraint violations are shown to the user via a page indicator see doc­u­men­ta­tion 3.1.0+
[[Help:$smwgMandatorySubpropertyParentTypeInheritance|$smwgMandatorySubpropertyParentTypeInheritance]] False 3.1.0+
[[Help:$smwgPDefaultType|$smwgPDefaultType]] Sets the default datatype for a property if it was not defined manually Wpg 1.1.2+
[[Help:$smwgTranslate|$smwgTranslate]] False 0.7+

Experimental settings

The following configuration parameters enable or control the behaviour of experimental features.

Parameter Description Default Version
[[Help:$smwgEnabledFulltextSearch|$smwgEnabledFulltextSearch]] Sets whether full-text search support for properties may be used False 2.5.0+
[[Help:$smwgFieldTypeFeatures|$smwgFieldTypeFeatures]] Sets relational database specific field type features False 3.0.0+
[[Help:$smwgFulltextDeferredUpdate|$smwgFulltextDeferredUpdate]] Sets the number of expected full-text search index updates True 2.5.0+
[[Help:$smwgFulltextLanguageDetection|$smwgFulltextLanguageDetection]] Sets which languages to detect for the full-text search from an indexable text see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchIndexableDataTypes|$smwgFulltextSearchIndexableDataTypes]] Sets which datatypes are allowed to be indexed using the full-text search see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchMinTokenSize|$smwgFulltextSearchMinTokenSize]] Sets the minimum word/token length to help to decide whether MATCH or LIKE operators are to be used for a condition statement 3 2.5.0+
[[Help:$smwgFulltextSearchPropertyExemptionList|$smwgFulltextSearchPropertyExemptionList]] Sets the property keys for which value assignments are being exempted from the full-text indexing see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgFulltextSearchTableOptions|$smwgFulltextSearchTableOptions]] Sets the full-text search table options to use during installation or update see doc­u­men­ta­tion 2.5.0+
[[Help:$smwgQFilterDuplicates|$smwgQFilterDuplicates]] Sets whether duplicate query conditions should be removed from computing query results False 2.5.0+
[[Help:$smwgQueryResultCacheLifetime|$smwgQueryResultCacheLifetime]] Sets the cache lifetime of embedded queries and their results fetched from the query engine 60 * 60 * 24 * 7 2.5.0+
[[Help:$smwgQueryResultCacheType|$smwgQueryResultCacheType]] Sets whether the query result cache may be used CACHE NONE 2.5.0+
[[Help:$smwgEnabledQueryDependencyLinksStore|$smwgEnabledQueryDependencyLinksStore]] Sets whether tracking and storing of dependencies of embedded queries may be used False 2.3.0+
[[Help:$smwgQueryDependencyPropertyExemptionList|$smwgQueryDependencyPropertyExemptionList]] Sets special properties that should be exempted from embedded queries updates see doc­u­men­ta­tion 2.3.0+