r39292 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39291‎ | r39292 | r39293 >
Date:16:07, 13 August 2008
Author:yaron
Status:old
Tags:
Comment:
Fixed handling for skins where search form comes before main page
Modified paths:
  • /trunk/extensions/SemanticGoogleMaps/SemanticGoogleMaps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticGoogleMaps/SemanticGoogleMaps.php
@@ -1,5 +1,7 @@
22 <?php
 3+
34 if (!defined('MEDIAWIKI')) die();
 5+
46 /**
57 * An extension to that allows users to add Google Maps to wiki pages based
68 * on structured data
@@ -8,8 +10,6 @@
911 *
1012 * @author Robert Buzink
1113 * @author Yaron Koren
12 - * @copyright Copyright © 2008, Robert Buzink
13 - * @copyright Copyright © 2008, Yaron Koren
1414 */
1515
1616 # Define a setup function
@@ -26,7 +26,7 @@
2727 // credits
2828 $wgExtensionCredits['parserhook'][] = array(
2929 'name' => 'Semantic Google Maps',
30 - 'version' => '0.3.2',
 30+ 'version' => '0.3.3',
3131 'author' => array( 'Robert Buzink', 'Yaron Koren' ),
3232 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Google_Maps',
3333 'description' => 'Allows users to add Google Maps to wiki pages based on structured data',
@@ -207,7 +207,7 @@
208208 $text .= <<<END
209209 <p>
210210 <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>
212212 </p>
213213 <br />
214214

Status & tagging log