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
action=pageownership-set-permissions
(main | pageownership-set-permissions)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: PageOwnership
- License: GPL-2.0-or-later
pageownership set permissions
Specific parameters:
Other general parameters are available.
- usernames
set permissions usernames
- This parameter is required.
- permissions-by-type
set permissions permissions by type
- additional-right
set permissions additional right
- add-permissions
set permissions add permissions
- remove-permissions
set permissions remove permissions
- pageids
set permissions pageids
- namespaces
set permissions namespaces
- id
set permissions id
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.