Help:Type Page

The datatype Page is used for properties whose value is a page in the wiki. These display as a link and may not be longer than 255 characters.

This datatype is the default datatype of a property if a different datatype was not explicitly set. In other words, if you write, SMW assumes Brand New Prop is of type "Page" and that Some Value is a page in the wiki (whether or not it exists).

Note that properties of type “Page” only list properties that explicitly state their type as page; it does not list pages that do not list a datatype and default to this. Use for all properties in use in the wiki.

In earlier versions of Semantic MediaWiki ( and earlier), properties of datatype "Page" were known as "relations".

Starting with it is also possible to link to pages on external websites using interwiki prefixes when annotating data like e.g.   which results in Has page::sandbox:Interwiki links. In this case "sandbox" is the interwiki prefix defined for the sandbox site, which you will access when clicking on the link.

Page versus Text
You can use datatype Page in most cases where you would use datatype "Text". Making the property value a wiki page allows you to document each possible value in the wiki. It is not an error if there is no page yet for the value. Indeed, this can encourage consistency as links to non-existent pages appear differently. Viewing the page for a value in the Semantic Browser will show all the pages and relations for which it is the object.

Using datatype "Text" may be better in case the possible values of the property:
 * are a large set
 * do not have much useful documentation