From f40723965bb401cb93694c8d0d41d742bb6aaad9 Mon Sep 17 00:00:00 2001 From: X! Date: Mon, 9 Aug 2010 16:26:35 +0000 Subject: [PATCH] Followup to r70701: Facepalm fixing. --- includes/api/ApiQueryPageProps.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; } -- 2.20.1