$smwg­Compact­Link­Support

From Linux Web Expert


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgCompactLinkSupport
Description Sets whether compact links to special query pages should be used
Default setting false
(Other) available settings
true

Disables using compact links to special query pages

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.

If the plain link exceeds 255 characters the compact links feature will cease to work. In this case you are advised not to enable this feature using this configuration parameter.

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.

References

  1. ^ gh:smw:3017 
  2. ^ gh:smw:3856