Index: trunk/extensions/Maps/Maps.i18n.php |
— | — | @@ -42,7 +42,11 @@ |
43 | 43 | 'maps-finddestination-description' => 'Find a destination given a starting point (that can be in any of the supported formats), an initial bearing and a distance.', |
44 | 44 | 'maps-geocode-description' => 'Enables the geocoding of addresses, in other words, turning human readable locations into sets of coordinates. There is support for several geocoding services, which should not be confused with mapping services.', |
45 | 45 | 'maps-geodistance-description' => 'Calculate the geographical distance between two points, from and to any of the supported formats.', |
| 46 | + 'maps-mapsdoc-description' => 'Display a table with the parameters for a specified mapping service together with their default values and descriptions.', |
46 | 47 | |
| 48 | + // Mapsdoc parser hook |
| 49 | + 'maps-mapsdoc-par-service' =>, 'The mapping service to display parameter documentation for.', |
| 50 | + |
47 | 51 | // Coordinates parser hook |
48 | 52 | 'maps-coordinates-par-location' => 'The coordinates you want to format.', |
49 | 53 | 'maps-coordinates-par-format' => 'The target format for the coordinates.', |
Index: trunk/extensions/Maps/includes/parserHooks/Maps_MapsDoc.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | * @licence GNU GPL v3 |
14 | 14 | * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
15 | 15 | */ |
16 | | -class MapsMapsDOc extends ParserHook { |
| 16 | +class MapsMapsDoc extends ParserHook { |
17 | 17 | |
18 | 18 | /** |
19 | 19 | * No LSB in pre-5.3 PHP *sigh*. |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | |
121 | 121 | $table = implode( "\n|-\n", $tableRows ); |
122 | 122 | |
123 | | - $table = "$h3\n\n" . |
| 123 | + $table = |
124 | 124 | '{| class="wikitable sortable"' . "\n" . |
125 | 125 | $table . |
126 | 126 | "\n|}"; |