r42925 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42924‎ | r42925 | r42926 >
Date:17:33, 31 October 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php
@@ -276,6 +276,8 @@
277277 $output->mSMWData = new SMWSemanticData(SMWWikiPageValue::makePageFromTitle($title));
278278 }
279279 $semdata = $output->mSMWData;
 280+ } else { // give up, just keep the old data
 281+ return true;
280282 }
281283 $pmdat = SMWPropertyValue::makeProperty('_MDAT');
282284 $dv = SMWDataValueFactory::newPropertyObjectValue($pmdat, $wgContLang->sprintfDate('d M Y G:i:s',$article->getTimestamp()));

Status & tagging log