Page MenuHomePhabricator

rcdumper.php no longer works
Closed, ResolvedPublic

Description

Author: mikevalstar

Description:
rcdumper.php in 1.5b4 now errors out with

Fatal error: Call to a member function query() on a non-object in
/var/www/gentoo-wiki.com/htdocs/irc/rcdumper.php on line 58

i tried adding in

include('LocalSettings.php');
$dbr = new Database( $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname );

That allows it to connect to teh database but $recentchanges is not defined, so
i defined that and it seemed to work

thank you


Version: 1.5.x
Severity: normal
OS: Linux
Platform: PC
URL: http://gentoo-wiki.com

Details

Reference
bz3134

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:45 PM
bzimport set Reference to bz3134.
bzimport added a subscriber: Unknown Object (MLST).

rcdumper.php is obsolete and will likely be removed.

mikevalstar wrote:

is it being replaced at all?

It was replaced some time ago; RC IRC lines can be sent out over UDP direct from
the wiki:

Send RC updates via UDP

$wgRC2UDPAddress = false;
$wgRC2UDPPort = false;
$wgRC2UDPPrefix = '';

mikevalstar wrote:

ok now i just need to write something to receive those udp packets...
anyhoo i guess this file should be removed form release then? (if its not going
to be fixed)

Have removed from HEAD and REL1_5.