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, interface-admin, suppress, sysop
- 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, interface-admin, suppress, sysop
- 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, dpl_param_delete_rules, dpl_param_update_rules, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, gadgets-definition-edit, gadgets-edit, hideuser, import, importupload, interwiki, ipblock-exempt, managechangetags, markbotedits, masseditregex, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, nuke, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, renameuser, replacetext, reupload, reupload-own, reupload-shared, rollback, sendemail, sfsblock-bypass, siteadmin, skipcaptcha, spamblacklistlog, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, unblockself, undelete, unwatchedpages, upload, upload_by_url, 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, dpl_param_delete_rules, dpl_param_update_rules, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, gadgets-definition-edit, gadgets-edit, hideuser, import, importupload, interwiki, ipblock-exempt, managechangetags, markbotedits, masseditregex, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, nuke, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, renameuser, replacetext, reupload, reupload-own, reupload-shared, rollback, sendemail, sfsblock-bypass, siteadmin, skipcaptcha, spamblacklistlog, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, unblockself, undelete, unwatchedpages, upload, upload_by_url, 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]