Api-User-Agent:

Api-User-Agent:

[1] API:Main page - MediaWiki ( 版) <https://www.mediawiki.org/wiki/API:Main_page>

If you are calling the API from browser-based JavaScript, you won't be able to influence the User-Agent header: the browser will use its own. To work around this, use the Api-User-Agent header: