Extension talk:WebChat

May I see an example configuration for the wiki global variables?
--Informationalwikigroup 21:27, 8 August 2009 (UTC)

No files in downloadarea
Any chance of putting them up there again? Thanks. Extension looks great!

Mibbit ignores a fixed-width wiki
It really makes this extension unusable if you have a wiki which is set ot a fixed or max width. This extension seems to only work at 100% so if you have say a 1200 width wiki and view this extension on a 1900x1200 screen it makes it impossible to use.
 * This is really annoying. Any work around or way to make the IRC applet a fixed width?


 * My solution

Look at the end of the file 'WebChat_body.php' You have to comment this line:

/*	'onLoad'   => 'webChatExpand( this )',*/

The you would choose width and height above. Otherwise, try to modify function webChatExpend bellow.

have fun, ZafX

Made a change to page
Someone left a comment at the end of the first paragraph saying that the extension didnt work with freenode. Ive removed that sentence replaced it with what needs done to get it to work with freenode - ie Install it as described taking account of an ambiguity in the instructions where freenode is concerned. Its just the servername thats blank, not the channel too, this must be set to a channel that is already set up on freenode.

timestamp
is there a way to add timestamps to the chat? --gahoo

Username
Is it possible to make usernames always like this: "Wikiname-Username" instead of "Username" ? Thanks, 94.208.4.89 11:58, 6 December 2009 (UTC)
 * Just spent a long time working it out, but yes you can. In "extensions/WebChat/WebChat_body.php", find this line
 * case '$$$nick$$$':
 * if ( $wgUser->isLoggedIn ) $value = str_replace( ' ', '_', $wgUser->getName );
 * and change " $wgUser->getName " to " 'wikname-' . $wgUser->getName "

Is there any way to log these chats?
Tisane 22:11, 2 April 2010 (UTC)
 * Might be doable by adding an on-wiki config or another global. Not too hard. If you know a little PHP, please give it a try and submit a patch in . siebrand 14:43, 21 April 2010 (UTC)

Cannot
Why do not gives ? I put all it and do not gives, why ? 201.43.187.177 14:01, 24 August 2010 (UTC)
 * bad English. I have no idea what you want. Adamtheclown 15:42, 5 December 2010 (UTC)

Encoding
I need russian charset windows-1251. How can I switch it on?

Erroneous Nickname
On: translatewiki:Special:WebChat

I get the error: $$$nick$$$ Erroneous Nickname

http://gyazo.com/134ed15c67b2e69577a623beac74a043.png

Adamtheclown 15:43, 5 December 2010 (UTC)
 * It appears like translatewiki does not have the username and password like strategywiki,
 * http://strategywiki.org/wiki/Special:WebChat
 * thus the error. Adamtheclown 15:46, 5 December 2010 (UTC)
 * I get the same error on http://strategywiki.org/wiki/Special:WebChat
 * It is a placeholder that PHP replaces with the wikiUsername if logged in. However when logged out it leaves it as it, which results in an error as that is not a valid IRC name. If I recall correctly there is some kind of magic character that you can use that will make Mibbit choose an available nickname for you (# or *, whatever). So you'd let PHP, if logged-out replace '$$$nick$$$' with "{$wgSitename}-Guest-###"). That way people that aren't techsavvy can actually click Special:WebChat and join the channel without having to figure out what $$$nick$$$ means and how to get around the error. Krinkle 00:38, 30 September 2011 (UTC)

Implementation of discussion forum
I would like to know how to imple3ment a discussion forum using wiki like in a social networking site


 * Hi, have a look at the extension WikiForum. Cheers --&#91;&#91;kgh&#93;&#93; 06:51, 13 May 2011 (UTC)

Hi thanks for your help. i am getting the following error "You are not allowed to install WikiForum. Admin rights required. Make sure that you are logged-in and added the correct rights into LocalSetting.php file of MediaWiki. The following lines of code needs to be added in LocalSetting.php: "...please help which file should i be modifying to get the privelages. I have the username with me


 * It looks like you are on some wikifarm. The best way is to ask the system administrator, do not confuse him with the wiki administrator, for help. Cheers --&#91;&#91;kgh&#93;&#93; 11:49, 13 May 2011 (UTC)

Per $_GET['server'] or something similar
On the configuration, replace with It works by checking if the URL contains a  or   so on your pages, you can use   to link to it. Maybe this could implement some REGEX to make sure the server name is valid... Just thought I'd through it out there. --Colejohnson66 01:52, 8 September 2011 (UTC)
 * NOTE: You MUST use the parser function as this adds get variables.
 * This edit URL is /w/index.php?title=Extension_talk:WebChat&action=edit
 * If I try /wiki/Extension_talk:WebChat&action=edit, Mediawiki will try to load the page Extension_talk:WebChat&action=edit and that does not exist...
 * is_null is redundant with empty. You probably meant 'channel' instead of 'server'. Perhaps something like this:

""
 * Krinkle 00:44, 30 September 2011 (UTC)

Download isn't working :(
Can anyone provide a download link, because Mediawikki is dropping a error when im trying to download it. THANK YOU :) --Markus

Mibbit Chat Client isn't working
To me it was not enough to set  in LocalSettings.php

I had to change the url in /exteinsions/WebChat/WebChat.php.

should be replaced with or.

1.3.0 update
The update is not advancing the version number, just a poke :)  Mlpearc  ( open channel ) 16:45, 23 March 2016 (UTC)