Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php |
— | — | @@ -362,7 +362,7 @@ |
363 | 363 | |
364 | 364 | if ( $incoming && $smwgBrowseShowInverse ) { |
365 | 365 | $oppositeprop = SMWPropertyValue::makeUserProperty( wfMsg( 'smw_inverse_label_property' ) ); |
366 | | - $labelarray = &smwfGetStore()->getPropertyValues( $property->getDataItem(), $oppositeprop->getDataItem() ); |
| 366 | + $labelarray = &smwfGetStore()->getPropertyValues( $property->getDataItem()->getDiWikiPage(), $oppositeprop->getDataItem() ); |
367 | 367 | $rv = ( count( $labelarray ) > 0 ) ? $labelarray[0]->getLongWikiText(): |
368 | 368 | wfMsg( 'smw_inverse_label_default', $property->getWikiValue() ); |
369 | 369 | } else { |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php |
— | — | @@ -163,7 +163,7 @@ |
164 | 164 | * If called with $subject == null, all values for the given property |
165 | 165 | * are returned. |
166 | 166 | * |
167 | | - * @param $subject mixed SMWDataItem or null |
| 167 | + * @param $subject mixed SMWDIWikiPage or null |
168 | 168 | * @param $property SMWDIProperty |
169 | 169 | * @param $requestoptions SMWRequestOptions |
170 | 170 | * |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | /** |
184 | 184 | * @see SMWStore::getPropertyValues |
185 | 185 | * |
186 | | - * @param $subject mixed SMWDataItem or null |
| 186 | + * @param $subject mixed SMWDIWikiPage or null |
187 | 187 | * @param $property SMWDIProperty |
188 | 188 | * @param $requestoptions SMWRequestOptions |
189 | 189 | * |