r93647 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93646‎ | r93647 | r93648 >
Date:20:35, 1 August 2011
Author:jeroendedauw
Status:deferred
Tags:lamecommitsummary 
Comment:
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php
@@ -93,7 +93,7 @@
9494 $params['staticlocations']->addCriteria( new CriterionIsLocation( '~' ) );
9595 $params['staticlocations']->addManipulations( new MapsParamLocation( '~' ) );
9696 $params['staticlocations']->setDefault( array() );
97 - $params['staticlocations']->setDescription( wfMsg( 'semanticmaps-par-staticlocations' ) );
 97+ $params['staticlocations']->setMessage( 'semanticmaps-par-staticlocations' );
9898
9999 $params['centre'] = new Parameter( 'centre' );
100100 $params['centre']->setDefault( false );
@@ -103,7 +103,7 @@
104104 $manipulation = new MapsParamLocation();
105105 $manipulation->toJSONObj = true;
106106 $params['centre']->addManipulations( $manipulation );
107 - $params['centre']->setDescription( wfMsg( 'semanticmaps-par-centre' ) );
 107+ $params['centre']->setMessage( 'semanticmaps-par-centre' );
108108
109109 $params['icon'] = new Parameter(
110110 'icon',
@@ -114,7 +114,7 @@
115115 New CriterionNotEmpty()
116116 )
117117 );
118 - $params['icon']->setDescription( wfMsg( 'maps-displaypoints-par-icon' ) );
 118+ $params['icon']->setMessage( 'maps-displaypoints-par-icon' );
119119
120120 $params['forceshow'] = new Parameter(
121121 'forceshow',
@@ -122,7 +122,7 @@
123123 $smgQPForceShow,
124124 array( 'force show' )
125125 );
126 - $params['forceshow']->setDescription( wfMsg( 'semanticmaps-par-forceshow' ) );
 126+ $params['forceshow']->setMessage( 'semanticmaps-par-forceshow' );
127127
128128 $params['showtitle'] = new Parameter(
129129 'showtitle',
@@ -130,7 +130,7 @@
131131 $smgQPShowTitle,
132132 array( 'show title' )
133133 );
134 - $params['showtitle']->setDescription( wfMsg( 'semanticmaps-par-showtitle' ) );
 134+ $params['showtitle']->setMessage( 'semanticmaps-par-showtitle' );
135135
136136 $params['template'] = new Parameter(
137137 'template',
@@ -142,14 +142,14 @@
143143 )
144144 );
145145 $params['template']->setDoManipulationOfDefault( false );
146 - $params['template']->setDescription( wfMsg( 'semanticmaps-par-template' ) );
 146+ $params['template']->setMessage( 'semanticmaps-par-template' );
147147
148148 $params['title'] = new Parameter(
149149 'title',
150150 Parameter::TYPE_STRING,
151151 $egMapsDefaultTitle
152152 );
153 - $params['title']->setDescription( wfMsg( 'maps-displaypoints-par-title' ) );
 153+ $params['title']->setMessage( 'maps-displaypoints-par-title' );
154154
155155 $params['label'] = new Parameter(
156156 'label',
@@ -157,7 +157,7 @@
158158 $egMapsDefaultLabel,
159159 array( 'text' )
160160 );
161 - $params['label']->setDescription( wfMsg( 'maps-displaypoints-par-label' ) );
 161+ $params['label']->setMessage( 'maps-displaypoints-par-label' );
162162
163163 return $params;
164164 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93644replaced setDescription by setMessage and up'ed rel notesjeroendedauw20:09, 1 August 2011

Status & tagging log