Merge "GitInfo: Allow cache to be in the extension directory itself"
[lhc/web/wiklou.git] / includes / api / ApiQueryPagePropNames.php
index e4a5002..11a29ff 100644 (file)
@@ -78,7 +78,7 @@ class ApiQueryPagePropNames extends ApiQueryBase {
                        }
                }
 
-               $result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'p' );
+               $result->addIndexedTagName( array( 'query', $this->getModuleName() ), 'p' );
        }
 
        public function getAllowedParams() {
@@ -96,7 +96,7 @@ class ApiQueryPagePropNames extends ApiQueryBase {
                );
        }
 
-       public function getExamplesMessages() {
+       protected function getExamplesMessages() {
                return array(
                        'action=query&list=pagepropnames'
                                => 'apihelp-query+pagepropnames-example-simple',