Help:Display title
The display (output) characteristics of a page's title can be altered through various means in MediaWiki including:
- Add
{{DISPLAYTITLE:Bar}}
to page Foo to displayBar
instead of the "real" titleFoo
- Employ a template to alter the output as part of a query request
Using the {{DISPLAYTITLE}}
magic word on a page shows the intention to alter its display characteristics which by default (as of Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x.1) is transferred and interpreted as preferred caption for those entities that make use of it.
A page that contains a annotation using the {{DISPLAYTITLE}}
magic word will automatically set special property "Display title of"Holds a specific denote title for an entity and indicates to all Semantic MediaWiki processes (special page "Browse"Shows all properties and their values annotated to a page, query results etc.) to prefer it over the real title (it also includes setting the {{DEFAULTSORTKEY}}
magic word, if no other key is defined).
Configuration parameters[edit]
- Manual page on configuration parameter "
$wgAllowDisplayTitle
" - Allows use of{{DISPLAYTITLE}}
magic word. - Manual page on configuration parameter "
$wgRestrictDisplayTitle
" - Allows to restrict{{DISPLAYTITLE}}
to titles that normalize to the same canonical database key. - Help page on configuration parameter
$smwgDVFeatures
Sets the available features regarding property data values - Sets the available features regarding property data values includingSMW_DV_WPV_DTITLE
Examples[edit]
- sandbox:GBIFID:2706490 is stored with an external ID (i.e. GBIFID:2706490) but to appeal to a user in a more human readable form it is identifiable as Agrostis capillaris L. instead of the GBIFID:2706490 ID.
- sandbox:EventsUsingDisplayTitle
See also[edit]
- Help page on special property "Display title of"Holds a specific denote title for an entity
- Documentation page on extension "Semantic Title"Sets visible page title to value of a semantic property
- Documentation page on extension "Display Title"
- Help page on magic word
{{DISPLAYTITLE}}
- Help page on sorting
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:1410