Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to SRFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to scqgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to SDParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to SFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to ExtArrays::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to edgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to PageSchemasHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to widgetParserFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to ImageMap::onParserFirstCallInit() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to InputBoxHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to Poem::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to SMW\MediaWiki\Hooks\HookRegistry::SMW\MediaWiki\Hooks\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to SMW\Setup::SMW\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to MapsHooks::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to ExtArrays::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Feed.php on line 234
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37 http://shdenham.co.uk/mw/index.php?action=history&feed=atom&title=Type%3APageType:Page - Revision history2024-11-08T20:49:04ZRevision history for this page on the wikiMediaWiki 1.26.2http://shdenham.co.uk/mw/index.php?title=Type:Page&diff=396&oldid=prevSimon: Created page with 'The datatype '''page''' is used for properties whose value is a page in the wiki. These display as a link. This is the default type of a Property. In other words, if you write …'2010-05-25T20:53:33Z<p>Created page with 'The datatype '''page''' is used for properties whose value is a page in the wiki. These display as a link. This is the default type of a Property. In other words, if you write …'</p>
<p><b>New page</b></p><div>The datatype '''page''' is used for properties whose value is a page in the wiki.<br />
These display as a link.<br />
<br />
This is the default type of a Property. In other words, if you write <tt><nowiki>[[Brand New Prop::Some Value]]</nowiki></tt>, SMW assumes ''Brand New Prop'' is of type Page and that ''Some Value'' is a page in the wiki (whether or not it exists).<br />
Note that "Properties of type “Page”" below only lists properties that explcitly state their type as ''page'';<br />
it does not list pages that don't list a type and default to this.<br />
See [[Special:Properties]] for all properties in use in the wiki.<br />
<br />
== Page datatype versus String ==<br />
You can use Type:Page in most cases where you would use [[Type:String]].<br />
Making the property value a Wiki page allows you to document each possible value in the wiki.<br />
It is not an error if there is no page yet for the value, and this can encourage consistency guide as links to non-existent pages appear differently. Viewing the page for a value in the [[Special:Browse|Semantic Browser]] will show all the pages and relations for which it it the object.<br />
<br />
If the possible values of the property<br />
* are a large set<br />
* may be longer than the maximum page name<br />
* do not have much useful documentation<br />
then using Type:String may be better.</div>Simon