r59101 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59100‎ | r59101 | r59102 >
Date:15:12, 15 November 2009
Author:vrandezo
Status:deferred
Tags:
Comment:
Replaced split with explode since deprecated
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_GeoCoords.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_GeoCoords.php
@@ -154,7 +154,7 @@
155155 $this->m_latparts = false;
156156 $this->m_longparts = false;
157157
158 - list($this->m_lat, $this->m_long) = split(',', $args[0]);
 158+ list($this->m_lat, $this->m_long) = explode(',', $args[0]);
159159 $this->m_caption = $this->formatAngleValues(true) . ', ' . $this->formatAngleValues(false); // this is our output text
160160 $this->m_wikivalue = $this->m_caption;
161161 }

Status & tagging log