$smwg­Enabled­Compatibility­Mode

From Linux Web Expert

Revision as of 15:22, 17 November 2019 by >Kghbln (linkfix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgEnabledCompatibilityMode
Description Property "Has description" (as page type) with input value "Sets whether Semantic MediaWiki will be enabled together with extensions that may have an impact on performance when used together on the same wiki" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Default setting false
This means that Semantic MediaWiki will not be invoked
(Other) available settings
true

This means that Semantic MediaWiki will be invoked

Software Semantic MediaWiki
Since version
Until version
Configuration Installation · Basic settings
Keyword installation


__NOBREADCRUMBLINKS__

$smwgEnabledCompatibilityMode is a configuration parameter that sets whether Semantic MediaWiki will be enabled together with extensions that may have an impact on performance when used together on the same wiki.1 The extensions affected by this configuration parameter were extension "Cargo" (MediaWiki.org) and/or extension "Wikibase" (MediaWiki.org). The configuration parameter was introduced in Semantic MediaWiki 2.4.0Released on an unknown date unknown versions of MediaWiki and removed in Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki.

The rationale for this configuration parameter was to force Semantic MediaWiki to work together with other extensions that may impact performance in an unanticipated way. At that time where was no other possibility available to prevent Semantic MediaWiki from being invoked on a wiki. Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki which brought support for MediaWiki's extension registration mechanism obsoleted the need for this configuration parameter consequently resulting in its removal.2

Default setting

$smwgEnabledCompatibilityMode = false;

This means that Semantic MediaWiki will not be used when you also have extension "Cargo" (MediaWiki.org) and/or extension "Wikibase" (MediaWiki.org) installed and invoked.

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:

Force the usage of Semantic MediaWiki
$smwgEnabledCompatibilityMode = true;

This means that Semantic MediaWiki will be used when you also have extension "Cargo" (MediaWiki.org) and/or extension "Wikibase" (MediaWiki.org) installed and invoked.

See also

#scite could not render a citation text for reference "gh:smw:1398" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:4340" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:1398 
  2. ^ gh:smw:4340