Help:Property page

From semantic-mediawiki.org
Property page
Information about a property and its characteristics
Collection
Keywords
Table of Contents

The property page contains the declaration of characteristics and constraints of a property and hereby its assigned values that need to adhere those restrictions to ensure a consistent behavior for those that use the same property instance.

Besides those declarative tasks, the property page can also show context information and it is recommended to pay attention to any warnings or errors to allow the system to work within the boundaries of the expected functionality.

Changing the characteristics of a property, such as the datatype etc. can be rather invasive and alters the behavior of the data stored. Moreover this triggers a lot of maintenance tasks which take some time to get done. Also note that the more a property is used the longer this will take. Therefore it is recommended to not allow editing property pages by inexperienced users, e.g. anonymous or occasional users to prevent unexpected, unnecessary and consequently unwanted changes from happening.

Context information[edit]

Additional information is provided to a user on a property page since Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. to clarify restrictions and constraints of that property in context of the specification made and may include:

  • A fixed property informs a user about necessary requirements and actions1 in case the datatype of the property is altered.
  • In case the property is edit protected2 then a warning message (yellow) is displayed on the property page informing accordingly.
  • Some property specifications require additional information with violations to them often being non-intuitive. Some codified requirements3 are made more visible to help users identifying them and includes:

Add individual messages[edit]

Introductory messages5 editable in the "MediaWiki" namespace that can be shown on each property page and is maintained with the help of:

The appearance of the info boxes may be adapted to the respective wikis style guideline via CSS by manipulating the class assigned to these respective system messages.

Lists[edit]

Subproperty[edit]

Redirects[edit]

Improper assignments[edit]

Entity and value assignments[edit]

Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. brought change to the display of pages and their annotated data values. In case the legacy display is desired just add the "legacy" class to "smw-property-page-results", i.e. "smw-property-page-results legacy".6

See also[edit]


References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2135
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2232
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2227
  4. ^  Semantic MediaWiki: GitHub pull request gh:smw:2281
  5. ^  Semantic MediaWiki: GitHub pull request gh:smw:2221
  6. ^  Semantic MediaWiki: GitHub pull request gh:smw:2785