Status: | effective |
Progress: | 100% |
Version: | 3.0.2+ |
$smwgCompactLinkSupport
Configuration parameter details: | |||
Name | $smwgCompactLinkSupport | ||
Description | Sets whether compact links to special query pages should be used | ||
Default setting | false | ||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Basic settings · Installation | ||
Keyword | special page · links |
__NOBREADCRUMBLINKS__
$smwgCompactLinkSupport
is a configuration parameter that sets whether compact links will be used to link to special pages special page "Browse"No description was provided., special page "Ask"Provides an interface that assists users with creating and executing semantic queries and special page "SearchByProperty"No description was provided..1 The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki. Originally enabled by default, this configuration parameter is disabled by default starting with Semantic MediaWiki 3.0.2Released on an unknown date unknown versions of MediaWiki.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.
Default setting
$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 enableSemantics()
call:
- Enable the usage of compact links
$smwgCompactLinkSupport = true;
This means that compact links will be used to link to query special pages.