These are the release notes for the Semantic Maps extension.
Note that Semantic Maps 3.4.2 is the last release of Semantic Maps as a dedicated extension. It has been merged into the Maps extension, where development continues. All features available in Semantic Maps 3.4.2 are now available in Maps 4.0 and later!
Released on November 23rd, 2016.
- Updated the documentation to reflect that this extension is now obsolete and should be replaced by Maps 4.0 and later.
Released on September 21st, 2016.
- Fixed regression introduced in 3.4 that caused the result formats to not be available
Released on September 18th, 2016.
- Dropped support for MediaWiki older than 1.23
- Dropped support for PHP older than 5.5
- Dropped support for Maps older than 3.8
- Added support for coordinates in SMWs record datatype (by James Hong Kong)
- Added support for the Maps tracking category (by Peter Grassberger)
Released on April 2nd, 2016.
- Added
userparam
support for the map result formats (by James Hong Kong) - Made Google Maps initialization more robust (by Karlpietsch)
- Added missing system messages (by Karsten Hoffmeyer)
Released on July 2nd, 2015.
- Added Leaflet result format (by Bernhard Krabina)
Released on November 11th, 2014.
- Restored compatibility with SMW 2.0.x (broken in SM 3.1.2)
Released on November 11th, 2014.
- Updated dependencies to latest versions.
- Improved compatibility with Semantic MediaWiki 2.1.x.
Released on September 14th, 2014.
- Prevent installation with incompatible dependencies
Released on August 5th, 2014.
- Added compatibility with Semantic MediaWiki 2.x
- Added compatibility with Validator 2.x.
Released on April 3rd, 2014.
- Fixed bug in SM_QueryHandler.php that was causing a fatal error in some cases.
Released on March 28th, 2014.
- Fixed centre parameter bug in the form inputs
- Improved installation instructions
- Translation updates
- Ensured compatibility with PHP 5.6
Released on January 18th, 2014.
- Changed minimum Maps version from 2.0.x to 3.0.
- Changed minimum Semantic MediaWiki version from 1.8 to 1.9.
- Changed minimum Semantic Forms version to 2.6.1.
- The extension now needs to be installed via Composer.
- Dropped the OpenLayers form input, as it was no longer working properly.
- Dropped the "forceshow" parameter, as SMW 1.8 and later do not allow for this functionality.
- Support for installation via the Composer dependency manager.
- Fixed compatibility with SMWs SQLStore3 (bug 44933, fixed by kvolden)
- Make it possible to load Semantic Maps before Semantic Forms.
- Added various PHPUnit tests.
- Have the tests run on TravisCI and ScrutinizerCI.
- Improved compatibility with SMW 1.8 and 1.9 (including bug 42830)
- Fixed issue in SMQueryHandler (bug 42250)
- Make use of the default parameter in the query printers
- Changed minimum PHP version from 5.2 to 5.3.
- Changed minimum MediaWiki version from 1.17 to 1.18.
- Changed minimum Semantic MediaWiki version from 1.7 to 1.8.
- Changed minimum Maps version from 1.0.x to 2.0.
- Changed minimum Validator version from 0.4 to 0.5.
- Removed support for the deprecated Google Maps v2 API.
- Removed support for the now unsorted Yahoo! Maps API and associated geocoding service.
- Added support for the visitedicon parameter to the map result formats.
- Many new functionality that got added in Maps 2.0 (see the Maps release notes).
- Improved script loading.
- Usage of Validator 0.5.x features.
- Fixed display of maps in multiple instance templates in forms.
- Fixed partial incompatibility with SMW >=1.6.
- Changed minimun Semantic MediaWiki version from 1.6.1 to 1.7.
- Allow properties of type string to be used as title. (bug 32632)
- Fixed error occuring when parsing invalid coordinates.
- Added compatibility with SMW 1.7 and later.
- Removed compatibility with SMW 1.6.1 and earlier.
- Improved default map format handling.
- Added geocodecontrol parameter for the form inputs.
- Matching Maps 1.0.2 release.
- Fixed handling of the semantic link caption in the geographical coordinate datavalue class.
This version branched from Semantic Maps 0.7.x at version 0.7.3. See the maps release notes for all changes not specific to Semantic Maps.
-
Improved map query parameter support in the Special:Ask GUI
-
Fixed fatal error occurring when running maintenance/refreshLinks.php.
-
Rewrote all the form inputs to jQuery plugins.
-
Rewrote the map printers to use the SMQueryHandler class.
-
Added geocoding capability to the OpenLayers form input when having a GeoNames API account.
-
Added 'update map' button to all form inputs.
-
Fixed PostGres support for distance queries.
-
Use of the DataItems introduces in Semantic MediaWiki 1.6.
- Added KML result format that allows the export of geographical data queried via SMW in the form of .kml files.
- Fixed small layout issue in query pop-ups when property names are blank.
- Image layers for OpenLayers maps, defined via pages in the Layer namespace.
-
Support for images without namespace prefix in the statispoints parameter in map ask queries.
-
Fixed several issue with the OpenLayers form input.
-
Fixed fatal error for Google Maps v2 options on Special:Ask.
- Added 'locations' parameter to the map query printers that allows for displaying static locations in addition to query results in queries. It behaves the same as the locations parameter in display_points.
- Fixed compatibility with the MW 1.17 resource loader.
-
Use of Validator 0.4, allowing for more robust and consistent error reporting.
-
Restructured the directory structure of the extension to better match it's architecture.
- Added support for 'semantic' extension type, added by SMW 1.5.2 and above.
- Use of the new MapsMappingServices class of the Maps extension instead of the globals.
-
Fixed issue that caused popup contents to be displayed incorrectly when using templates.
-
Fixed issue that lowercased template names provided with the template parameter in queries.
- Added hook for default result formats based on queried data types (requires SMW 1.5.2 or above).
-
Moved map id creation to the mapping service class for all features.
-
Moved marker js creation for query printers to the mapping service class for all features.
-
Moved default zoom level access method to the mapping service class for all features.
-
Cleaned up the way specific parameter info is handled.
-
Improved the structure of the geocoding functionality in form inputs.
- Fixed the default zoom for form inputs and query printers.
- Re-added service link support, which got removed in 0.6.
- Moved more functionality over from feature classes to service classes to prevent crazy code-flow and code duplication.
-
Fixed php notice that occurred in some queries, introduced in 0.6.3.
-
Fixed issue that caused result format maps not to load when a centre address was provided that could not be geocoded.
- Mayor refactoring of the mapping service handling, to make the code flow less messy and be able to do mapping service related things in a more consistent fashion.
-
Fixed issue that caused Yahoo! Maps and OpenLayers maps not to load on form pages.
-
Fixed php warning originating from Validator that occurred on form pages with maps.
-
Fixed issue that caused a fatal error when doing a query via special:ask with a mapping format, present since 0.6.
- Fixed fatal error that occurred when editing a page via a form with a map on it.
-
Fixed serious bug that caused mapping parameters to get ignored in semantic queries and forms.
-
Fixed fatal error that occurred when not disabling the form input feature when Semantic Forms is not installed.
-
Fixed bug in map form inputs that stored 'west' coordinates as 'south' coordinates, effectively rendering the resulting coordinate set invalid.
-
Added full support for both directional and non-directional coordinate notations in DMS, DD, DM and float notation.
-
Added native geographical proximity query support.
-
Added settings to specify the width and height of maps in forms.
-
Added settings to specify the format of coordinates as shown in query printouts.
-
Rewrote map divs and added loading message for each map.
-
Rewrote individual map JS to be added to the page header.
-
Restructured the directory structure to make what the services and features are more clear.
-
Rewrote storage of coordinates to make the proximity query scalable.
- Fixed conflict with prototype library that caused compatibility problems with the Halo extension.
-
Moved the geographical proximity query from Semantic MediaWiki over to Semantic Maps.
-
Stylized the code to conform to MediaWiki's spacing conventions.
-
Fixed issue causing properties of type Page to not show up in pop-ups when using the template parameter.
-
Fixed escaping issues that caused pop-ups to break when they contained '-signs.
-
Fixed potential xss vectors.
-
Fixed minor JS error that was present for all maps except OSM.
-
Fixed i18n issue that caused geocoords not to be recognized on several foreign language wiki's.
-
Fixed issue with the type and types parameters in the Yahoo! Maps form input.
-
Fixed OpenLayers form input projection bug, causing the the coordinates to be wrongly interpreted.
-
Fixed marker display for the OpenLayers form inputs.
-
Fixed issue causing a fatal error when executing a query on Special:Ask with the "map" format.
-
Added support for template= parameter to the result printers.
-
Added support for showtitle= parameter to the result printers.
-
Added icon parameter to the query printers, allowing you to set the icon for all markers that do not have a specific icon assigned via a compound query.
-
Added missing SMW #Ask: parameters to the parameter list of the Semantic Maps query printers.
-
Fixed issue with centre parameter for maps with no results (using forceshow=on).
-
Added parameter support for the 'map' format on Special:Ask.
-
Added forceshow parameter to the result formats to allow users to force showing a map, even when there are no geographical coordinate results from a query.
-
Modified the parameter definitions to work with Validator 0.2.
-
Removed redundant (because of Validator 0.2) utility function calls from the mapping classes.
-
Ensured none of the form input classes get loaded when SF is not present.
- Fixed issue with the query printers causing error messages to be shown for ask specific parameters.
#####New features#####
-
Added a result format for the OL optimized for OSM service.
-
Added support for the new Special:Ask page's parameter handling to the query printers.
-
Moved the geographical coordinate data type handling from SMW to SM.
-
Added checks for extension dependencies that need to be present for Semantic Maps to be initialized.
- Fixed issue with the form input registration. The main service names where getting changed into the default mapping service.
###Semantic Maps 0.4.2 (2009-11-15)###
Changes in 0.4.2 discussed on the authors blog:
- [http://blog.bn2vs.com/2009/11/16/maps-and-semantic-maps-0-4-2/ Maps and Semantic Maps 0.4.2 released]
- [http://blog.bn2vs.com/2009/11/12/new-in-maps-0-4-2/ New in Maps 0.4.2]
- Fixed issue with backward compatibility of the $wgGoogleMapsKey variable. It got handled at the wrong point in the form input classes, causing the form geocoding functionality to be disabled for people still using the old variable name.
###Semantic Maps 0.4.1 (2009-11-10)###
#####New features#####
-
Added smart geocoding to the QP's centre parameter.
-
Added smart geocoding to the FI's centre parameter.
-
Fixed bug in the Yahoo! Maps form input, caused by not adapting a renamed variable.
-
Fixed bug in the form scripts caused by wrongly encoded JavaScript file of Maps.
###Semantic Maps 0.4 (2009-11-03)###
Changes in 0.4 discussed on the authors blog:
- [http://blog.bn2vs.com/2009/11/03/finally-maps-and-semantic-maps-0-4/ Finally! Maps and Semantic Maps 0.4!]
#####Bug fixes#####
-
Fixed the repeated display of mapping services on the Special:Ask page, by [http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=58187 adding an aliasing system to SMW].
-
Fixed problem that caused the SM result formats to not get displayed on Special:Ask.
###Semantic Maps 0.3.4 (2009-09-12)###
Changes in 0.3.4 discussed on the authors blog:
- [http://blog.bn2vs.com/2009/09/12/maps-and-semantic-maps-0-3-4-released/ Maps and Semantic Maps 0.3.4 released]
#####Bug fixes#####
-
Fixed bug causing error for people who do not have Semantic Forms installed and enabled, presumably introduced in 0.3.
-
Fixed bug causing only the last coordinate property from a result to be shown on a map format, and so causing the predecessors to be ignored in case of multiple coordinate properties.
#####Refactoring#####
- Restructured the extension to work with the new feature hook system of Maps.
###Semantic Maps 0.3.3 (2009-08-15)###
Changes in 0.3.3 discussed on the authors blog:
- [http://blog.bn2vs.com/2009/08/25/maps-and-semantic-maps-0-3-3/ Maps and Semantic Maps 0.3.3]
#####Bug fixes#####
- Fixed error caused by the 'map' format on the Special:Ask page
###Semantic Maps 0.3.2 (2009-08-18)###
#####Bug fixes#####
-
Fixed logic error that caused maps to have a wrong centre and zoom when a query only returned one result.
-
Fixed an issue with the centre parameter in queries. In some cases it would not be processed correctly and cause PHP notices.
###Semantic Maps 0.3.1 (2009-08-18)###
#####Bug fixes#####
- Fixed script design flaw that caused errors when using the 'map' format in a query.
###Semantic Maps 0.3 (2009-08-14)###
Changes in 0.3 discussed on the authors blog:
-
[http://blog.bn2vs.com/2009/08/13/final-changes-for-maps-and-sm-0-3/ Final changes for Maps and SM 0.3]
-
[http://blog.bn2vs.com/2009/08/07/new-features-in-maps-and-sm-0-3/ New features in Maps and SM 0.3]
-
[http://blog.bn2vs.com/2009/08/05/structural-changes-for-maps-and-sm-0-3/ Structural changes for Maps and SM 0.3]
#####New functionality#####
- Yahoo! Maps and OpenLayers now handle the "icon=" parameter that can come from Semantic Compound Queries, as Google Maps already did.
#####Refactoring#####
-
Restructured the Query Printer classes (JavaScript based logic).
-
Made form input classes weakly typed, so they fully work with the new aliasing system.
-
Integrated the new hook system of Maps.
-
Made the form input class inherit from MapsMapFeature.
#####Bug fixes#####
-
Mapping formats get added only once, as opposed to multiple times in version 0.2.2.
-
Added "elementNamePrefix" to the map names and fields of form inputs to prevent JavaScript errors.
-
When a query returns no results, nothing will be displayed, instead of an empty map.
-
The Google Maps form input now zooms in correctly when a user looks up an address.
###Semantic Maps 0.2 (2009-07-29)###
#####New functionality#####
-
Added a hook for [[Extension:Admin_Links|Admin Links]].
-
Added multi geocoder integration with form inputs.
-
Added support for the Yahoo! Geocoder (in form inputs).
#####Refactoring#####
- Restructured the Form Input classes.
#####Bug fixes#####
- Fixed issue that occurred when a custom centre is set for a Yahoo! Maps map, causing the map to not display their markers correctly.
###Semantic Maps 0.1 (2009-07-21)###
- Initial release, featuring both result formats and form inputs for Google Maps (+ Google Earth), Yahoo! Maps and OpenLayers.