Rosetta Code:API/MediaWiki

From Rosetta Code

MediaWiki runs at the core of Rosetta Code. It offers several builtin programmatic interfaces, including api.php and index.php.

Interactions with the MediaWiki builtin APIs will require authentication for some operations, and special account privileges for others. Traditionally, the "Bot" status is granted to user accounts which are dedicated to use by a bot. This allows the bot's access to the site to be disabled if its behavior becomes detrimental to the site. Examples of such cases might include consuming too many server resources, repeated corruption of pages or execution of processes and changes which have been decided are incorrect or inappropriate.


There are at least two Perl bindings for interacting with MediaWiki, MediaWiki::API and MediaWiki::Bot. MediaWiki::Bot provides bot-specific abstractions to MediaWiki::API.