Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DataValue.php |
— | — | @@ -422,10 +422,10 @@ |
423 | 423 | case '!~': |
424 | 424 | $comparator = SMW_CMP_NLKE; |
425 | 425 | break; |
426 | | - case '>=': |
| 426 | + case '>=': case '≥' : |
427 | 427 | $comparator = SMW_CMP_GEQ; |
428 | 428 | break; |
429 | | - case '<=': |
| 429 | + case '<=': case '≤' : |
430 | 430 | $comparator = SMW_CMP_LEQ; |
431 | 431 | break; |
432 | 432 | // default: not possible |
Index: trunk/extensions/SemanticMediaWiki/SMW_Settings.php |
— | — | @@ -203,14 +203,14 @@ |
204 | 204 | * ! (unequal to) |
205 | 205 | * ~ (pattern with '*' as wildcard, only for Type:String) |
206 | 206 | * !~ (not a pattern with '*' as wildcard, only for Type:String, need to be placed before ! and ~ to work correctly) |
207 | | - * <= (smaller than or equal to) |
208 | | - * >= (greater than or equal to) |
| 207 | + * <= or ≤(smaller than or equal to) |
| 208 | + * >= or ≥(greater than or equal to) |
209 | 209 | * |
210 | 210 | * If unsupported comparators are used, they are treated as part of the queried value |
211 | 211 | * |
212 | 212 | * @var string |
213 | 213 | */ |
214 | | -$smwgQComparators = '<|>|!~|!|~|<=|>='; |
| 214 | +$smwgQComparators = '<|>|!~|!|~|<=|>=|≤|≥'; |
215 | 215 | |
216 | 216 | ### |
217 | 217 | # Sets whether the > and < comparators should be strict or not. If they are strict, |