Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -96,6 +96,7 @@ |
97 | 97 | $params['staticlocations']->addCriteria( new CriterionIsLocation( '~' ) ); |
98 | 98 | $params['staticlocations']->addManipulations( new MapsParamLocation( '~' ) ); |
99 | 99 | $params['staticlocations']->setDefault( array() ); |
| 100 | + $params['staticlocations']->setDescription( wfMsg( 'semanticmaps-par-staticlocations' ) ); |
100 | 101 | |
101 | 102 | $params['centre'] = new Parameter( 'centre' ); |
102 | 103 | $params['centre']->setDefault( false ); |
— | — | @@ -123,6 +124,7 @@ |
124 | 125 | $smgQPForceShow, |
125 | 126 | array( 'force show' ) |
126 | 127 | ); |
| 128 | + $params['forceshow']->setDescription( wfMsg( 'semanticmaps-par-forceshow' ) ); |
127 | 129 | |
128 | 130 | $params['showtitle'] = new Parameter( |
129 | 131 | 'showtitle', |
— | — | @@ -130,6 +132,7 @@ |
131 | 133 | $smgQPShowTitle, |
132 | 134 | array( 'show title' ) |
133 | 135 | ); |
| 136 | + $params['showtitle']->setDescription( wfMsg( 'semanticmaps-par-showtitle' ) ); |
134 | 137 | |
135 | 138 | $params['template'] = new Parameter( |
136 | 139 | 'template', |
Index: trunk/extensions/SemanticMaps/SemanticMaps.i18n.php |
— | — | @@ -45,6 +45,10 @@ |
46 | 46 | 'semanticmaps_paramdesc_overlays' => 'The overlays available on the map', |
47 | 47 | 'semanticmaps_paramdesc_autozoom' => 'If zoom in and out by using the mouse scroll wheel is enabled', |
48 | 48 | 'semanticmaps_paramdesc_layers' => 'The layers available on the map', |
| 49 | + |
| 50 | + 'semanticmaps-par-staticlocations' => 'A list of locations to add to the map together with the queried data. Like with display_points, you can add a title, description and icon per location using the tilde "~" as separator.', |
| 51 | + 'semanticmaps-par-forceshow' => 'Show the map even when there are no locations to display?', |
| 52 | + 'semanticmaps-par-showtitle' => 'Show a title in the marker info window or not. Disabling this is often usefull when using a template to format the info window content.', |
49 | 53 | ); |
50 | 54 | |
51 | 55 | /** Message documentation (Message documentation) |