r37112 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37111‎ | r37112 | r37113 >
Date:15:19, 5 July 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Fixed typo
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php
@@ -73,8 +73,8 @@
7474 // Create links to mapping services based on a wiki-editable message. The parameters
7575 // available to the message are:
7676 // $1: urlencoded string
77 - if ($this->m_typeid == '_str') {
78 - return false; // no services for Type:Text
 77+ if ($this->m_typeid != '_str') {
 78+ return false; // no services for Type:Text and Type:Code
7979 } else {
8080 return array(rawurlencode($this->m_value));
8181 }

Status & tagging log