Followup to r70701: Facepalm fixing.
authorX! <soxred93@users.mediawiki.org>
Mon, 9 Aug 2010 16:26:35 +0000 (16:26 +0000)
committerX! <soxred93@users.mediawiki.org>
Mon, 9 Aug 2010 16:26:35 +0000 (16:26 +0000)
includes/api/ApiQueryPageProps.php

index 4629333..f1bc886 100644 (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';
        }