Jump to content

Wikipedia:IRC/Tutorial

From Wikipedia, the free encyclopedia

This tutorial is specifically for the Libera Chat IRC network, the network that Wikipedia uses for IRC communication. Some features on this network aren't necessarily on other networks, and features on other networks aren't necessarily here.

Option 1: use IRC in a browser tab (easy)

[edit]

In a modern web browser follow this link to visit Wikipedia's help channel.

Option 2: choose which IRC client to use (advanced)

[edit]

Alternatively, to access the Libera IRC servers, you can choose an IRC client. Some popular IRC clients are listed below, or see Comparison of Internet Relay Chat clients.

How do I connect?

[edit]

Once you have a client, you'll need a server. You can simply use irc.libera.chat to reach the main rotation of servers. You can also find a full list by executing:

  • host irc.libera.chat (Linux)
  • nslookup irc.libera.chat (Windows)

Having connection problems?

[edit]

After you've obtained your client and the name of a server, you may still need a bit of help in getting connected. Take a look at this tutorial or this IRC primer on irchelp.org, which contains a variety of other useful information as well.

About the network services

[edit]

Nickname registration

[edit]

If you want to use a certain nickname on the network and don't want anyone else to take it, you must register it with the network.

You can do so by typing (in any window): /msg nickserv register password [email protected], of course substituting password for any password of your choosing, and [email protected] with your email address. Try not to make your password too predictable or guessable, but also avoid using any password you use elsewhere since it's very easy to accidentally type your password into an IRC channel revealing it to others. You should now check your email for the confirmation message from Libera Chat, and complete the steps it contains. Please note that disposable/throwaway emails are not allowed and using one could delay or negatively affect your registration.

Registering your nickname will also allow you to be added to a channel's access list; for example, some of the people in #wikipedia-en-help have +'s beside their nicknames (to identify "helpers").

Note: You only have to register your nickname once. Every other time you connect from that point on, you need to prove who you are, with this command: /msg nickserv identify password You can also configure your IRC client to automatically log you in when you connect; see the section below. There are some other options you can set (as well as privacy options), you'll want to get a list by typing: /msg nickserv help

Setting your IRC client to identify upon connect

[edit]

You can configure your IRC client to automatically log you in when you connect. You can look up how to do this for your specific IRC client, configure SASL (if your client supports it), or supply your password as a server password to be forwarded to NickServ. See Libera Chat's guide to logging in.

Some IRC clients allow you to automatically issue commands when connecting to a server, including logging you in:

Extended content

mIRC

[edit]
  1. Go to File ▸ Select Server ▸ Options ▸ Perform
  2. Go to Network, click Add, find 'Libera.Chat' in the list and click OK.
  3. In the Perform Commands section, add:
    /nick your_nickname
    /msg nickserv identify your_password
  4. Click OK as many times as you need to get out of the menus and you're all done.

ChatZilla

[edit]
  1. From the menu choose ChatZilla ▸ Preferences. Navigate to Global Settings.
  2. Navigate to the Startup tab. Scroll down to Locations.
  3. Click Add and use the following formats to add a network and channel, and to identify:
    irc://irc.libera.chat/wikipedia-en
    ircs://irc.libera.chat/nickserv,isnick?msg=identify%20your_password
    (in the last example replace your_password with your Freenode account password)
  4. Click Apply, followed by OK, to get out of the ChatZilla Preferences dialog
  5. To add all of your channels individually in the same format once you've joined them, right-click the tab of each channel and select "Open this Channel at Startup"
  6. To bookmark a channel without joining it automatically at startup, drag the tab for that channel directly to SeaMonkey's Bookmarks Toolbar or Menu

HexChat (Windows version)

[edit]
  1. Go to HexChat. Select Network list.
  2. If the Libera.Chat network exists in the network list, then click on Edit and skip ahead to step 5
  3. If it does not yet exist in the list, click Add and type Libera.Chat, then hit enter and click on Edit
  4. Replace the string newserver/6667 with irc.libera.chat/6667
  5. In the "User name" field, enter your nickname. Select "SASL (username + password)" for the "Login method" field.
  6. In the Password field, enter your NickServ password.

Emacs (ERC)

[edit]

ERC is part of the GNU project. It is included with recent versions of GNU Emacs. To run, type: M-x erc - if you run erc in this way you need to pass "irc.libera.chat" as server, "6667" as port, and your nickname (you can omit the password unless you have registered the nickname).

You can speed up connection process if you put this in your init file (~/.emacs)

  (defun irc ()
    "Connect to Libera Chat"
    (interactive)
    (erc :server "irc.libera.chat"
         :port 6667
         :nick "your_nick"
         :password "your_password OR nil"))
  
  (global-set-key "\C-ci"  'irc)

Then you can run the IRC client with C-c i.

Quassel

[edit]
  1. Go to Settings ▸ Configure Quassel...
  2. In the left pane, click "Networks" (under "IRC")
  3. Select the "Auto Identify" tab.
  4. Check the "Auto Identify" checkbox, and fill in the server (should be NickServ) and your password.
  5. Click "Apply" at the bottom, and then "OK" to close the window.

Cloaks

[edit]

Wikimedia cloaks

[edit]

See the instruction page on Meta-Wiki.

"Unaffiliated" cloaks

[edit]

Since 1 April 2024, all newly-registered accounts on Libera Chat automatically get a generic user/YourName cloak to hide your IP address.

If you registered your account before this date and want a generic cloak, or want to swap your Wikimedia cloak for a generic one, or would prefer your hostname/IP address to be visible then contact Libera Chat staff.

IRC channel list

[edit]

IRC client settings

[edit]
  • The realname (or Full Name) can optionally be set to anything you want. It does not need to be your real name; some people enter their username here.
  • The ident setting should ideally be turned on, and again can be set to anything you want.

What are some basic commands?

[edit]

Here are some basic commands for IRC: (as taken from Wikibooks)

Command What it does Example
/attach
/server
Sign on to a server /attach irc.libera.chat
/server irc.libera.chat
/nick Set your nickname /nick your_nickname
/join
/j
Join a channel /join #wikipedia-en
/j #wikipedia-en
/msg Sends a message (can either be private or to the entire channel) Message the channel: /msg #wikipedia-en Hello, World!
Send a private message: /msg JohnDoe Hi, John.
/whois Display information about a user on the server /whois JohnDoe
/stats p Displays a list of active, on-call network staff /stats p
/clear
/clear all
Clears a channel's text.
Clears all open channel's text.
/clear
/clear all
/away Sets an away message. information Type /away again to return from away. /away I'm away because...
/me Sends an action to the channel. See example. The following:
/me loves pie.
would output to the chat in the case of JohnDoe:
JohnDoe loves pie.
/quit Disconnects you from the IRC network. You can also quit with a quit message. /quit Off to bed.

What happens: JohnDoe has quit (Quit: Off to bed)