Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=contributors (pc)
- Ten moduł wymaga praw odczytu.
- Źródło: MediaWiki
- Licencja: GPL-2.0-or-later
Pozyskuje listę zalogowanych edytorów i liczbę anonimowych edytorów strony.
- pcgroup
Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- Wartości (oddziel za pomocą | lub alternatywy): bot, bureaucrat, editor, interface-admin, smwadministrator, smwcurator, smweditor, suppress, sysop, upwizcampeditors
- pcexcludegroup
Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- Wartości (oddziel za pomocą | lub alternatywy): bot, bureaucrat, editor, interface-admin, smwadministrator, smwcurator, smweditor, suppress, sysop, upwizcampeditors
- pcrights
Only include users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- Wartości (oddziel za pomocą | lub alternatywy): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, gadgets-definition-edit, gadgets-edit, gtag-exempt, hideuser, import, importupload, ipblock-exempt, lookupuser, managechangetags, markbotedits, mass-upload, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, pagequality, pagequality-admin, patrol, patrolmarks, protect, purge, read, renameuser, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, skipcaptcha, smw-admin, smw-pageedit, smw-patternedit, smw-schemaedit, smw-vieweditpageinfo, smw-viewentityassociatedrevisionmismatch, smw-viewjobqueuewatchlist, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, upwizcampaigns, usermerge, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi
- Maksymalna liczba wartości to 50 (500 dla klientów z podwyższonymi limitami).
- pcexcluderights
Exclude users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- Wartości (oddziel za pomocą | lub alternatywy): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, gadgets-definition-edit, gadgets-edit, gtag-exempt, hideuser, import, importupload, ipblock-exempt, lookupuser, managechangetags, markbotedits, mass-upload, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, pagequality, pagequality-admin, patrol, patrolmarks, protect, purge, read, renameuser, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, skipcaptcha, smw-admin, smw-pageedit, smw-patternedit, smw-schemaedit, smw-vieweditpageinfo, smw-viewentityassociatedrevisionmismatch, smw-viewjobqueuewatchlist, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, upwizcampaigns, usermerge, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi
- Maksymalna liczba wartości to 50 (500 dla klientów z podwyższonymi limitami).
- pclimit
How many contributors to return.
- Type: integer or max
- Wartość musi znajdować się pomiędzy 1 a 500.
- Domyślnie: 10
- pccontinue
Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.
- Show contributors to the page Main Page.
- api.php?action=query&prop=contributors&titles=Main_Page [otwórz w brudnopisie]