r86518 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86517‎ | r86518 | r86519 >
Date:18:06, 20 April 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
changed datatype registration according to new SMW code
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/SM_GeoCoordsHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/SM_GeoCoordsHooks.php
@@ -73,8 +73,7 @@
7474 * @return true
7575 */
7676 public static function initGeoCoordsType() {
77 - SMWDataValueFactory::registerDatatype( '_geo', 'SMGeoCoordsValue', 'Geographic coordinate' );
78 - SMWDataValueFactory::registerDataItem( '_geo', 'SMDIGeoCoord' );
 77+ SMWDataValueFactory::registerDatatype( '_geo', 'SMGeoCoordsValue', SMWDataItem::TYPE_GEO, 'Geographic coordinate' );
7978 return true;
8079 }
8180

Status & tagging log