r85678 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85677‎ | r85678 | r85679 >
Date:17:49, 8 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added some adittional 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
@@ -96,6 +96,7 @@
9797 $params['staticlocations']->addCriteria( new CriterionIsLocation( '~' ) );
9898 $params['staticlocations']->addManipulations( new MapsParamLocation( '~' ) );
9999 $params['staticlocations']->setDefault( array() );
 100+ $params['staticlocations']->setDescription( wfMsg( 'semanticmaps-par-staticlocations' ) );
100101
101102 $params['centre'] = new Parameter( 'centre' );
102103 $params['centre']->setDefault( false );
@@ -123,6 +124,7 @@
124125 $smgQPForceShow,
125126 array( 'force show' )
126127 );
 128+ $params['forceshow']->setDescription( wfMsg( 'semanticmaps-par-forceshow' ) );
127129
128130 $params['showtitle'] = new Parameter(
129131 'showtitle',
@@ -130,6 +132,7 @@
131133 $smgQPShowTitle,
132134 array( 'show title' )
133135 );
 136+ $params['showtitle']->setDescription( wfMsg( 'semanticmaps-par-showtitle' ) );
134137
135138 $params['template'] = new Parameter(
136139 'template',
Index: trunk/extensions/SemanticMaps/SemanticMaps.i18n.php
@@ -45,6 +45,10 @@
4646 'semanticmaps_paramdesc_overlays' => 'The overlays available on the map',
4747 'semanticmaps_paramdesc_autozoom' => 'If zoom in and out by using the mouse scroll wheel is enabled',
4848 '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.',
4953 );
5054
5155 /** Message documentation (Message documentation)

Status & tagging log