User:Topbanana/Page properties

From Wikipedia, the free encyclopedia

Page properties are additional values assigned to pages within Mediawiki, used to modify their behaviour. They are stored within the page_props database table and accessible from the properties API. Various templates and magic words are used to add them to pages.

Currently supported values are:

Property Markup Description Potential problems
defaultsort {{DEFAULTSORT:sortkey}} {{DEFAULTSORTKEY:sortkey}} {{DEFAULTCATEGORYSORT:sortkey}} {{DEFAULTSORT:sortkey|noerror}} {{DEFAULTSORT:sortkey|noreplace}} See WP:DEFAULTSORT. Used for categorizing pages, sets a default category sort key. For example if you put at the end of John Smith, the page would be sorted under "S" by default in categories. It can take a second argument of noerror or noreplace to suppress error messages when multiple defaultsortkey's are used on one page or to make it do nothing if multiple defaultsortkey's are used.
  • Nonsensical values may hide entries in lists. Around 2% of the 1.6 million entries are not obviously correct. Toolserver report lists some.
  • Entries identical to pagename are pointless. >10,000 instances. Some listed on this Toolserver report; too minor to bother fixing separately - AutoWikiBrowser request submitted to include this in general cleanup.
displaytitle {{DISPLAYTITLE:DesiredTitle}}, or via template such as {{lowercase title}} and {{italic title}} See WP:DISPLAYTITLE. Format the current page's title header. The value must be equivalent to the default title: only capitalization changes and replacing spaces with underscores are allowed (this can on enabled/disabled globally).
  • Nonsensical values. This toolserver report lists the first few hundred 'odd-looking' display titles.
  • May include HTML markup. The above report clearly shows CSS and HTML being embedded in displaytitles. Need to investigate what limits exist.
  • Entries identical to pagename are pointless. There are only 60 or so examples of this in the main namespace of the English-language Wikipedia.
forcetoc __FORCETOC__ See WP:FORCETOC. Forces the table of contents to appear at its normal position (above the first header).
hiddencat __HIDDENCAT__ See WP:HIDDENCAT. Used on a category page, hides the category from the lists of categories in its members and parent categories (there is an option in the user preferences to show them).
index __INDEX__ Request that this page be indexed by search engines
  • Promotion of user-space adverts
  • Use in main namespace is pointless
newsectionlink __NEWSECTIONLINK__ See WP:NEWSECTIONLINK. Adds a link ("+" by default) beside the "edit" tab for adding a new section on a non-talk page
  • Should not be present on talk pages
nocontentconvert __NOCONTENTCONVERT__ or __NOCC__ On wikis with language variants, don't perform any content language conversion (character and phase) in article display; for example, only show Chinese (zh) instead of variants like zh_cn, zh_tw, zh_sg, or zh_hk.
  • Does enwiki use language variants?
noeditsection __NOEDITSECTION__ See WP:NOEDITSECTION. Hides the section edit links beside headings. This is especially useful, where a heading is created from within a template: the normal wiki section-edit would in this case edit the template code
  • Potentially could be used to discourage editing
nogallery __NOGALLERY__ See WP:NOGALLERY. Used on a category page, replaces thumbnails in the category view with normal links.
  • Should only be present on pages in the category namespace
noindex __NOINDEX__ magic word or the {{NOINDEX}} template See WP:NOINDEX. Tell search engines not to index the page (ie, do not list in search engines' results). Entire classes of pages can be made 'noindex' by settings in the Mediawiki config files.

For the english-language wikipedia, the values wgNamespaceRobotPolicies and wgArticleRobotPolicies in InitialiseSettings.php make the entire user talk namespace noindex by default.

  • Suppressing the indexing of relevant mainspace content - Check - may be disabled globally for namespace 0
  • Irrelevant if applied to the user_talk namespace, excepting one supposes content we would not with to become indexed should the default policy change. Over 32,000 user_talk pages explicity apply this property.
nonewsectionlink __NONEWSECTIONLINK_ See WP:NONEWSECTIONLINK. Removes the link beside the "edit" tab on pages in talk namespaces.
  • Should only exist on pages in a talk namespace
notitleconvert __NOTITLECONVERT__ or __NOTC__ On wikis with language variants, don't perform language conversion on the title (all other content is converted).
  • Does enwiki use language variants?
notoc __NOTOC__ See WP:NOTOC. Hides the table of contents (TOC)
staticredirect __STATICREDIRECT__ On redirect pages, don't allow MediaWiki to automatically update the link when someone moves a page and checks "Update any redirects that point to the original title".
  • Only useful on redirect pages?