Go to the source code of this file.
Functions | |
delayMin () | |
getMicroTime () | |
getIrcOutput ($socket, $in) | |
joinRoom ($sock, $room) | |
partRoom ($sock, $room) | |
processIrcInput ($sock, $line) | |
emptyQueue ($id) | |
Variables | |
$ircNick = "wikipedia_rc" | |
$rooms = array("en" => 1, "fr" => 1, "de" => 1) | |
$ircServer = "irc.freenode.net" | |
$ircSockName = "tcp://$ircServer" | |
$ircPort = 6667 | |
$minDelay = 0.5 | |
$ircReadTimeout = 200000 | |
$ircWriteTimeout = 30 | |
$fmB = chr(2) | |
$fmU = chr(31) | |
$queueId = 337055475 | |
$maxMessageSize = 16384 | |
$ircPassword = mt_rand(0xffffffff) | |
$hostname = getenv(SERVER_NAME) | |
$queue = msg_get_queue($queueId) | |
$sockIRC = fsockopen( $ircSockName, $ircPort ) | |
$readObjs = array( $sockIRC, $queue ) | |
$die = false | |
$line = rtrim(fgets( $sockIRC )) |
|
Definition at line 76 of file rc2irc.php. References $minDelay, and getMicroTime(). Referenced by getIrcOutput(). |
|
Definition at line 186 of file rc2irc.php. |
|
Definition at line 97 of file rc2irc.php. References $comment, $empty, $flag, $fullString, $lastid, $rooms, $title, $url, $user, delayMin(), and title. |
|
Definition at line 91 of file rc2irc.php. Referenced by convertLinks(), and delayMin(). |
|
Definition at line 146 of file rc2irc.php. References $rooms. Referenced by processIrcInput(). |
|
Definition at line 153 of file rc2irc.php. References $rooms. Referenced by processIrcInput(). |
|
Definition at line 160 of file rc2irc.php. References $args, $die, $rooms, joinRoom(), name, and partRoom(). |
|
Definition at line 52 of file rc2irc.php. Referenced by processIrcInput(). |
|
Definition at line 11 of file rc2irc.php. |
|
Definition at line 12 of file rc2irc.php. |
|
Definition at line 21 of file rc2irc.php. Referenced by OutputPage::reportTime(). |
|
Definition at line 3 of file rc2irc.php. |
|
Definition at line 20 of file rc2irc.php. |
|
Definition at line 7 of file rc2irc.php. |
|
Definition at line 9 of file rc2irc.php. |
|
Definition at line 5 of file rc2irc.php. |
|
Definition at line 6 of file rc2irc.php. |
|
Definition at line 10 of file rc2irc.php. |
|
Definition at line 67 of file rc2irc.php. Referenced by _DiffEngine::_diag(), memcached::_incrdecr(), MemCachedClient::_load_items(), memcached::_set(), dbsource(), _DiffEngine::diff(), PageHistory::history(), ImagePage::imageHistory(), showHit(), wfAbruptExit(), and wfAddRow(). |
|
Definition at line 14 of file rc2irc.php. |
|
Definition at line 8 of file rc2irc.php. Referenced by delayMin(). |
|
Definition at line 23 of file rc2irc.php. Referenced by RecentChange::save(). |
|
Definition at line 13 of file rc2irc.php. |
|
Definition at line 49 of file rc2irc.php. |
|
Definition at line 4 of file rc2irc.php. Referenced by getIrcOutput(), joinRoom(), partRoom(), and processIrcInput(). |
|
Definition at line 32 of file rc2irc.php. |