r65949 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65948‎ | r65949 | r65950 >
Date:09:34, 5 May 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.6 - updated readme, install and release notes
Modified paths:
  • /trunk/extensions/Maps/INSTALL (modified) (history)
  • /trunk/extensions/Maps/Maps.php (modified) (history)
  • /trunk/extensions/Maps/README (modified) (history)
  • /trunk/extensions/Maps/RELEASE-NOTES (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/INSTALL
@@ -23,4 +23,4 @@
2424
2525 [0] http://code.google.com/apis/maps/terms.html
2626 [1] http://www.mediawiki.org/wiki/Extension:Maps#Sites_that_use_Maps
27 -[2] http://www.mediawiki.org/wiki/Extension:Maps#Setup
\ No newline at end of file
 27+[2] http://mapping.referata.com/wiki/Maps#Installation
\ No newline at end of file
Index: trunk/extensions/Maps/Maps.php
@@ -33,7 +33,7 @@
3434 echo '<b>Warning:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a>.';
3535 }
3636 else {
37 - define( 'Maps_VERSION', '0.6 rc1' );
 37+ define( 'Maps_VERSION', '0.6 a26' );
3838
3939 // The different coordinate notations.
4040 define( 'Maps_COORDS_FLOAT', 'float' );
Index: trunk/extensions/Maps/RELEASE-NOTES
@@ -1,11 +1,61 @@
2 -For a documentation of all features, see http://www.mediawiki.org/wiki/Extension:Maps
 2+Extension page on mediawiki.org: http://www.mediawiki.org/wiki/Extension:Maps
 3+Documentation and examples: http://mapping.referata.com/wiki/Maps
34
45 == Maps change log ==
56 This change log contains a list of completed to-do's (new features, bug fixes, refactoring) for every
67 version of Maps. You can find the most upt-do-date version at
7 -http://www.mediawiki.org/wiki/Extension:Maps/Version_history#Maps_change_log
 8+http://mapping.referata.com/wiki/Maps/Version_history#Maps_change_log
89
910
 11+=== Maps 0.6 ===
 12+(2010-05-xx)
 13+
 14+==== New features ====
 15+
 16+* Added support for width and height in px, ex, em and %, instead of only px, allowing for maps that adjust their size to the screen width and other content.
 17+
 18+* Added full support for both directional and non-directional coordinate notations in DMS, DD, DM and float notation.
 19+
 20+* Added #coordinates parser function which allows rewformatting of coordinates to all supported notations.
 21+
 22+* Rewrote the #geocode parser function to work with named parameters and added support for smart geocoding. Now takes in all supported coordinate notations, and is able to output in all of them as well.
 23+
 24+* Added #geodistance function (based on the one in MathFunctions) with smart geocoding support.
 25+
 26+* Added #finddestination function with smart geocoding support.
 27+
 28+==== Refactoring ====
 29+
 30+* Rewrote the handling of the display_map and display_point(s) parser functions, esp the way the service parameter is getting determined and acted upon.
 31+
 32+* Removed the MapsMapFeature class to make the base classes for the features more independent and flexible.
 33+
 34+* Restructured the directory structure to make what the services and features are more clear.
 35+
 36+* Rewrote map divs and added loading message for each map.
 37+
 38+* Rewrote individual map JS to be added to the page header.
 39+
 40+* Mayor clean up of the coordinate handling, to allow for coordinate formatting and to facilitate better integration by the GeoCoords data type in Semantic Maps. All this code is now located in MapsCoordinateParser.
 41+
 42+* Use native MW hook system for mapping services and features if possible.
 43+
 44+* Updated the magic words to mw >=1.16 style, and retained backward compatibility.
 45+
 46+* Updated the OpenLayers version from 2.8 to 2.9.
 47+
 48+* Rewrote the parameter definitions to work with Validator 0.3.
 49+
 50+* Rewrote the resource inclusion html to make the code cleaner and more secure.
 51+
 52+==== Bug fixes ====
 53+
 54+* Changed parsing of parameters so that '=' signs in values don't cause themselves and proceeding characters to be omitted.
 55+
 56+* Add mapping to the language codes that are send to the Google Maps API to null the naming differences between MW and the API.
 57+
 58+* Added automatic icon image sizing for Google Maps and Yahoo! Maps markers.
 59+
1060 === Maps 0.5.5. ===
1161 (2010-03-20)
1262
@@ -132,6 +182,14 @@
133183
134184 * Fixed bug causing markers not to show up when a specific description was provided.
135185
 186+==== Documenting ====
 187+
 188+* Created screencast demonstrating display_map usage.
 189+
 190+* Creates screencast demonstrating display_point usage.
 191+
 192+* Updated the developer documentation about hooking into and extending Maps to be useful for the current version.
 193+
136194 ===Maps 0.4.2===
137195 (2009-11-15)
138196
@@ -167,7 +225,7 @@
168226
169227 ==== Bug fixes ====
170228
171 -* Fixed problems with the � sign, caused by wrong file encodings, resulting into problems with the DMS notation.
 229+* Fixed problems with the ° sign, caused by wrong file encodings, resulting into problems with the DMS notation.
172230
173231 * Fixed flaw in DMS to float translation, resulting into a map being displayed when the values where not separated by a comma.
174232
@@ -311,7 +369,7 @@
312370
313371 * Configurable map type controls. Users can now configure the map type controls of Google maps and Yahoo! maps maps. They can set the available map types, and the order they want them to be displayed in the map type control.
314372
315 -* Property names now have aliases. This means you can add several alternative ways to name the same parameter, for instance, you can make so that �auto zoom� and �auto-zoom� will do excellently the same as the main parameter �autozoom�. This is particularly handy for parameters such as �centre� (British spelling) and �center� (American spelling).
 373+* Property names now have aliases. This means you can add several alternative ways to name the same parameter, for instance, you can make so that ‘auto zoom’ and ‘auto-zoom’ will do excellently the same as the main parameter ‘autozoom’. This is particularly handy for parameters such as ‘centre’ (British spelling) and ‘center’ (American spelling).
316374
317375 * Added Google Maps moon, Mars and sky support.
318376
@@ -325,7 +383,7 @@
326384
327385 ====Refactoring====
328386
329 -* Created hook system for the mapping services. All hard-coded references to mapping services in the core code have been removed. A service is now added by one multi dimensional array in Maps.php (note that this can also be done in the initialization file of another extension!), which holds the name of the parser functions class and it�s location, the aliases for the service name (feature added in 0.2), and their allowed specific parameters and their aliases. This architecture allows other people to create their own mapping extension using the Maps (and Semantic Maps) �API�.
 387+* Created hook system for the mapping services. All hard-coded references to mapping services in the core code have been removed. A service is now added by one multi dimensional array in Maps.php (note that this can also be done in the initialization file of another extension!), which holds the name of the parser functions class and it’s location, the aliases for the service name (feature added in 0.2), and their allowed specific parameters and their aliases. This architecture allows other people to create their own mapping extension using the Maps (and Semantic Maps) ‘API’.
330388
331389 * Created a class that bundles common functionality from MapsBaseMap and SMFormInput.
332390
@@ -381,4 +439,4 @@
382440 ===Maps 0.1===
383441 (2009-07-20)
384442
385 -* Initial release, featuring Google Maps (+ Google Earth), Yahoo! Maps and OpenLayers mapping services.
 443+* Initial release, featuring Google Maps (+ Google Earth), Yahoo! Maps and OpenLayers mapping services.
\ No newline at end of file
Index: trunk/extensions/Maps/README
@@ -22,7 +22,7 @@
2323
2424 [0] http://www.mediawiki.org/w/index.php?title=Extension_talk:Maps
2525
26 -For more info, see http://www.mediawiki.org/wiki/Extension:Maps#Contributing_to_the_project
 26+For more info, see http://mapping.referata.com/wiki/Mapping_on_MediaWiki
2727
2828
2929 == Credits to other projects ==

Status & tagging log