Couple more userid properties for Bug 19195
[lhc/web/wiklou.git] / includes / api / ApiQueryPageProps.php
index 4629333..858f08a 100644 (file)
@@ -69,10 +69,8 @@ class ApiQueryPageProps extends ApiQueryBase {
                        }
                }
 
-               
-
                foreach ( $this->everything as $pageid => $title ) {
-                       $pageInfo = $this->extractPageInfo( $pageid, $title, $prop );
+                       $pageInfo = $this->extractPageInfo( $pageid, $title, $this->params['prop'] );
                        $fit = $result->addValue( array(
                                'query',
                                'pages'
@@ -121,7 +119,7 @@ class ApiQueryPageProps extends ApiQueryBase {
                return $pageInfo;
        }
 
-       public function getCacheMode() {
+       public function getCacheMode( $params ) {
                return 'public';
        }