从维基百科获取维基文本 API?

Get wikitext from wikipedia API?

我正在查看此处的 API 文档,

https://www.mediawiki.org/wiki/API:Query

文档开头提到了获取页面的 wikitext,

The action=query module allows you to get information about a wiki and the data stored in it, such as the wikitext of a particular page, the links and categories of a set of pages, or the token you need to change wiki content.

但我似乎无法弄清楚在 API 请求中向给定页面的 return 维基文本传递哪些参数。有人知道怎么做吗?

我试过

这样的参数
{'action':'query', 'titles':'Anarchism', 'prop':'wikitext', 'format':'json'}

您必须使用此查询。

   https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=json&titles=Anarchism&rvslots=main