Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=smpuserprivacy
(main | smpuserprivacy)
- Ten moduł wymaga praw odczytu.
- Ten moduł wymaga praw zapisu.
- Ten moduł akceptuje tylko żądania POST.
- Źródło: SocialProfile
- Licencja: nieznana
API module for setting the visibility ("privacy") of a profile field
Parametry:
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
Token „csrf” pobrany z action=query&meta=tokens
- Ten parametr jest wymagany.