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, bureaucrat, emailconfirmed, staff, util, helper, soap, wiki-representative, wiki-specialist, global-discussions-moderator, threadmoderator, vanguard, content-reviewer, translator, imagereviewer, content-moderator, fandom-editor, request-to-be-forgotten-admin, content-volunteer, bot-global, rollback, map-tester, voldev, checkuser, restricted-login-exempt
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, bureaucrat, emailconfirmed, staff, util, helper, soap, wiki-representative, wiki-specialist, global-discussions-moderator, threadmoderator, vanguard, content-reviewer, translator, imagereviewer, content-moderator, fandom-editor, request-to-be-forgotten-admin, content-volunteer, bot-global, rollback, map-tester, voldev, checkuser, restricted-login-exempt
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, tboverride, tboverride-account, titleblacklistlog, skipcaptcha, checkuser, checkuser-log, unblockable, phalanx, phalanxemailblock, phalanxexempt, hideblockername, lookupuser, multilookup, lookupcontribs, template-bulk-classification, piggyback, content-review, content-review-test-mode, analytics, multidelete, announcements, specialdiscussionslog, articlecomments, blogs:create, nuke, articlecomments:viewhidden, articlecomments:validate, articlecomments:delete, discussionslog:view, forums:create, forums:delete, forums:displayorder, forums:edit, forums:read, forums:viewhidden, leaderboard:view, moderatorTools:use, opengraph:create, polls:vote, posts:create, posts:delete, posts:deleteall, posts:edit, posts:lock, posts:report, posts:superedit, posts:validate, posts:viewhidden, posts:vote, threads:create, threads:delete, threads:edit, threads:lock, threads:move, threads:superedit, threads:viewhidden, wall:edit, transcode-reset, transcode-status, geocode
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, tboverride, tboverride-account, titleblacklistlog, skipcaptcha, checkuser, checkuser-log, unblockable, phalanx, phalanxemailblock, phalanxexempt, hideblockername, lookupuser, multilookup, lookupcontribs, template-bulk-classification, piggyback, content-review, content-review-test-mode, analytics, multidelete, announcements, specialdiscussionslog, articlecomments, blogs:create, nuke, articlecomments:viewhidden, articlecomments:validate, articlecomments:delete, discussionslog:view, forums:create, forums:delete, forums:displayorder, forums:edit, forums:read, forums:viewhidden, leaderboard:view, moderatorTools:use, opengraph:create, polls:vote, posts:create, posts:delete, posts:deleteall, posts:edit, posts:lock, posts:report, posts:superedit, posts:validate, posts:viewhidden, posts:vote, threads:create, threads:delete, threads:edit, threads:lock, threads:move, threads:superedit, threads:viewhidden, wall:edit, transcode-reset, transcode-status, geocode
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]