Index: trunk/extensions/SemanticGoogleMaps/SemanticGoogleMaps.php |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <?php |
| 3 | + |
3 | 4 | if (!defined('MEDIAWIKI')) die(); |
| 5 | + |
4 | 6 | /** |
5 | 7 | * An extension to that allows users to add Google Maps to wiki pages based |
6 | 8 | * on structured data |
— | — | @@ -8,8 +10,6 @@ |
9 | 11 | * |
10 | 12 | * @author Robert Buzink |
11 | 13 | * @author Yaron Koren |
12 | | - * @copyright Copyright © 2008, Robert Buzink |
13 | | - * @copyright Copyright © 2008, Yaron Koren |
14 | 14 | */ |
15 | 15 | |
16 | 16 | # Define a setup function |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | // credits |
28 | 28 | $wgExtensionCredits['parserhook'][] = array( |
29 | 29 | 'name' => 'Semantic Google Maps', |
30 | | - 'version' => '0.3.2', |
| 30 | + 'version' => '0.3.3', |
31 | 31 | 'author' => array( 'Robert Buzink', 'Yaron Koren' ), |
32 | 32 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Google_Maps', |
33 | 33 | 'description' => 'Allows users to add Google Maps to wiki pages based on structured data', |
— | — | @@ -207,7 +207,7 @@ |
208 | 208 | $text .= <<<END |
209 | 209 | <p> |
210 | 210 | <input size="60" id= "geocode" name="geocode" value="" type="text"> |
211 | | - <a href="#" onClick="showAddress(document.forms[0].geocode.value); return false">$lookup_coordinates_text</a> |
| 211 | + <a href="#" onClick="showAddress(document.forms['createbox'].geocode.value); return false">$lookup_coordinates_text</a> |
212 | 212 | </p> |
213 | 213 | <br /> |
214 | 214 | |