MediaWiki API

From Wikiversity
Jump to navigation Jump to search

MediaWiki API is a web-based interface to MediaWiki wikis such as Wikipedia and Wikiversity. The API may be used to write bots, which are manual or automated scripts used to monitor and update pages on the wiki. This learning project documents different API resources and provides code samples in different scripting languages.

Documentation[edit]

Scripting Languages[edit]

Because the API is simply a web interface, it may be accessed from any programming or scripting language that has the ability to submit web-based GET and POST requests and read server responses. Common approaches include Python, Perl, and .NET.

Sample Code[edit]

See Also[edit]