How can I parse Wikitext using the MediaWiki API? I found this article here: https://www.mediawiki.org/wiki/API%3aParsing_wikitext , But I do not understand where to send the parameters. I tried it here: https://en.wikipedia.org/w/api.php , but it didn't work out. Thanks in advance.

Closed due to the fact that off-topic participants are user207618, Denis Bubnov , Vadim Ovchinnikov , aleksandr barakin , user194374 1 Feb '17 at 6:08 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Spirit of the community, Denis Bubnov, Vadim Ovchinnikov, aleksandr barakin, Spirit of the community
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • I think they wrote "did not work", write and what exactly "did not work". - user207618
  • First you need to talk about what you were trying to do, then show how. - ilyaplot

1 answer 1

All figured out. It was necessary instead of action = query to put action = parse. Here's the query: https://en.wikipedia.org/w/api.php?format=json&action=parse&text==text=
You can further develop the topic with the parameters further.