Help:Property usage count

From semantic-mediawiki.org
(Redirected from Help:Property usage count)
Help:Property usage countProperty usage count/tr
User interface information
This page describes the "usage count" and "type" information shown on a property page.
Collection
Keywords

Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x. adds further information about the "usage count"1 and the "type"2 of the property to its individual property page. This feature makes use of the page status indicator feature which is available to MediaWiki skins starting with version 1.25.0. Note that not every skin is yet capable of making use of this feature.

In Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. the appearance of the indicators was slightly improved as well as harmonized with other skin elements3 such as the indicator showing the status of the edit protection.

Property usage count[edit]

The property usage count is displayed as an estimation from the data available at the time of the access of the property page. The respective timestamp is shown as a tooltip when hovering with the mouse over the "usage count" box.

To allow count statistics shown to use more recent data points, it is suggested to run maintenance script "rebuildPropertyStatistics.php"Allows to rebuild the property usage statistics on a regular basis because data statistics can vary due to several reasons, e.g. delayed update jobs, deferred deletion processes and so on.

Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. added an indicator4 for the usage level of the respective property marking a usage level of 5,000+ property value assignments as "moderate" (in dark orange / hex #aa4c2c) and a usage level of 25,000+ property value assignments as "high" (in dark red / hex #800000). Properties with a high usage may be considered for being changed to fixed properties.

The appearance of the info box may be adapted to the respective wikis style guideline via CSS by manipulating the smw-page-indicator usage-count class.

Property type[edit]

Next to the "usage count" on the right the type is shown for the property, i.e. "S" meaning system if the property is a special property or an "U" if it is an user-defined property or a fixed property. This information appears as a brief text which is shown when hovering with the mouse over the "property type" box.

The appearance of the info box may be adapted to the respective wikis style guideline via CSS by manipulating the smw-page-indicator property-type class.

See also[edit]


References

  1. ^  Semantic MediaWiki: GitHub issue gh:smw:1313
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:1436
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2247
  4. ^  Semantic MediaWiki: GitHub pull request gh:smw:1777