MediaWiki API yardımı

Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.

Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=growthsetmenteestatus

(main | growthsetmenteestatus)
  • Bu modül okuma hakları gerektirir.
  • Bu modül yazma hakları gerektirir.
  • Bu modül yalnızca POST isteklerini kabul eder.
  • Kaynak: GrowthExperiments
  • Lisans: GPL-3.0-or-later

Set mentee's status (allows mentees to enable/disable mentorship module, or to opt-out entirely, which deletes the mentee/mentor relationship)

Parametre:
Other general parameters are available.
state

New status of the mentee (warning: setting this to optout will permanently deletes mentee/mentor relationship)

enabled
Mentorship module is enabled
disabled
Mentorship module is fully disabled. This is normally set by the software and used for A/B testing.
optout
Mentee opted out from mentorship; mentee/mentor relationship will be deleted, mentorship module will be replaced with a possibility to opt back in
Bu parametre gerekli.
Aşağıdaki değerlerden biri: disabled, enabled, optout
token

action=query&meta=tokens üzerinden alınan bir "csrf" anahtarı

Bu parametre gerekli.