$smwg­Ignore­Extension­Registration­Check

From Linux Web Expert

Revision as of 13:45, 16 May 2020 by >Kghbln (form)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgIgnoreExtensionRegistrationCheck
Description Sets whether users will be informed about the discrepancy of having Semantic MediaWiki installed but not enabled
Default setting false
This means that users will be informed that Semantic MediaWiki was not enabled
(Other) available settings
true

This means that users will not be informed that Semantic MediaWiki was not enabled

Software Semantic MediaWiki
Since version
Until version still available
Configuration Installation · Basic settings
Keyword installation · extension registration · enablesemantics


__NOBREADCRUMBLINKS__

File:Extension-is-not-loaded.png
Notification on special page "Version" about Semantic MediaWiki not being invoked

$smwgIgnoreExtensionRegistrationCheck is a configuration parameter that sets whether users will be informed on special page "Version" about the discrepancy of having Semantic MediaWiki installed but not enabled. This configuration parameter is especially interesting for administrators of wiki farms who do not automatically invoke Semantic MediaWiki by default. The configuration parameter was introduced in Semantic MediaWiki 3.1.0Released on an unknown date unknown versions of MediaWiki.1

Default setting

$smwgIgnoreExtensionRegistrationCheck = false;

This means that users will be informed on special page "Version" that Semantic MediaWiki was not enabled.

Changing the default setting

To modify the setting to this configuration parameter, add the following line to your "LocalSettings.php" file:

Disable notifications on special page "Version"
$smwgIgnoreExtensionRegistrationCheck = true;

This means that users will not be informed on special page "Version" that Semantic MediaWiki was not enabled.

You do not need to call enableSemantics() function.

See also

References

  1. ^ gh:smw:4170