MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=smpuserprivacy

(main | smpuserprivacy)
  • This module requires read rights.
  • Source: ViewRelationships
  • License: unknown

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

Parameters:
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)

tuid

Target user (ID)

Type: integer