diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
commit | 1de335ad3f395ca6861085393ba366a9e3fb4a0d (patch) | |
tree | f1fdd326034e05177596851be6a7127615d81498 /includes/api/ApiQueryContributors.php | |
parent | 9c75fa8ff6d4d38ef552c00fef5969fb154765e8 (diff) | |
parent | f6d65e533c62f6deb21342d4901ece24497b433e (diff) |
Merge commit 'f6d65'
# Conflicts:
# skins/ArchLinux/ArchLinux.php
Diffstat (limited to 'includes/api/ApiQueryContributors.php')
-rw-r--r-- | includes/api/ApiQueryContributors.php | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/includes/api/ApiQueryContributors.php b/includes/api/ApiQueryContributors.php index 55ea4702..7e76db25 100644 --- a/includes/api/ApiQueryContributors.php +++ b/includes/api/ApiQueryContributors.php @@ -236,43 +236,16 @@ class ApiQueryContributors extends ApiQueryBase { ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1, ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2 ), - 'continue' => null, - ); - } - - public function getParamDescription() { - return array( - 'group' => array( - 'Limit users to given group name(s)', - 'Does not include implicit or auto-promoted groups like *, user, or autoconfirmed' - ), - 'excludegroup' => array( - 'Exclude users in given group name(s)', - 'Does not include implicit or auto-promoted groups like *, user, or autoconfirmed' + 'continue' => array( + ApiBase::PARAM_HELP_MSG => 'api-help-param-continue', ), - 'rights' => array( - 'Limit users to those having given right(s)', - 'Does not include rights granted by implicit or auto-promoted groups ' . - 'like *, user, or autoconfirmed' - ), - 'excluderights' => array( - 'Limit users to those not having given right(s)', - 'Does not include rights granted by implicit or auto-promoted groups ' . - 'like *, user, or autoconfirmed' - ), - 'limit' => 'How many contributors to return', - 'continue' => 'When more results are available, use this to continue', ); } - public function getDescription() { - return 'Get the list of logged-in contributors and ' . - 'the count of anonymous contributors to a page.'; - } - - public function getExamples() { + protected function getExamplesMessages() { return array( - 'api.php?action=query&prop=contributors&titles=Main_Page', + 'action=query&prop=contributors&titles=Main_Page' + => 'apihelp-query+contributors-example-simple', ); } |