X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryPageProps.php;h=269afb147c7bf33f85ff05cf232fdcc2f3215389;hb=b594c133f3a751e0729c0052a65985f17c6b7fd1;hp=e370c39f422881d3b743f89ccddf699c3472bb34;hpb=f0edb3e368a5fc69218d20f76f1538b68f37db42;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index e370c39f42..269afb147c 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -125,28 +125,19 @@ class ApiQueryPageProps extends ApiQueryBase { public function getAllowedParams() { return array( - 'continue' => null, + 'continue' => array( + ApiBase::PARAM_HELP_MSG => 'api-help-param-continue', + ), 'prop' => array( ApiBase::PARAM_ISMULTI => true, ), ); } - public function getParamDescription() { - return array( - 'continue' => 'When more results are available, use this to continue', - 'prop' => 'Only list these props. Useful for checking whether a ' . - 'certain page uses a certain page prop', - ); - } - - public function getDescription() { - return 'Get various properties defined in the page content.'; - } - - public function getExamples() { + protected function getExamplesMessages() { return array( - 'api.php?action=query&prop=pageprops&titles=Category:Foo', + 'action=query&prop=pageprops&titles=Category:Foo' + => 'apihelp-query+pageprops-example-simple', ); }