https://bugzilla.wikimedia.org/show_bug.cgi?id=31336

--- Comment #10 from Markus Krötzsch <[email protected]> 2012-11-07 
16:02:29 UTC ---
The documentation should be updated to remove this tip. This was never meant to
work like this. What happened in earlier versions is that SMW would treat
values like "1 - Small" to be the number "1" with an unknown unit of
measurement "- Small". This no longer works since SMW does not support
undeclared units of measurement any more, and since Number is not supporting
units anyway. However, even in past versions it should not have worked:
comparing 1 "- Small" with "2 - Medium" is like comparing 3 apples with 2
oranges. This was just not checked properly (there used to be a todo about this
in the code).

Long story short: there was never any support for this, and it should not be
documented. We need to rethink the Allows Value support a sometime. I am sure
that some better things could be done there, but the current system really just
supports fixed values without any ordering other than the one that it would
have naturally based on the property type.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to