Skip to content

Commit

Permalink
Merge pull request #556 from JeroenDeDauw/rmgeocodeapi
Browse files Browse the repository at this point in the history
Remove broken geocode API module
  • Loading branch information
JeroenDeDauw authored Jul 25, 2019
2 parents 36b27ec + 7ca07b6 commit 57e5b82
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 88 deletions.
8 changes: 7 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ different releases and which versions of PHP and MediaWiki they support, see the
[platform compatibility tables](INSTALL.md#platform-compatibility-and-release-status).


## Maps 7.3.2

Released on July 25th, 2019.

* Removed broken geocode API module

## Maps 7.3.1

Released on July 20h, 2019.
Released on July 20th, 2019.

* Fixed compatibility issue with SMW 3.1+ (thanks @mwjames!)

Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Maps",
"version": "7.3.1",
"version": "7.3.2",

"author": [
"[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]",
Expand Down
7 changes: 0 additions & 7 deletions src/MapsSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@

use DataValues\Geo\Parsers\LatLongParser;
use Maps\DataAccess\JsonFileParser;
use Maps\MediaWiki\Api\Geocode;
use Maps\MediaWiki\Content\GeoJsonContent;
use Maps\MediaWiki\Content\GeoJsonContentHandler;
use Maps\MediaWiki\ParserHooks\CoordinatesFunction;
use Maps\MediaWiki\ParserHooks\DisplayMapFunction;
use Maps\MediaWiki\ParserHooks\DisplayMapRenderer;
use Maps\MediaWiki\ParserHooks\DistanceFunction;
use Maps\MediaWiki\ParserHooks\FindDestinationFunction;
use Maps\MediaWiki\ParserHooks\GeocodeFunction;
Expand Down Expand Up @@ -51,7 +49,6 @@ public function setup() {

private function registerAllTheThings() {
$this->registerWebResources();
$this->registerApiModules();
$this->registerParserHooks();
$this->registerMappingServices();
$this->registerPermissions();
Expand Down Expand Up @@ -462,8 +459,4 @@ private function registerHooks() {
$this->mwGlobals['wgHooks']['MakeGlobalVariablesScript'][] = 'Maps\MediaWiki\MapsHooks::onMakeGlobalVariablesScript';
}

private function registerApiModules() {
$this->mwGlobals['wgAPIModules']['geocode'] = Geocode::class;
}

}
79 changes: 0 additions & 79 deletions src/MediaWiki/Api/ApiGeocode.php

This file was deleted.

0 comments on commit 57e5b82

Please sign in to comment.