r90156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90155‎ | r90156 | r90157 >
Date:21:03, 15 June 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
address bug 29420
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php
@@ -121,7 +121,7 @@
122122 }
123123 // Deal with complete dataset only if needed:
124124 if ( !isset( $parseroutput->mSMWData ) || $parseroutput->mSMWData->stubObject ) {
125 - $semdata = smwfGetStore()->getSemanticData( $title );
 125+ $semdata = smwfGetStore()->getSemanticData( SMWDIWikiPage::newFromTitle( $title ) );
126126 } else {
127127 $semdata = $parseroutput->mSMWData;
128128 }