r37020 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37019‎ | r37020 | r37021 >
Date:07:16, 4 July 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
for the moment, this store ignores the new concept descriptions
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php
@@ -871,9 +871,10 @@
872872 }
873873 } else { // special property
874874 switch ($property) {
875 - case SMW_SP_IMPORTED_FROM: case SMW_SP_INSTANCE_OF: case SMW_SP_SUBCLASS_OF: case SMW_SP_REDIRECTS_TO:
 875+ case SMW_SP_IMPORTED_FROM: case SMW_SP_INSTANCE_OF: case SMW_SP_SUBCLASS_OF: case SMW_SP_REDIRECTS_TO: case SMW_SP_CONCEPT_DESC:
876876 // don't store this, just used for display;
877877 // TODO: filtering here is bad for fully neglected properties (IMPORTED FROM)
 878+ // NOTE: concept descriptions are ignored by that storage implementation
878879 break;
879880 case SMW_SP_SUBPROPERTY_OF:
880881 if ( $subject->getNamespace() != SMW_NS_PROPERTY ) {

Status & tagging log