Semantic MediaWiki settings

From semanticweb.org

Jump to: navigation, search
Setting name Setting description Notes
$smwgAllowRecursiveExport Whether normal users can request recursive export. true to enable or false to disable.
$smwgExportBacklinks Whether backlinks should be included by default. true to enable or false to disable.
$smwgInlineErrors Whether or not warnings should be displayed in wikitexts right after problematic input. true to display or false to disable.
$smwgOWLFullExport Decides, if the RDF export will export, by default, OWL Full or rather nice OWL DL. Can be overriden in the RDF export class. true to enable or false to disable.
$smwgNamespace The namespace of exported URIs. Will be set automatically if nothing is given, but in order to make pretty URIs you will need to set this to something nice and adapt your Apache configuration appropriately. See the documentation on Help:Cool URIs
$smwgNamespacesWithSemanticLinks An array containing the namespaces where semantic links and evaluations will be evaluated set to true and the namespaces where they are to be ignored set to false.
$smwgPropertyPagingLimit Number of result listings shown on property pages. Integer.
$smwgQDefaultNamespaces Which namespaces are included to deliver results in ask queries by default. Can be either an array of namespaces or NULL.

Example:

$smwgQDefaultNamespaces = array(NS_MAIN, NS_IMAGE, NS_USER, SMW_NS_PROPERTY);
This will also include User and Property pages in ask query results.
NULL will decrease the depth of queries and might also speed them up.
$smwgQEnabled Whether to allow query features. true to enable or false to disable.
$smwgQEqualitySupport Whether redirected pages are equivalent to what they redirect to. true to enable or false to disable. Turning this off will significantly increase the speed of searches using subqueries.
$smwgQDefaultLimit Default number of rows returned in a query if <ask limit="num"> is not set. Integer.
$smwgQDefaultLinking Default linking behaviour. Can be one of "none", "subject", "all".
$smwgQDisjunctionSupport Whether or not to support disjunctions (||) in searches. true to enable or false to disable.
$smwgQMaxDepth Maximal property depth of queries, e.g. [[rel::<q>[[rel2::Test]]</q>]] has depth 2. Integer.
$smwgQMaxInlineLimit Max number of rows ever printed in a single inline query on a single page. Integer.
$smwgQMaxLimit Max number of results ever retrieved, even when using special query pages. Integer.
$smwgQMaxSize Maximal number of conditions in queries, use format="debug" for example sizes. Integer.
$smwgQPrintoutLimit Max number of supported printouts (added columns in result table, * statements). Integer.
$smwgQSortingSupport Whether or not to activate sorting for results. true to enable or false to disable.
$smwgQSubcategoryDepth Restrict level of sub-property inclusion (steps within property hierarchy). Integer, with a value of 0 disabling hierarchy inferencing.
$smwgShowFactbox Which pages contain a factbox on them. Possible values include SMW_FACTBOX_NONEMPTY, SMW_FACTBOX_SPECIAL, SMW_FACTBOX_HIDDEN, and SMW_FACTBOX_SHOWN.
$smwgShowFactboxEdit Like $smwgShowFactbox, but for edit mode.
$smwgTranslate When true, allows translation of all the labels within the browser given that they have interwiki links.
$smwgTypePagingLimit Number of result listings shown on type pages. Integer.
Personal tools