includes/api/ApiQueryAllImages.php 1 location
|
@@ 310-314 (lines=5) @@
|
| 307 |
|
} |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if ( is_null( $resultPageSet ) ) { |
| 311 |
|
$result->addIndexedTagName( [ 'query', $this->getModuleName() ], 'img' ); |
| 312 |
|
} else { |
| 313 |
|
$resultPageSet->populateFromTitles( $titles ); |
| 314 |
|
} |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
public function getAllowedParams() { |
includes/api/ApiQueryProtectedTitles.php 1 location
|
@@ 158-165 (lines=8) @@
|
| 155 |
|
} |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
if ( is_null( $resultPageSet ) ) { |
| 159 |
|
$result->addIndexedTagName( |
| 160 |
|
[ 'query', $this->getModuleName() ], |
| 161 |
|
$this->getModulePrefix() |
| 162 |
|
); |
| 163 |
|
} else { |
| 164 |
|
$resultPageSet->populateFromTitles( $titles ); |
| 165 |
|
} |
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
public function getCacheMode( $params ) { |