Wikibase
MediaWiki Wikibase extension
|
Storage interface for Unit conversion information. More...
Public Member Functions | |
isPrimaryUnit ( $unit) | |
Check if the unit is primary. | |
getConversion ( $unit) | |
Get conversion from this unit to primary unit. | |
Storage interface for Unit conversion information.
Wikibase\Lib\Units\UnitStorage::getConversion | ( | $unit | ) |
Get conversion from this unit to primary unit.
string | $unit |
Implemented in Wikibase\Lib\Units\BaseUnitStorage.
Wikibase\Lib\Units\UnitStorage::isPrimaryUnit | ( | $unit | ) |
Check if the unit is primary.
string | $unit |
Implemented in Wikibase\Lib\Units\BaseUnitStorage.