Help:$smwgPDefaultType

is a configuration parameter that sets the default datatype for an undefined property, i.e. if the datatype was not specified by adding to the respective property's page. The configuration parameter was introduced in.

Default setting
This means that by default all undefined properties, i.e. those without pages or whose pages have no "has type" statement, will be assumed to be of specified by the corresponding internal datatype ID.

Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the  call:


 * Replace the default datatype "Page" by datatype "Text"