X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryPagePropNames.php;h=11a29ff98da48c265ae2b34e345ea028bd01520c;hb=88a1f77aaf1ff863a3d1376521f571ee0f9ca05a;hp=e4a5002a97fdafeb2000df1e1143b2a00a996dd2;hpb=73a1b801e6627d5be2d01804674f8b21abb31806;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',