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=uploadavatar
(main | uploadavatar)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: SocialProfile
- License: unknown
Upload an avatar.
Specific parameters:
Other general parameters are available.
- file
New avatar image file contents.
- Must be posted as a file upload using multipart/form-data.
- url
URL to fetch the file from.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example: