Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | $params['staticlocations']->addCriteria( new CriterionIsLocation( '~' ) ); |
95 | 95 | $params['staticlocations']->addManipulations( new MapsParamLocation( '~' ) ); |
96 | 96 | $params['staticlocations']->setDefault( array() ); |
97 | | - $params['staticlocations']->setDescription( wfMsg( 'semanticmaps-par-staticlocations' ) ); |
| 97 | + $params['staticlocations']->setMessage( 'semanticmaps-par-staticlocations' ); |
98 | 98 | |
99 | 99 | $params['centre'] = new Parameter( 'centre' ); |
100 | 100 | $params['centre']->setDefault( false ); |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | $manipulation = new MapsParamLocation(); |
105 | 105 | $manipulation->toJSONObj = true; |
106 | 106 | $params['centre']->addManipulations( $manipulation ); |
107 | | - $params['centre']->setDescription( wfMsg( 'semanticmaps-par-centre' ) ); |
| 107 | + $params['centre']->setMessage( 'semanticmaps-par-centre' ); |
108 | 108 | |
109 | 109 | $params['icon'] = new Parameter( |
110 | 110 | 'icon', |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | New CriterionNotEmpty() |
116 | 116 | ) |
117 | 117 | ); |
118 | | - $params['icon']->setDescription( wfMsg( 'maps-displaypoints-par-icon' ) ); |
| 118 | + $params['icon']->setMessage( 'maps-displaypoints-par-icon' ); |
119 | 119 | |
120 | 120 | $params['forceshow'] = new Parameter( |
121 | 121 | 'forceshow', |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | $smgQPForceShow, |
124 | 124 | array( 'force show' ) |
125 | 125 | ); |
126 | | - $params['forceshow']->setDescription( wfMsg( 'semanticmaps-par-forceshow' ) ); |
| 126 | + $params['forceshow']->setMessage( 'semanticmaps-par-forceshow' ); |
127 | 127 | |
128 | 128 | $params['showtitle'] = new Parameter( |
129 | 129 | 'showtitle', |
— | — | @@ -130,7 +130,7 @@ |
131 | 131 | $smgQPShowTitle, |
132 | 132 | array( 'show title' ) |
133 | 133 | ); |
134 | | - $params['showtitle']->setDescription( wfMsg( 'semanticmaps-par-showtitle' ) ); |
| 134 | + $params['showtitle']->setMessage( 'semanticmaps-par-showtitle' ); |
135 | 135 | |
136 | 136 | $params['template'] = new Parameter( |
137 | 137 | 'template', |
— | — | @@ -142,14 +142,14 @@ |
143 | 143 | ) |
144 | 144 | ); |
145 | 145 | $params['template']->setDoManipulationOfDefault( false ); |
146 | | - $params['template']->setDescription( wfMsg( 'semanticmaps-par-template' ) ); |
| 146 | + $params['template']->setMessage( 'semanticmaps-par-template' ); |
147 | 147 | |
148 | 148 | $params['title'] = new Parameter( |
149 | 149 | 'title', |
150 | 150 | Parameter::TYPE_STRING, |
151 | 151 | $egMapsDefaultTitle |
152 | 152 | ); |
153 | | - $params['title']->setDescription( wfMsg( 'maps-displaypoints-par-title' ) ); |
| 153 | + $params['title']->setMessage( 'maps-displaypoints-par-title' ); |
154 | 154 | |
155 | 155 | $params['label'] = new Parameter( |
156 | 156 | 'label', |
— | — | @@ -157,7 +157,7 @@ |
158 | 158 | $egMapsDefaultLabel, |
159 | 159 | array( 'text' ) |
160 | 160 | ); |
161 | | - $params['label']->setDescription( wfMsg( 'maps-displaypoints-par-label' ) ); |
| 161 | + $params['label']->setMessage( 'maps-displaypoints-par-label' ); |
162 | 162 | |
163 | 163 | return $params; |
164 | 164 | } |