r38616 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38615‎ | r38616 | r38617 >
Date:07:45, 5 August 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Show query errors also for format=count
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php
@@ -300,7 +300,7 @@
301301 return $result;
302302 } else { // result for counting or debugging is just a string
303303 wfProfileOut('SMWQueryProcessor::getResultFromQuery (SMW)');
304 - return $res;
 304+ return $res . smwfEncodeMessages($query->getErrors());
305305 }
306306 }
307307

Status & tagging log