Skip to content

Commit

Permalink
Merge pull request #117 from legoktm/stuff
Browse files Browse the repository at this point in the history
Remove MediaWiki integration & release 2.1.0
  • Loading branch information
manicki authored Aug 9, 2017
2 parents 2d8e852 + de4fb1b commit be9e14d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
17 changes: 1 addition & 16 deletions Geo.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,7 @@
return 1;
}

define( 'DATAVALUES_GEO_VERSION', '2.0.1' );

if ( defined( 'MEDIAWIKI' ) ) {
$GLOBALS['wgExtensionCredits']['datavalues'][] = [
'path' => __DIR__,
'name' => 'DataValues Geo',
'version' => DATAVALUES_GEO_VERSION,
'author' => [
'[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+'
];
}
define( 'DATAVALUES_GEO_VERSION', '2.1.0' );

// Aliases introduced in 1.0
class_alias( DataValues\Geo\Values\LatLongValue::class, 'DataValues\LatLongValue' );
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ It is based upon and contains a lot of code written by [Jeroen De Dauw]

## Release notes

### 2.1.0 (2017-08-09)

* Remove MediaWiki integration
* Make use of the …::class feature
* Add .gitattributes to exclude not needed files from git exports
* Use Wikibase CodeSniffer instead of Mediawiki's
* Move to short array syntax

### 2.0.1 (2017-06-26)

* Fixed `GlobeCoordinateValue::newFromArray` and `LatLongValue::newFromArray` not accepting mixed
Expand Down

0 comments on commit be9e14d

Please sign in to comment.