Rosetta Code:API/MediaWiki/Perl

From Rosetta Code
Revision as of 14:01, 21 July 2009 by MikeMol (talk | contribs) (A bit of content and structure. Needs compare and contrast between ::API and ::Bot, as the docs for each aren't particularly illuminating. But that's part of why I'm doing this...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!

Perl bindings for MediaWiki, as with all extensions to Perl, are provided as Perl modules, which are included using the use keyword, optionally followed by a list of symbols from the module that you might want to import into your local namespace.

<lang perl>use MediaWiki::API;</lang>

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. Both modules area available via CPAN.

MediaWiki::API

MediaWiki::Bot