MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

prop=contributors (pc)

(main | query | contributors)

Get the list of logged-in contributors and the count of anonymous contributors to a page.

Parameters:
pcgroup

Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Values (separate with | or alternative): bot, sysop, interface-admin, bureaucrat, administrator, nsSysadminRW, nsSysadminRO, nsSysadminDEL, nsSysadmin_TalkRW, nsSysadmin_TalkRO, nsSysadmin_TalkDEL, nsCDCRW, nsCDCRO, nsCDCDEL, nsCDC_TalkRW, nsCDC_TalkRO, nsCDC_TalkDEL, nsContentRW, nsContentRO, nsContentDEL, nsContent_TalkRW, nsContent_TalkRO, nsContent_TalkDEL, nsCS382RW, nsCS382RO, nsCS382DEL, nsCS382_TalkRW, nsCS382_TalkRO, nsCS382_TalkDEL, nsDepartmentRW, nsDepartmentRO, nsDepartmentDEL, nsDepartment_TalkRW, nsDepartment_TalkRO, nsDepartment_TalkDEL, nsGradingRW, nsGradingRO, nsGradingDEL, nsGrading_TalkRW, nsGrading_TalkRO, nsGrading_TalkDEL, nsAppliedGroupsRW, nsAppliedGroupsRO, nsAppliedGroupsDEL, nsAppliedGroups_TalkRW, nsAppliedGroups_TalkRO, nsAppliedGroups_TalkDEL, nsPedagogicalRW, nsPedagogicalRO, nsPedagogicalDEL, nsPedagogical_TalkRW, nsPedagogical_TalkRO, nsPedagogical_TalkDEL, nsFundingRW, nsFundingRO, nsFundingDEL, nsFunding_TalkRW, nsFunding_TalkRO, nsFunding_TalkDEL
Maximum number of values is 50 (500 for bots).
pcexcludegroup

Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Values (separate with | or alternative): bot, sysop, interface-admin, bureaucrat, administrator, nsSysadminRW, nsSysadminRO, nsSysadminDEL, nsSysadmin_TalkRW, nsSysadmin_TalkRO, nsSysadmin_TalkDEL, nsCDCRW, nsCDCRO, nsCDCDEL, nsCDC_TalkRW, nsCDC_TalkRO, nsCDC_TalkDEL, nsContentRW, nsContentRO, nsContentDEL, nsContent_TalkRW, nsContent_TalkRO, nsContent_TalkDEL, nsCS382RW, nsCS382RO, nsCS382DEL, nsCS382_TalkRW, nsCS382_TalkRO, nsCS382_TalkDEL, nsDepartmentRW, nsDepartmentRO, nsDepartmentDEL, nsDepartment_TalkRW, nsDepartment_TalkRO, nsDepartment_TalkDEL, nsGradingRW, nsGradingRO, nsGradingDEL, nsGrading_TalkRW, nsGrading_TalkRO, nsGrading_TalkDEL, nsAppliedGroupsRW, nsAppliedGroupsRO, nsAppliedGroupsDEL, nsAppliedGroups_TalkRW, nsAppliedGroups_TalkRO, nsAppliedGroups_TalkDEL, nsPedagogicalRW, nsPedagogicalRO, nsPedagogicalDEL, nsPedagogical_TalkRW, nsPedagogical_TalkRO, nsPedagogical_TalkDEL, nsFundingRW, nsFundingRO, nsFundingDEL, nsFunding_TalkRW, nsFunding_TalkRO, nsFunding_TalkDEL
Maximum number of values is 50 (500 for bots).
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 | or alternative): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjson, editmyuserjs, editmywatchlist, editsemiprotected, editsitecss, editsitejson, editsitejs, editusercss, edituserjson, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, 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
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 | or alternative): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjson, editmyuserjs, editmywatchlist, editsemiprotected, editsitecss, editsitejson, editsitejs, editusercss, edituserjson, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, 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
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.

Example:
Show contributors to the page Main Page.
api.php?action=query&prop=contributors&titles=Main_Page [open in sandbox]