Last modified: 2014-03-11 11:33:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57589 - make it possible to show the + sign in quantities on item pages
make it possible to show the + sign in quantities on item pages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
quantityvalue, u=dev c=backend p=0
:
Depends on:
Blocks: 54318
  Show dependency treegraph
 
Reported: 2013-11-26 13:48 UTC by Lydia Pintscher
Modified: 2014-03-11 11:33 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lydia Pintscher 2013-11-26 13:48:38 UTC
Some quantity properties will need to be able to show the plus sign while it should be hidden in most cases. We need to figure out the best way to do this and then implement it.
Comment 1 Daniel Kinzler 2013-11-26 13:55:52 UTC
The first step would be to have an options for DecimalFormatter and QuantityFormatter to force the sign. 

That leaves the question how exactly a property would be marked for "keeping the sign", and how and when formatters would be made aware of this.
Comment 2 dacuetu 2013-11-26 14:04:24 UTC
A possible solution would be to keep the sign only when it was explicitly typed by the user. Another one would be to specify that in the property page with qualifiers ("preferred unit"="meter" and "preferred formatting"=> "always display + symbol"), however this second option depends on https://bugzilla.wikimedia.org/show_bug.cgi?id=49554
Comment 3 Gerrit Notification Bot 2013-11-26 19:02:13 UTC
Change 97768 had a related patch set uploaded by Daniel Kinzler:
(bug 57589) option to force "+" in decimal values.

https://gerrit.wikimedia.org/r/97768
Comment 4 Gerrit Notification Bot 2013-11-26 19:42:25 UTC
Change 97768 merged by jenkins-bot:
(bug 57589) option to force "+" in decimal values.

https://gerrit.wikimedia.org/r/97768
Comment 5 Lydia Pintscher 2013-12-04 13:39:30 UTC
The formatter now supports it but we still need a way to handle this on Wikipedia and on the item pages. We need to figure out how to best store this information for properties that need it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links