https://bugzilla.wikimedia.org/show_bug.cgi?id=23679
Summary: The values of properties with units need a 'no
formatting' option.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
When querying the value of a property that has custom units, there is no way to
get an 'unformatted' value returned by the query.
Specifically, numbers are always full of commas (e.g. 10,004,039) and the value
is always attached to a unit (separated by an " ").
I think the 'natural' way to do this would be to specify "Plain (unformatted)
printouts" for the property in question
http://semantic-mediawiki.org/wiki/Help:Displaying_information#Plain_.28unformatted.29_printouts
However, SMW insists on putting commas in large numbers [1] and outputting a
unit and putting a " " between the printed value and the unit.
All nice ideas in principle, but the whole point of SMW is to provide *data*
not *formatting*. Currently you can't get at the underlying data, to include it
in a calculation, for example, so this is a bug.
[1] http://tinyurl.com/34vuf4y
This bug is different from but related to bug 15541.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l