Page MenuHomePhabricator

Nullable number type
Closed, DeclinedPublic

Description

Author: morgon.kanter

Description:
I have a few properties that are ostensibly numbers for the purposes of searching, but for the purposes of display using the output of ask queries need to be nullable in a few instances (that is, they should read something like "-" or "N/A"; NOT "0"). This could be done with strings but then we lose the properties of having the type 'number' in the first place -- thus, can we get a number type with the option of also taking a value of "none" or "null" or something like that?


Version: unspecified
Severity: enhancement
URL: http://dungeons.wikia.com

Details

Reference
bz21851

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:53 PM
bzimport set Reference to bz21851.
Aklapper subscribed.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.