https://bugzilla.wikimedia.org/show_bug.cgi?id=15302
Markus Krötzsch <[EMAIL PROTECTED]> changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution||WONTFIX
--- Comment #1 from Markus Krötzsch <[EMAIL PROTECTED]> 2008-12-05 19:18:44
UTC ---
Making values of the shape "44701–44894" to create additional property-value
assignments is not practical with the current architecture. I think it would be
better to have a solution on a higher level, similar to the parser function for
annotating lists of pages provided by Semantic Forms. So I propose to keep this
out of SMW core, too.
There is a related issue with this first approach: it is not clear what
"44701–44894" really means. SMW has a Type:Number that supports also decimal
numbers, not just integers. So simply annotating with a list of values would
somehow not cover the true interval semantics that was intended. This is OK for
an added convenience function, but not really something to do in SMW core.
The alternative, supporting ranges as a value in their own right, is not
compatible with SMW's property model, which assumes every property to have one
value. A range could of course be considered as one value, and you could have a
datatype that supports ranges as objects, but then you could not compare ranges
to numbers. Instead, they would be a new kind of data, and you could only
compare ranges to ranges (which is not so useful). Making ranges work as you
suggest would require substantial internal changes in the way data is
processed.
For those reasons, I close this as wontfix. Making a tiny extension that helps
with such range inputs should be easy to do, if you really need it.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l