$smwg­Schema­Types

From Linux Web Expert


Template:Interlanguagelink: en
Configuration parameter details:
Name $smwgSchemaTypes
Description Sets the mappings between a specific schema type, an accompanying schema group and a possible schema interpreter
Default setting [[Has default::[];]]
Software Semantic MediaWiki
Since version
Until version still available
Configuration Internal
Keyword schema · schema type


__NOBREADCRUMBLINKS__

$smwgSchemaTypes is an internal configuration parameter that is used to set the mappings between a specific schema type, an accompanying schema group together with a possible schema interpreter which validates the expected schema syntax. Each schema type will have its own interpretation about it's elements and how to define and enact requirements for them. The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki together with the LINK_FORMAT_SCHEMA schema and the SEARCH_FORM_SCHEMA schema.1

This configuration parameter was greatly extended with Semantic MediaWiki 3.1.0Released on an unknown date unknown versions of MediaWiki by introducing additional schema types namely the PROPERTY_GROUP_SCHEMA schema2, the PROPERTY_CONSTRAINT_SCHEMA schema3, the CLASS_CONSTRAINT_SCHEMA schema4 and the PROPERTY_PROFILE_SCHEMA schema5.

Starting with Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki this configuration parameter was deprecated6 in favor of the SMW::Schema::RegisterSchemaTypes hook7 allowing external users to define extra schema types (see the File:Octocat.pnghook's documentation and to not confuse it with a configuration parameter). The default schema types are now being mapped in the File:Octocat.png"SchemaTypes.php" file.

Note that this configuration parameter was originally introduced as $smwgRuleTypes8 but was renamed prior to the release of Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki.

Default setting

$smwgSchemaTypes = [];

This means that this configuration parameter is no longer used to map schema types.

Changing the default setting

This configuration parameter must not be modified manually by wiki system administrators or administrators.

Note

Starting with Semantic MediaWiki 3.2.0Released on an unknown date unknown versions of MediaWiki the schema types available for use on the wiki will be shown on special page "SemanticMediaWiki"No description was provided. (Supplementary functions → Configuration settings → Schema types).9

See also

#scite could not render a citation text for reference "gh:smw:3019" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:3431" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:4591" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:4640" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:3431 
  2. ^ gh:smw:3749 
  3. ^ gh:smw:3746 
  4. ^ gh:smw:4033 
  5. ^ gh:smw:4227 
  6. ^ gh:smw:4640 
  7. ^ gh:smw:4591 
  8. ^ gh:smw:3019 
  9. ^ gh:smw:4645