guiwp has asked for the wisdom of the Perl Monks concerning the following question:
Some days ago I was interested in learning perl (as its name suggests: Practical Extraction and Report Language) with some library of my interest and I found libraries to deal with the MediaWiki API. I've tried the MediaWiki::Bot and MediaWiki::API but no one seems to pass tests with login function.
The function that login in the server is basically simple:
$mw->login( { lgname => $settings->{username}, lgpassword => $settings->{password} }) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details}; I've even run the syntax checker perl -c -T sample.pl but everything was fine. Remember that I would like to learn perl using some library to access wikipedia etc. (want to do some tasks on Wikipedia), some one could suggest another library or maybe teach me how to use these libraries that I cited?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Library to access MediaWiki
by stevieb (Canon) on Jun 13, 2016 at 13:47 UTC | |
by guiwp (Sexton) on Jun 13, 2016 at 14:11 UTC |