http://example.com/cgi-bin/cgiirc/irc.cgi # # Change the Channel in the form below.... $wgExtensionFunctions[] = "wfCgiIrcLoginExtension"; function wfCgiIrcLoginExtension() { global $wgParser; $wgParser->setHook( "cgiirclogin", "printCgiIrcLoginForm" ); } function printCgiIrcLoginForm( $input, $argv ) { global $wgParser; $wgParser->disableCache(); $output = "
"; return $output; } ?>