Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
$smwgQStrictComparators
(Redirected from Help:$smwStrictComparators)
Configuration parameter details: | |||
Name | $smwgQStrictComparators | ||
Description | Property "Has description" (as page type) with input value "Sets whether the ">" and "" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. | ||
Default setting | false | ||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Query settings | ||
Keyword | comparison · property value · page selection |
__NOBREADCRUMBLINKS__
$smwgQStrictComparators
is a configuration parameter that sets whether the ">
" and "<
" comparators should be strict. The configuration parameter was introduced in Semantic MediaWiki 1.5.3Released on an unknown date unknown versions of MediaWiki. Prior to Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki it was called $smwStrictComparators
.12
The behavior of the comparators ">
" and "<
" varies depending on the setting of this configuration parameter. See the help page on strict comparators for detailed information about the differences.
Default setting
$smwgQStrictComparators = false;
This means that values that are equal will be accepted for the comparators ">
" and "<
".
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 enableSemantics()
call:
- Enable the comparators to be strict
$smwgQStrictComparators = true;
This means that values that are equal will not be accepted for the comparators ">
" and "<
".