X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryPagePropNames.php;h=11a29ff98da48c265ae2b34e345ea028bd01520c;hb=1470d68c4cb13800bbe76c57fe1b8238ce0e2e16;hp=e4a5002a97fdafeb2000df1e1143b2a00a996dd2;hpb=08aaea93e300d3b34befdbd30368c1293973760e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryPagePropNames.php b/includes/api/ApiQueryPagePropNames.php index e4a5002a97..11a29ff98d 100644 --- a/includes/api/ApiQueryPagePropNames.php +++ b/includes/api/ApiQueryPagePropNames.php @@ -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',