Last modified: 2008-03-25 13:03:40 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 T15499, the corresponding Phabricator task for complete and up-to-date bug report information.
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