Extension:IRC Chat
This extension is currently open to feature requests.
|
IRC Chat Release status: stable |
|
|---|---|
| Implementation | Special page |
| Description | Adds an IRC Applet to your wiki |
| Author(s) | Quentin Sheets |
| Last version | 2.07 (2008-07-20) |
| MediaWiki | 1.6.10+ |
| License | GPL |
| Download | .tar.gz .zip |
| Example | Mario wiki |
| Check usage and version matrix | |
This extension allows users to talk in an IRC chat, using the program PJIRC through the MediaWiki interface.
New features of this release:
- IRC FAQ and Rules pop ups.
- Skin based:
- IRC size
- Pre/post IRC applet HTML. (for those DIVs and TABLEs)
Contents |
Installation [edit]
- OPTIONAL -- Download the PJIRC binary, which can be found at www.pjirc.com, and save it into the
/ircdirectory of your website. - Run SQL command and patch files
- Download and unzip the extension's files into the wiki's extensions directory.
- Modify SpecialIrc_custom.php to suit your needs.
- Enjoy your new IRC client.
SQL and Patch [edit]
In the SQL command line, run:
ALTER TABLE USER ADD user_irc_nick VARCHAR(255) NOT NULL AFTER user_real_name;
In the regular command line, run:
$ cd /path/to/wiki/ $ patch -p0 < mw1.X.X-irc.patch
Where 1.X.X is your MediaWiki version. Patch files can be found here.
- NOTE: If you are unable to patch the files via command line (external host), you may download the pre-patched files.
Changes to LocalSettings.php [edit]
require_once("$IP/extensions/irc/SpecialIrc.php");
Changes to MonoBook and all MonoBook based skins [edit]
Insert the lines you see with the + in front of them where you see them here. This will not need to be done in skins like Cologne Blue and Nostalgia, for they already include the lines by default.
Note: The following should be done to the main skin file (i.e. skins/MonoBook.php), and not the dependencies file (i.e. skins/MonoBook.deps.php).
* @addtogroup Skins */ class SkinMonoBook extends SkinTemplate { /** Using monobook. */ function initPage( &$out ) { SkinTemplate::initPage( $out ); $this->skinname = 'monobook'; $this->stylename = 'monobook'; $this->template = 'MonoBookTemplate'; } + function getSkinName() { + return "monobook"; + } } /** * @todo document
For the skin based colors to work correctly, the skin name must be lower-case.
Notes [edit]
To edit the messages displayed in the FAQ and Rules pop-ups, you should navigate to MediaWiki:Ircfaq and MediaWiki:Ircrules after installing this extension. Please, do not try editing it in the messages file, as doing such could cause problems with the functioning of the wiki.
Known Issues [edit]
- None at this current time.
Roadmap [edit]
1.x Series [edit]
1.05 (05 May, 2007) [edit]
The first build -- mostly representative of the PJIRC applet slapped onto a wiki page. This version can still be downloaded here.
1.07 (21 July, 2007) [edit]
Added database functionality. Users can now store their IRC nick through the Special:Preferences page. This version can still be downloaded here.
1.10 (25 October, 2007) [edit]
The IRC applet's colors are influenced by the wiki skins (administrator defined). This version can still be downloaded here.
2.x Series [edit]
2.01 (01 January, 2008) -- The New Year's Gift [edit]
The IRC applet's width and height are now also influenced by the wiki skins (administrator defined). Pre and post applet HTML can be added to help PJIRC better suit the looks of each skin. This version can still be downloaded here.
2.07 (20 July, 2008) -- 39th Anniversary of the Apollo 11 Moon Landing [edit]
The extension is finally internationalized.
Future Developments [edit]
This is a list of confirmed future holdings for this extension (besides the caveats). Please list all requests on the discussion page.
- Linux Option - Channel statistics, for those who decided to go out and install PISG on their server.
