Help:Configuration parameter "$smwgQComparators"
|Description||Sets the list of comparator characters supported by queries for use in a regex.|
|Default setting||See below|
|First version supported|
|Last version supported||still available|
|Keyword||comparison · property value · page selection|
If unsupported comparators are used, they are treated as part of the queried value. The behaviour of the comparators
> varies depending on the setting for configuration parameter
$smwStrictComparatorsSets whether the ">" and "<" comparators should be strict.
$smwgQComparators = <|>|!~|!|~|≤|≥|<<|>>;
The default setting allows all available comparators.
Changing the default setting
The available features are combined in a list, separated by a pipe
- Do not allow extended ASCII character comparators
$smwgQComparators = <|>|!~|!|~|<<|>>;
Note: This cannot be combined with strict comparators enabled.
<(smaller than or equal)
>(greater than or equal)
≤(smaller than or equal - note that this is an extended ASCII character and may show up differently, e.g. as "â¤")
≥(greater than or equal - note that this also is an extended ASCII character and may show up like "â¥")
~(matching a pattern with "*" as wildcard, only for datatype "Text" and "Page")
!~(not matching a pattern with "*" as wildcard, only for datatype "Text" and "Page")
- Help page on configuration parameter
$smwStrictComparatorsSets whether the ">" and "<" comparators should be strict
- Help page on selecting pages with comparators
- Help page on strict comparators
Help:$smwgQComparators en 1.0