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=smpuserprofiletype
(main | smpuserprofiletype)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: SocialProfile
- License: unknown
Get a user's user page type or set your own user page type
Specific parameters:
Other general parameters are available.
- do
Action to perform (get or set)
- This parameter is required.
- One of the following values: get, set
- user
User name (only relevant when do is get as this module cannot be used to set other user's user page types, only your own)
- Type: user, by any of username, IP, IP range and interwiki name (e.g. "prefix>ExampleName")
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.