r87831 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r87830
|
r87831
|
r87832
>
Date:
17:54, 10 May 2011
Author:
mkroetzsch
Status:
deferred
Tags:
Comment:
make sure that we do not assume that there are no further results if some URIs in a SPARQL result could not be interpreted (count the URIs not the extracted wiki pages)
Modified paths:
/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php
—
—
@@ -430,7 +430,7 @@
431
431
}
432
432
}
433
433
434
- if ( count( $resultDataItems ) > $query->getLimit() ) {
434
+ if ( $sparqlResultWrapper->numRows() > $query->getLimit() ) {
435
435
array_pop( $resultDataItems );
436
436
$hasFurtherResults = true;
437
437
} else {
Status & tagging log
18:22, 10 May 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r87831
[
removed:
new
added:
deferred]