From: X! Date: Mon, 9 Aug 2010 16:26:35 +0000 (+0000) Subject: Followup to r70701: Facepalm fixing. X-Git-Tag: 1.31.0-rc.0~35582 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=f40723965bb401cb93694c8d0d41d742bb6aaad9;p=lhc%2Fweb%2Fwiklou.git Followup to r70701: Facepalm fixing. --- diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index 4629333beb..f1bc886d0a 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -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'; }