r55377 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55376‎ | r55377 | r55378 >
Date:12:06, 20 August 2009
Author:yaron
Status:deferred
Tags:
Comment:
Added necessary getName() function
Modified paths:
  • /trunk/extensions/SemanticMaps/SM_Mapper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/SM_Mapper.php
@@ -27,6 +27,10 @@
2828
2929 $this->queryPrinter = new $egMapsServices[$service]['qp']['class']($format, $inline);
3030 }
 31+
 32+ public function getName() {
 33+ return 'map'; // TODO: translate this
 34+ }
3135
3236 public function getQueryMode($context) {
3337 return $this->queryPrinter->getQueryMode($context);
@@ -40,4 +44,4 @@
4145 return $this->queryPrinter->getResultText($res, $outputmode);
4246 }
4347
44 -}
\ No newline at end of file
 48+}

Status & tagging log