Followup r75282
Patch by Brad Jorsch
* (bug 27199) Thumbnail urls can be fetched for old files as well
* (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
max value, api doesn't validate the input is actually an integer
+* (bug 27479) API error when using both prop=pageprops and
+ prop=info&inprop=displaytitle
=== Languages updated in 1.18 ===
* @return bool True if it fits in the result
*/
private function addPageProps( $result, $page, $props ) {
- $fit = $result->addValue( array( 'query', 'pages' ), $page, $props );
+ $fit = $result->addValue( array( 'query', 'pages', $page ), 'pageprops', $props );
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', $page );