MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=contributors (pc)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
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 | or alternative): MW_Ops, SG_All_Contractors, SG_All_Employees, SG_All_Interns, SG_All_Sweden_Employees, SG_All_USA_Employees, SG_Batman_Administrator, SG_Batman_All, SG_Batman_Dev, SG_Copilot_All, SG_Copilot_Leadership, SG_Cumberland_All, SG_Cumberland_Leadership, SG_DevHiringManagers, SG_DraftKings_All, SG_Executive, SG_ExecutiveOps, SG_GTA_All, SG_Glacier_All, SG_Glacier_Leadership, SG_HR_All, SG_Helios_All, SG_Helios_Leadership, SG_HoHR_Developers, SG_HoHR_Developers_Admin, SG_KAI_All, SG_KAI_Leadership, SG_Lithonaut_All, SG_Lithonaut_Leadership, SG_Minecraft_All, SG_Minecraft_Dev, SG_NumbersGame_All, SG_NumbersGame_Leadership, SG_Ops_All, SG_Ops_USA, SG_PeopleManagers, SG_RapidFire_All, SG_RapidFire_Leadership, SG_Recruiting_All, SG_Recruiting_ExecOps, SG_Recruiting_USA, SG_Wizard_All, SG_Wizard_Leadership, SG_XLT, bot, bureaucrat, copyviobot, electionadmin, houser, interface-admin, pageproperties-admin, pageproperties-editor, smwadministrator, smwcurator, smweditor, suppress, sysop
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- pcexcludegroup
Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- Values (separate with | or alternative): MW_Ops, SG_All_Contractors, SG_All_Employees, SG_All_Interns, SG_All_Sweden_Employees, SG_All_USA_Employees, SG_Batman_Administrator, SG_Batman_All, SG_Batman_Dev, SG_Copilot_All, SG_Copilot_Leadership, SG_Cumberland_All, SG_Cumberland_Leadership, SG_DevHiringManagers, SG_DraftKings_All, SG_Executive, SG_ExecutiveOps, SG_GTA_All, SG_Glacier_All, SG_Glacier_Leadership, SG_HR_All, SG_Helios_All, SG_Helios_Leadership, SG_HoHR_Developers, SG_HoHR_Developers_Admin, SG_KAI_All, SG_KAI_Leadership, SG_Lithonaut_All, SG_Lithonaut_Leadership, SG_Minecraft_All, SG_Minecraft_Dev, SG_NumbersGame_All, SG_NumbersGame_Leadership, SG_Ops_All, SG_Ops_USA, SG_PeopleManagers, SG_RapidFire_All, SG_RapidFire_Leadership, SG_Recruiting_All, SG_Recruiting_ExecOps, SG_Recruiting_USA, SG_Wizard_All, SG_Wizard_Leadership, SG_XLT, bot, bureaucrat, copyviobot, electionadmin, houser, interface-admin, pageproperties-admin, pageproperties-editor, smwadministrator, smwcurator, smweditor, suppress, sysop
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- 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, createclass, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editrestrictedfields, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, embed_pdf, hideuser, import, import_users, importupload, inlinecomments-add, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, multipageedit, nominornewtalk, noratelimit, override-export-depth, pagelang, pageproperties-caneditpageproperties, pagetriage-copyvio, patrol, patrolmarks, protect, purge, read, renameuser, reupload, reupload-own, reupload-shared, rollback, sacl-exempt, securepoll-create-poll, securepoll-view-voter-pii, sendemail, siteadmin, smw-admin, smw-pageedit, smw-patternedit, smw-schemaedit, smw-vieweditpageinfo, smw-viewentityassociatedrevisionmismatch, smw-viewjobqueuewatchlist, suppressionlog, suppressredirect, suppressrevision, transcode-reset, transcode-status, unblockself, undelete, unwatchedpages, upload, upload_by_url, userexport, userrights, userrights-interwiki, view-non-categorized-media, viewedittab, viewmyprivateinfo, viewmywatchlist, viewsuppressed, vipsscaler-test, writeapi
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- 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, createclass, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editrestrictedfields, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, embed_pdf, hideuser, import, import_users, importupload, inlinecomments-add, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, multipageedit, nominornewtalk, noratelimit, override-export-depth, pagelang, pageproperties-caneditpageproperties, pagetriage-copyvio, patrol, patrolmarks, protect, purge, read, renameuser, reupload, reupload-own, reupload-shared, rollback, sacl-exempt, securepoll-create-poll, securepoll-view-voter-pii, sendemail, siteadmin, smw-admin, smw-pageedit, smw-patternedit, smw-schemaedit, smw-vieweditpageinfo, smw-viewentityassociatedrevisionmismatch, smw-viewjobqueuewatchlist, suppressionlog, suppressredirect, suppressrevision, transcode-reset, transcode-status, unblockself, undelete, unwatchedpages, upload, upload_by_url, userexport, userrights, userrights-interwiki, view-non-categorized-media, viewedittab, viewmyprivateinfo, viewmywatchlist, viewsuppressed, vipsscaler-test, writeapi
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- pclimit
How many contributors to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- pccontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Show contributors to the page Main Page.
- api.php?action=query&prop=contributors&titles=Main%20Page [open in sandbox]