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=smpuserprivacy

(main | smpuserprivacy)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: SocialProfile
  • License: unknown

API module for setting the visibility ("privacy") of a profile field

Specific parameters:
Other general parameters are available.
method

Action (either "get" or "set")

field_key

Target field key, such as up_movies for the "Movies" field

privacy

New privacy value (one of the following: public, hidden, friends, foaf)

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.