pwb - a shell interface to your MediaWiki::Bot
pwb [ --norc ] [ --verbose --debug ]
pwb (which stands for PerlWikiBot) is the default entrance to MediaWiki::Bot::Shell, which provides a shell interface to your MediaWiki::Bot (a Perl framework for writing bots to interface with MediaWiki wikis).
See MediaWiki::Bot::Shell, or run help in the shell, for information on the available commands.
help
Sets the verbosity level. Currently, only on or off, but in the future, providing this option once will give only error messages, while giving it twice will provide more detailed non-error output.
Skips reading ~/.perlwikibot-shell.rc, and prompts for the same data instead.
~/.perlwikibot-shell.rc holds login details. The format is simple:
username = My username # Your username password = totallysecure # You guessed it! host = meta.wikimedia.org # Where to log in do_sul = no # Whether to do SUL login (takes a bit longer)
By specifying protocol, host, and path, you can use the secure server:
... protocol = https host = secure.wikimedia.org path = wikipedia/meta/w do_sul = no # No need for SUL when using the secure server
If the --norc option is used, or the file doesn't exist or isn't readable, the user will be prompted for this information.
MediaWiki::Bot::Shell, MediaWiki::Bot and the admin plugin.
Yes.
Mike.lifeguard <mike.lifeguard@gmail.com>
Copyright (C) 2010 by Mike.lifeguard.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install MediaWiki::Bot::Shell, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MediaWiki::Bot::Shell
CPAN shell
perl -MCPAN -e shell install MediaWiki::Bot::Shell
For more information on module installation, please visit the detailed CPAN module installation guide.