Last modified: 2008-03-25 13:03:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13499 - Type:Number doesn't pass unit to service links
Type:Number doesn't pass unit to service links
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
http://ontoworld.org/wiki/Test_moneta...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-25 12:28 UTC by S Page
Modified: 2008-03-25 13:03 UTC (History)
0 users

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


Attachments
return m_unit in getServiceLinkParams() (788 bytes, patch)
2008-03-25 12:28 UTC, S Page
Details

Description S Page 2008-03-25 12:28:21 UTC
Created attachment 4763 [details]
return m_unit in getServiceLinkParams() 

There are lots of opportunities to use service links for numeric values: currency conversion, unit converters, scientific dimension normalization, etc.  But currently SMW_DV_Number->getServiceLinkParams() doesn't pass unit, so you can't do these.

The two-line fix to SMW_DV_Number.php is attached.

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


Navigation
Links