Index: trunk/extensions/SemanticMaps/QueryPrinters/SM_MapPrinter.php |
— | — | @@ -217,13 +217,15 @@ |
218 | 218 | |
219 | 219 | if ($this->template) { |
220 | 220 | global $wgParser; |
221 | | - $segments = array_merge(array($this->template, $titleForTemplate, $lat, $lon), $label); |
| 221 | + $segments = array_merge( |
| 222 | + array($this->template, 'title=' . $titleForTemplate, 'latitude=' . $lat, 'longitude=' . $lon), |
| 223 | + $label |
| 224 | + ); |
222 | 225 | $text = $wgParser->recursiveTagParse('{{' . implode('|', $segments) . '}}'); |
223 | 226 | } |
224 | 227 | |
225 | 228 | $this->m_locations[] = array($lat, $lon, $title, $text, $icon); |
226 | 229 | } |
227 | | - |
228 | 230 | } |
229 | 231 | } |
230 | 232 | } |