Help:Configuration

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 the file "DefaultSettings.php" (as of ).

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.

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

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

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

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.

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.

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.

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.

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.

Settings for full-text search
The following settings affect the full-text search.

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.

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