includes/api/ApiQueryAllLinks.php 1 location
|
@@ 234-240 (lines=7) @@
|
| 231 |
|
} |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
if ( is_null( $resultPageSet ) ) { |
| 235 |
|
$result->addIndexedTagName( [ 'query', $this->getModuleName() ], $this->indexTag ); |
| 236 |
|
} elseif ( $params['unique'] ) { |
| 237 |
|
$resultPageSet->populateFromTitles( $titles ); |
| 238 |
|
} else { |
| 239 |
|
$resultPageSet->populateFromPageIDs( $pageids ); |
| 240 |
|
} |
| 241 |
|
} |
| 242 |
|
|
| 243 |
|
public function getAllowedParams() { |
includes/api/ApiQueryRecentChanges.php 1 location
|
@@ 405-412 (lines=8) @@
|
| 402 |
|
} |
| 403 |
|
} |
| 404 |
|
|
| 405 |
|
if ( is_null( $resultPageSet ) ) { |
| 406 |
|
/* Format the result */ |
| 407 |
|
$result->addIndexedTagName( [ 'query', $this->getModuleName() ], 'rc' ); |
| 408 |
|
} elseif ( $params['generaterevisions'] ) { |
| 409 |
|
$resultPageSet->populateFromRevisionIDs( $revids ); |
| 410 |
|
} else { |
| 411 |
|
$resultPageSet->populateFromTitles( $titles ); |
| 412 |
|
} |
| 413 |
|
} |
| 414 |
|
|
| 415 |
|
/** |
includes/api/ApiQueryWatchlist.php 1 location
|
@@ 286-295 (lines=10) @@
|
| 283 |
|
} |
| 284 |
|
} |
| 285 |
|
|
| 286 |
|
if ( is_null( $resultPageSet ) ) { |
| 287 |
|
$this->getResult()->addIndexedTagName( |
| 288 |
|
[ 'query', $this->getModuleName() ], |
| 289 |
|
'item' |
| 290 |
|
); |
| 291 |
|
} elseif ( $params['allrev'] ) { |
| 292 |
|
$resultPageSet->populateFromRevisionIDs( $ids ); |
| 293 |
|
} else { |
| 294 |
|
$resultPageSet->populateFromPageIDs( $ids ); |
| 295 |
|
} |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
private function extractRowInfo( $row ) { |