$smwg­Ignore­Extension­Registration­Check

From semantic-mediawiki.org


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


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 23 September 2019 and compatible with MW 1.31.0 - 1.33.x..1

Default setting[edit]

$smwgIgnoreExtensionRegistrationCheck => false;

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

Changing the default setting[edit]

To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

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.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:4170