Followup to r70701: Facepalm fixing.

This commit is contained in:
X! 2010-08-09 16:26:35 +00:00
parent 7d9d83329f
commit f40723965b

View file

@ -72,7 +72,7 @@ class ApiQueryPageProps extends ApiQueryBase {
foreach ( $this->everything as $pageid => $title ) {
$pageInfo = $this->extractPageInfo( $pageid, $title, $prop );
$pageInfo = $this->extractPageInfo( $pageid, $title, $params['prop'] );
$fit = $result->addValue( array(
'query',
'pages'
@ -121,7 +121,7 @@ class ApiQueryPageProps extends ApiQueryBase {
return $pageInfo;
}
public function getCacheMode() {
public function getCacheMode( $params ) {
return 'public';
}