Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | 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>.'; |
38 | 38 | } |
39 | 39 | else { |
40 | | - define( 'Maps_VERSION', '0.7.3 a3' ); |
| 40 | + define( 'Maps_VERSION', '0.7.3 beta 1' ); |
41 | 41 | |
42 | 42 | // The different coordinate notations. |
43 | 43 | define( 'Maps_COORDS_FLOAT', 'float' ); |
Index: trunk/extensions/Maps/includes/Maps_KMLFormatter.php |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | * @return string |
131 | 131 | */ |
132 | 132 | protected function getKMLForLocation( MapsLocation $location ) { |
133 | | - $name = Xml::element( 'name', array(), $location->getTitle() ); |
| 133 | + $name = '<name><![CDATA[ ' . $location->getTitle() . ']]></name>'; |
134 | 134 | |
135 | 135 | $description = '<description><![CDATA[ ' . $location->getText() . ']]></description>'; |
136 | 136 | |