Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

MediaWiki API

From Wikiversity - Reading time: 1 min

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]

Licensed under CC BY-SA 3.0 | Source: https://en.wikiversity.org/wiki/MediaWiki_API
19 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF