Manual:Page props table

Contains properties about pages set by the parser via, such as the display title and the default category sortkey. In particular, all double underscore magic words are automatically recorded here. Also, many extensions use this table to store their own data. Note that reparsing a page causes all of its properties to be purged from this table and replaced with the new ones, so this table is not suitable for storing data that can't be regenerated during a reparse.

pp_page
page_id by which the name/value pair is indexed

pp_propname
Page property name

pp_value
Page property value

pp_sortkey
This is so pages can be efficiently queried and sorted by property value (see ).

Schema
Here's a sample query to find the page properties in use (see also API:pagepropnames).

Example of a simple extension that uses this table
Here is an example of an extension that stores its own page property in the page_props table. It defines two parser tags (hooks) &lt;getprop&gt; and &lt;setprop&gt; that manipulate its property named SimpleSetPropExtension. They allow a wiki editor to set the property's value in wikitext with Some random text, and display its value with (for the current page) or with (for its value on some other page).