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=centralauthtoken
(main | centralauthtoken)
- Bu modül okuma hakları gerektirir.
- Kaynak: CentralAuth
- Lisans: GPL-2.0-or-later
Ekli bir vikiye doğrulanmış bir istekte bulunmak için bir centralauthtoken getirin.
Returns a token that can be use to authenticate API requests on other wikis. For action API requests, put it in the centralauthtoken GET parameter. For REST API requests, add an Authorization: CentralAuthToken {token}
header. In MediaWiki frontend logic, you can use the mediawiki.ForeignApi
ResourceLoader module.
Örnek:
- Bir centralauthtoken getir
- api.php?action=centralauthtoken [sandbox'ta açın]