|Configuration parameter details:|
|Description||Sets whether compact links to special query pages should be used|
|(Other) available settings||
|Until version||still available|
|Configuration||Basic settings · Installation|
|Keyword||special page · links|
$smwgCompactLinkSupport is a configuration parameter that sets whether compact links will be used to link to special pages special page "Browse"Shows all properties and their values annotated to a page, special page "Ask"Provides an interface that assists users with creating and executing semantic queries and special page "SearchByProperty"Allows to search the wiki by properties or property value combinations.1 The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x.. Originally enabled by default, this configuration parameter is disabled by default starting with Semantic MediaWiki 3.0.2Released on 11 April 2019 and compatible with MW 1.27.0 - 1.31.x..2
The mentioned special pages can contain arbitrary text elements and therefore become difficult to transfer when its length exceeds a certain character length. A compact link will thus be encoded and compressed to ensure that it can be handled more easily when referring to it as an URL representation.
$smwgCompactLinkSupport = false;
This means that compact links will not be used to link to query special pages.
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the
- Enable the usage of compact links
$smwgCompactLinkSupport = true;
This means that compact links will be used to link to query special pages.