MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=contributors (pc)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0+
Get the list of logged-in contributors and the count of anonymous contributors to a page.
- pcgroup
Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with |): bot, sysop, bureaucrat, upwizcampeditors, oversight, flow-bot, translator, smwadministrator
- pcexcludegroup
Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with |): bot, sysop, bureaucrat, upwizcampeditors, oversight, flow-bot, translator, smwadministrator
- pcrights
Only include users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with |): apihighlimits, applychangetags, autoconfirmed, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercssjs, editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, passwordreset, patrol, patrolmarks, protect, proxyunbannable, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, nuke, gadgets-edit, gadgets-definition-edit, renameuser, replacetext, geocode, viewedittab, editrestrictedfields, createclass, upwizcampaigns, confirmaccount, requestips, lookupcredentials, flow-hide, flow-lock, flow-delete, flow-suppress, flow-edit-post, flow-create-board, translate, translate-import, translate-manage, translate-messagereview, translate-groupreview, translate-sandboxmanage, collectionsaveasuserpage, collectionsaveascommunitypage, transcode-reset, transcode-status, masseditregex, interwiki, smw-admin, pagetranslation
- Maximum number of values is 50 (500 for bots).
- pcexcluderights
Exclude users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with |): apihighlimits, applychangetags, autoconfirmed, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercssjs, editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, passwordreset, patrol, patrolmarks, protect, proxyunbannable, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, nuke, gadgets-edit, gadgets-definition-edit, renameuser, replacetext, geocode, viewedittab, editrestrictedfields, createclass, upwizcampaigns, confirmaccount, requestips, lookupcredentials, flow-hide, flow-lock, flow-delete, flow-suppress, flow-edit-post, flow-create-board, translate, translate-import, translate-manage, translate-messagereview, translate-groupreview, translate-sandboxmanage, collectionsaveasuserpage, collectionsaveascommunitypage, transcode-reset, transcode-status, masseditregex, interwiki, smw-admin, pagetranslation
- Maximum number of values is 50 (500 for bots).
- pclimit
How many contributors to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- pccontinue
When more results are available, use this to continue.
- Show contributors to the page Main Page.
- api.php?action=query&prop=contributors&titles=Main_Page