Con­figu­ration para­meter "$smwg­Historic­Type­Namespace"

From semantic-mediawiki.org
Configuration parameter details:
Name $smwgHistoricTypeNamespace
Description Sets whether the namespaces "Type" and "Type talk" can be accessed
Default setting
false
(Other) available settings
true

Allows to access the namespaces "Type" and "Type talk"

Software Semantic MediaWiki
Since version
Until version
Configuration Namespace · Miscellaneous
Keyword namespace · datatype

$smwgHistoricTypeNamespace is a configuration parameter that sets whether the namespaces "Type" (104) and "Type talk" (105) can be accessed that were replaced by special page "Types"Lists all available datatypes and thus obsoleted. The configuration parameter was introduced in Semantic MediaWiki 1.6.0Released on 30 July 2011 and compatible with MW 1.15.x - 1.18.x. and removed in Semantic MediaWiki 3.0.0Released on an unknown date and compatible with MW 1.27.0 - 1.30.x.1.

This configuration parameter was removed together with the two namespaces "Type" (104) and "Type talk" (105) in version Semantic MediaWiki 3.0.0Released on an unknown date and compatible with MW 1.27.0 - 1.30.x..21

Default setting

$smwgHistoricTypeNamespace = false;

This means the namespaces namespaces "Type" (104) and "Type talk" (105) are not registered and existing pages added to them in Semantic MediaWiki 1.5.6Released on 24 February 2011 and compatible with MW 1.14.x - 1.17.x. and earlier cannot be accessed in the wiki.

Changing the default setting

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

Make namespaces "Type" (104) and "Type talk" (105) accessible
$smwgHistoricTypeNamespace = true;

This means the namespaces namespaces "Type" (104) and "Type talk" (105) are registered and existing pages added to them in Semantic MediaWiki 1.5.6Released on 24 February 2011 and compatible with MW 1.14.x - 1.17.x. and earlier can be accessed in the wiki.

Only change the setting to this configuration parameter in order to move and migrate their content to other pages.

See also

References

  1. a b  Semantic MediaWiki: GitHub pull request gh:smw:3164
  2. ^  Semantic MediaWiki: GitHub issue gh:smw:399