* @package MediaWiki and a new @subpackage, "IRC".
This commit is contained in:
parent
da2407ce84
commit
f2bdbecee7
1 changed files with 10 additions and 8 deletions
|
|
@ -1,18 +1,20 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Example command-line:
|
||||
php rcdumper.php | irc -d -c \#channel-to-join nick-of-bot some.irc.server
|
||||
where irc is the name of the ircII executable.
|
||||
The name of the IRC server should match $ircServer below.
|
||||
*/
|
||||
/**
|
||||
* A recentchanges IRC bot
|
||||
*
|
||||
* Example command-line where irc is the name of the ircII executable:
|
||||
* php rcdumper.php | irc -d -c \#channel nick server
|
||||
* The name of the IRC server should match $ircServer below.
|
||||
*
|
||||
* @package MediaWiki
|
||||
* @subpackage IRC
|
||||
*/
|
||||
|
||||
$ircServer = "irc.freenode.net";
|
||||
|
||||
# Set the below if this is running on a non-Wikimedia site:
|
||||
#$serverName="your.site.here";
|
||||
|
||||
|
||||
ini_set( "display_errors", 1 );
|
||||
$wgCommandLineMode = true;
|
||||
$optionsWithArgs = array( 'm' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue