Index: trunk/extensions/Maps/Maps.i18n.php |
— | — | @@ -174,6 +174,16 @@ |
175 | 175 | // OpenLayers |
176 | 176 | 'maps-openlayers-par-controls' => 'The controls to place on the map.', |
177 | 177 | 'maps-openlayers-par-layers' => 'The layers that will be available in the layer selector. The first layer will be shown when the map loads.', |
| 178 | + |
| 179 | + // OSM |
| 180 | + 'maps-osm-par-thumbs' => 'Show thumbs', |
| 181 | + 'maps-osm-par-photos' => 'Show photos', |
| 182 | + |
| 183 | + // Yahoo! Maps_examples |
| 184 | + 'maps-yahoomaps-par-type' => 'The map type to initially show.', |
| 185 | + 'maps-yahoomaps-par-types' => 'The map types that will be available via the type control.', |
| 186 | + 'maps-yahoomaps-par-controls' => 'The controls to place on the map.', |
| 187 | + 'maps-yahoomaps-par-autozoom' => 'Enable scrolling using the mousewheel.', |
178 | 188 | ); |
179 | 189 | |
180 | 190 | /** Message documentation (Message documentation) |
Index: trunk/extensions/Maps/includes/services/OSM/Maps_OSM.php |
— | — | @@ -66,12 +66,14 @@ |
67 | 67 | Parameter::TYPE_BOOLEAN, |
68 | 68 | $egMapsOSMThumbs |
69 | 69 | ); |
| 70 | + $params['thumbs']->setDescription( wfMsg( 'maps-osm-par-thumbs' ) ); |
70 | 71 | |
71 | 72 | $params['photos'] = new Parameter( |
72 | 73 | 'photos', |
73 | 74 | Parameter::TYPE_BOOLEAN, |
74 | 75 | $egMapsOSMPhotos |
75 | | - ); |
| 76 | + ); |
| 77 | + $params['photos']->setDescription( wfMsg( 'maps-osm-par-photos' ) ); |
76 | 78 | } |
77 | 79 | |
78 | 80 | } |
Index: trunk/extensions/Maps/includes/services/YahooMaps/Maps_YahooMaps.php |
— | — | @@ -52,7 +52,8 @@ |
53 | 53 | $params['controls'] = new ListParameter( 'controls' ); |
54 | 54 | $params['controls']->setDefault( $egMapsYMapControls ); |
55 | 55 | $params['controls']->addCriteria( new CriterionInArray( self::getControlNames() ) ); |
56 | | - $params['controls']->addManipulations( new ParamManipulationFunctions( 'strtolower' ) ); |
| 56 | + $params['controls']->addManipulations( new ParamManipulationFunctions( 'strtolower' ) ); |
| 57 | + $params['controls']->setDescription( wfMsg( 'maps-yahoomaps-par-controls' ) ); |
57 | 58 | |
58 | 59 | $params['type'] = new Parameter( |
59 | 60 | 'type', |
— | — | @@ -65,6 +66,7 @@ |
66 | 67 | array( 'types' ) |
67 | 68 | ); |
68 | 69 | $params['type']->addManipulations( new MapsParamYMapType() ); |
| 70 | + $params['type']->setDescription( wfMsg( 'maps-yahoomaps-par-type' ) ); |
69 | 71 | |
70 | 72 | $params['types'] = new ListParameter( |
71 | 73 | 'types', |
— | — | @@ -77,15 +79,18 @@ |
78 | 80 | ) |
79 | 81 | ); |
80 | 82 | $params['types']->addManipulations( new MapsParamYMapType() ); |
| 83 | + $params['types']->setDescription( wfMsg( 'maps-yahoomaps-par-types' ) ); |
81 | 84 | |
82 | 85 | $params['autozoom'] = new Parameter( |
83 | 86 | 'autozoom', |
84 | 87 | Parameter::TYPE_BOOLEAN, |
85 | 88 | $egMapsYahooAutozoom |
86 | 89 | ); |
| 90 | + $params['autozoom']->setDescription( wfMsg( 'maps-yahoomaps-par-autozoom' ) ); |
87 | 91 | |
88 | 92 | $params['resizable'] = new Parameter( 'resizable', Parameter::TYPE_BOOLEAN ); |
89 | | - $params['resizable']->setDefault( $egMapsResizableByDefault, false ); |
| 93 | + $params['resizable']->setDefault( $egMapsResizableByDefault, false ); |
| 94 | + $params['resizable']->setDescription( wfMsg( 'maps-par-resizable' ) ); |
90 | 95 | } |
91 | 96 | |
92 | 97 | /** |