r38755 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38754‎ | r38755 | r38756 >
Date:08:39, 7 August 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Fixed property subject retrieval for types Text and Code (fixes Property page displays for those)
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php
@@ -533,7 +533,9 @@
534534 }
535535
536536 switch ($typeid) {
537 - case '_txt': case '_cod': break; // not supported
 537+ case '_txt': case '_cod':
 538+ $table = 'smw_text2'; // ignore value condition in any case
 539+ break;
538540 case '_wpg': // wikipage
539541 if ($value !== NULL) {
540542 $oid = $this->getSMWPageID($value->getDBkey(),$value->getNamespace(),$value->getInterwiki());

Status & tagging log