* @package MediaWiki and a new @subpackage, "IRC".
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 5 Apr 2005 20:35:27 +0000 (20:35 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 5 Apr 2005 20:35:27 +0000 (20:35 +0000)
irc/rcdumper.php

index 002b046..2adbd50 100644 (file)
@@ -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' );