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 | edit source]

Scripting Languages[edit | edit source]

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 | edit source]

See Also[edit | edit source]