r19881 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19880‎ | r19881 | r19882 >
Date:11:53, 11 February 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
$smwgContLang needs to be global
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DT_Float.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DT_Float.php
@@ -3,6 +3,8 @@
44 * This file contains the basic float type and unit conversion methods.
55 */
66
 7+global $smwgContLang;
 8+
79 /**
810 * Class for managing floating point types. Parses floating point
911 * number strings, supports unit conversion in subclasses, and
@@ -349,7 +351,6 @@
350352
351353 } // End SMWFloatTypeHandler}
352354
353 -
354355 SMWTypeHandlerFactory::registerTypeHandler($smwgContLang->getDatatypeLabel('smw_float'),
355356 new SMWFloatTypeHandler());
356357

Status & tagging log