|Description||Sets whether internal links may be stored within property values.|
|Deprecated with||still available|
$smwgLinksInValues is a configuration parameter that sets whether internal links within property values of datatype "string" (< SMW 1.9.0) or "text" such as e.g.
[[Property::Some [[internal link]] in property value.]] may be stored. The setting was introduced in Semantic MediaWiki 1.3.0.
If enabled, this may lead to PHP crashes (!) when very long texts are used as values. This is due to limitations in the library PCRE that PHP uses for pattern matching. The provoked PHP crashes will prevent requests from being completed - usually clients will receive server errors like e.g. "invalid response" or be offered to download "index.php". It might be okay to enable this if such problems are not observed in your wiki.
Note that the results of a query displayed on special page "Ask" are not parsed further even if this setting is enabled. This means that results for properties of datatype "text" containing links will be displayed as-is, i.e. links like SMW Project within the data value will be displayed as [[Help:SMW Project|SMW Project]].