Index: trunk/extensions/SemanticMaps/INSTALL |
— | — | @@ -1,4 +1,4 @@ |
2 | | -[[Semantic Maps 0.5.1]] |
| 2 | +[[Semantic Maps 0.5.2]] |
3 | 3 | |
4 | 4 | Make sure you have Semantic MediaWiki and Maps successfully installed before |
5 | 5 | proceeding with the installation. Once you have downloaded the code, place |
Index: trunk/extensions/SemanticMaps/RELEASE-NOTES |
— | — | @@ -6,6 +6,21 @@ |
7 | 7 | http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Version_history#Semantic_Maps_change_log |
8 | 8 | |
9 | 9 | |
| 10 | +=== Semantic Maps 0.5.2 === |
| 11 | +(2010-01-20) |
| 12 | + |
| 13 | +==== New features ==== |
| 14 | + |
| 15 | +* Added support for template= parameter to the result printers. |
| 16 | + |
| 17 | +* 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. |
| 18 | + |
| 19 | +==== Bug fixes ==== |
| 20 | + |
| 21 | +* Added missing SMW #Ask: parameters to the parameter list of the Semantic Maps query printers. |
| 22 | + |
| 23 | +* Fixed issue with centre parameter for maps with no results (using forceshow=on). |
| 24 | + |
10 | 25 | === Semantic Maps 0.5.1 === |
11 | 26 | (2009-12-25) |
12 | 27 | |
Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | |
37 | 37 | // Only initialize the extension when all dependencies are present. |
38 | 38 | if (defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' )) { |
39 | | - define('SM_VERSION', '0.5.2 rc2'); |
| 39 | + define('SM_VERSION', '0.5.2'); |
40 | 40 | |
41 | 41 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
42 | 42 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/QueryPrinters/SM_MapPrinter.php |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | array($this->template, 'title=' . $titleForTemplate, 'latitude=' . $lat, 'longitude=' . $lon), |
223 | 223 | $label |
224 | 224 | ); |
225 | | - $text = $wgParser->recursiveTagParse('{{' . implode('|', $segments) . '}}'); |
| 225 | + $text = preg_replace('/\n+/m', '<br />', $wgParser->recursiveTagParse('{{' . implode('|', $segments) . '}}')); |
226 | 226 | } |
227 | 227 | |
228 | 228 | $this->m_locations[] = array($lat, $lon, $title, $text, $icon); |