r74773 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74772‎ | r74773 | r74774 >
Date:14:20, 14 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Geocode nesting fix for 0.7
Modified paths:
  • /trunk/extensions/Maps/includes/parserHooks/Maps_Geocode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/parserHooks/Maps_Geocode.php
@@ -123,6 +123,18 @@
124124 }
125125
126126 /**
 127+ * Returns the parser function otpions.
 128+ * @see ParserHook::getFunctionOptions
 129+ *
 130+ * @since 0.7
 131+ *
 132+ * @return array
 133+ */
 134+ protected function getFunctionOptions() {
 135+ return array();
 136+ }
 137+
 138+ /**
127139 * Renders and returns the output.
128140 * @see ParserHook::render
129141 *
@@ -148,7 +160,7 @@
149161 else {
150162 $output = htmlspecialchars( wfMsg( 'maps-geocoder-not-available' ) );
151163 }
152 -
 164+
153165 return $output;
154166 }
155167

Status & tagging log