| Current File : /home/jvzmxxx/wiki1/vendor/data-values/geo/Geo.php |
<?php
/**
* Entry point of the DataValues Geo library.
*
* @since 0.1
* @codeCoverageIgnore
*
* @license GPL-2.0+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
if ( defined( 'DATAVALUES_GEO_VERSION' ) ) {
// Do not initialize more than once.
return 1;
}
define( 'DATAVALUES_GEO_VERSION', '1.2.0' );
if ( defined( 'MEDIAWIKI' ) ) {
$GLOBALS['wgExtensionCredits']['datavalues'][] = array(
'path' => __DIR__,
'name' => 'DataValues Geo',
'version' => DATAVALUES_GEO_VERSION,
'author' => array(
'[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]',
'The Wikidata team',
),
'url' => 'https://github.com/DataValues/Geo',
'description' => 'Geographical value objects, parsers and formatters',
'license-name' => 'GPL-2.0+'
);
}
// Aliases introduced in 1.0
class_alias( 'DataValues\Geo\Values\LatLongValue', 'DataValues\LatLongValue' );
class_alias( 'DataValues\Geo\Values\GlobeCoordinateValue', 'DataValues\GlobeCoordinateValue' );