r35823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35822‎ | r35823 | r35824 >
Date:21:23, 3 June 2008
Author:yaron
Status:old
Tags:
Comment:
Added replacement of underlines with spaces
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php
@@ -692,7 +692,7 @@
693693 foreach ($data_values as $dv) {
694694 // getPropertyValues() gets many repeat values - we want
695695 // only one of each value
696 - $string_value = $dv->getXSDValue();
 696+ $string_value = str_replace('_', ' ', $dv->getXSDValue());
697697 if (array_search($string_value, $pages) === false)
698698 $pages[] = $string_value;
699699 }

Status & tagging log