r85778 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85777‎ | r85778 | r85779 >
Date:01:36, 11 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added additional messages
Modified paths:
  • /trunk/extensions/SemanticMaps/SemanticMaps.i18n.php (modified) (history)
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php
@@ -105,7 +105,8 @@
106106 $params['centre']->setDoManipulationOfDefault( false );
107107 $manipulation = new MapsParamLocation();
108108 $manipulation->toJSONObj = true;
109 - $params['centre']->addManipulations( $manipulation );
 109+ $params['centre']->addManipulations( $manipulation );
 110+ $params['centre']->setDescription( wfMsg( 'semanticmaps-par-centre' ) );
110111
111112 $params['icon'] = new Parameter(
112113 'icon',
@@ -144,6 +145,7 @@
145146 )
146147 );
147148 $params['template']->setDoManipulationOfDefault( false );
 149+ $params['template']->setDescription( wfMsg( 'semanticmaps-par-template' ) );
148150
149151 $params['title'] = new Parameter(
150152 'title',
Index: trunk/extensions/SemanticMaps/SemanticMaps.i18n.php
@@ -49,6 +49,8 @@
5050 '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.',
5151 'semanticmaps-par-forceshow' => 'Show the map even when there are no locations to display?',
5252 '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.',
 53+ 'semanticmaps-par-centre' => 'The centre of the map. When not provided, the map will automatically pick the optimal centre to display all markers on the map.',
 54+ 'semanticmaps-par-template' => 'A template to use to format the info window contents with.'
5355 );
5456
5557 /** Message documentation (Message documentation)

Status & tagging log