Working with MediaWiki
2nd ed., HTML version

Chapter 6 Communication

MediaWiki provide a variety of ways for users to communicate with one another. These include talk pages for potentially large-scale discussions, personal communication via user talk pages (and potentially via more social networking-like interfaces in the future), threaded discussions at the bottoms of pages via some extensions, real-time chat, and finally users emailing each other via the wiki. We'll cover all of these in this chapter.

Talk pages

As we saw in the last chapter, every regular namespace for content in MediaWiki has an associated talk namespace, meant to hold pages used to discuss the contents of pages in that regular namespace. In the interface, one of the elements that usually shows up automatically for each page is a link to that page's corresponding talk page; in most skins this is the second tab within the top row of tabs. A page and its corresponding talk page will have the same name, but in different namespaces; for instance, the talk page for “University of Chicago” would be “Talk:University of Chicago”, while the talk page for “Category:Universities” would be “Category talk:Universities”.
Talk pages in MediaWiki, in general, are intended only for discussion of the corresponding page and how to improve it, and not for discussion of the page's underlying topic – that holds true for both Wikipedia and internal organizational wikis. There are two major exceptions to that, though. Talk pages for users, i.e. pages in the “User talk:” namespace (in English), are usually used for communication with that user, and only rarely to discuss the contents of the user page itself. And on wiki pages meant for documenting some technical topic, like a piece of software, the talk page can often turn into an informal venue for questions and answers about the page's topic.
You decide, then, to bring it to the talk page. You click on the page's “Discussion” tab, and then among the tabs will appear one called either “Add topic” or just “+”, depending on which skin you're using. You should click that tab. Then you'll see a standard edit interface, but with the addition of a “Subject/headline” field at the top. In that field, you could write something like “Founded in 1983?”, and in the body, the following:
I had always thought the South American division was started in the 1990s - I think I heard that during the employee orientation. Was it really in 1983? If so, is there a source for that? ~~~~
Then you hit “Save”, and the new section is created. The “~~~~” at the end is important – when you save the page, that set of four tildes gets changed into a “signature”, containing your username, a link to your talk page, and the date and time the message was posted. You could also put “~~~” instead – three tildes instead of four. This will display everything but the date and time. In practice, there's no good reason to do this; four tildes is always better.
If you're not logged in, your IP address will be displayed instead of a username – which is not very helpful, so you might as well manually type in your name and the data, instead of using the tildes, in that case.
Now it's time to wait – a response could come in the next hour, or in the next month, or of course not at all. You can keep checking the talk page, or monitor it via one of the many ways of monitoring MediaWiki pages – recent changes, watchlist, RSS/Atom, email, etc.
If no response appears within a certain period of time (entirely up to you), you can feel free to make the change you were thinking of making – you can even make the change at the same time as you post the talk page question, so that you don't have to deal with it again until a response comes.
Now, what happens if a discussion does ensue on the talk page? There's a standard syntax that's used. As we saw in the MediaWiki syntax chapter, colons are used for indenting paragraphs, and in the case of talk pages each message is usually intended one further than the previous message. After five or six colons, though, the discussion usually goes back to no colons, for the sake of both sanity and readability, and then the pattern begins again. And if a person's statement is more than one paragraph, each paragraph should begin with the same number of colons.
As before, every statement should end with the user's signature, set by typing "~~~~".

Archiving

If a talk page starts to get very long, the solution is to archive old comments. Unfortunately, there's no way to do that automatically – it has to be done by hand. You do that by copying some or all of the current talk page into a separate page that's a subpage of the main page, i.e. a page with the name "Talk:name of page/something else". Then the relevant content is removed from the current talk page, and a link is placed in the talk page to that archive page.
Templates help a lot when archiving talk pages. Usually two templates are used: one to be placed at the top of the talk page, which holds links to all the archive pages for that talk page, and another to be put at the top of archive pages, explaining that this is an archive page and linking back to the talk page.
On Wikipedia, archiving is usually done when the talk page reaches over 35 KB or so, and the archive pages are usually given sequential numbers: the first archive page is called “Talk:page name/1”, the second one is called “Talk:page name/2”, etc. This works fine, although I recommend an alternate approach for naming: using the date within the name, so that the subpage is called “/2019” or “/May 2019 to January 2020” or “/May 2019”, etc., depending on the span of time contained within the archive. This makes it easier for users to find a particular old discussion, if they can remember approximately when it happened. There's no reason, however, to set the frequency of archiving based on this: just because you have archive pages named “2019” and “2020” doesn't mean that you need a page named “2021”, if there's not enough content for that one year.

Threaded discussions

On the face of it, using a flat wiki page for a discussion is absurd: it requires people to remember a syntax for indentations and another syntax for signatures, it lets people edit each others' comments, it lets you put in bad formatting and mess up the whole rest of the page, etc. The much more logical approach is to have a system that supports standard threaded comments, where you either hit “New post” or find a comment you want to reply to and hit “Reply”, then type and save your comment and you're done. (And you can then edit your own comments, but not others'.)
Ironically, 2015 was also the last year that real development was done on StructuredDiscussions; since then the only development on it has been maintenance, to fix bugs and ensure that it works with newer versions of MediaWiki. Why did real development stop? It was never fully explained, but surely the main reason is that the extension never caught on, on Wikipedia and the other Wikimedia sites – editors preferred the talk page interface that they were used to. (Although SD remains in heavy use on mediawiki.org, at least.)
Of course, the views of Wikipedia editors do not need to affect your choices on your own wiki. But StructuredDiscussions has never been that popular among “regular” wikis, either. Perhaps that is due to some of the awkward aspects of its user interface – like its use of the so-called “infinite scrolling technique”, where you have to keep scrolling down to see additional discussions (there's also a “Browse topics” link at the top, but it is easy to miss). A more standard paginated display (breaking up topics into pages, reverse-chronologically) might have made it easier to see the overall structure of the discussions: when the talk page was most active, what the topics of discussion were at different times in the past, what the current set of recent discussions looks like, and so on.
StructuredDiscussions will most likely keep being supported for a long time; but there is also the chance that it will become unmaintained – next year, or five years from now, or ten years from now. That risk, in addition to the problems with the user interface, make it seem like a bad idea to install the extension on a new wiki.
If you're still interested in StructuredDiscussions, though, its page is here:
A newer tool, which seems like the way forward, is the DiscussionTools extension – an extension that is already in heavy use on Wikipedia talk pages. It presents a much more lightweight approach to enabling threaded discussions: instead of imposing its own structure on talk pages, involving a custom interface, custom storage of threads, and the like, it keeps talk pages as they are – but provides “reply” links after each comment, which bring up a VisualEditor popup interface when clicked, making it easy to do even complex threaded questions without the need to know any wikitext. Figure 6 shows a section from the page “Talk:Almoravid dynasty” on the English-language Wikipedia, after a “reply” link is clicked: note the “subscribe” link at the top, allowing the user to be notified of future posts to this section, as well as the “reply” links on both current posts, allowing the user to reply to either one.
Figure 6.1: DiscussionTools interface on the English-language Wikipedia
Unfortunately, DiscussionTools, being a relatively new extension, does not work yet outside of Wikimedia wikis – there are bugs in its implementation if you try to just install it locally. WMF developers are planning to make it usable, though, and even to add it in as one of MediaWiki's bundled extensions, perhaps in the next few years. You can read more about DiscussionTools' current status here:

Handling reader comments

Another option is the CommentStreams extension, which provides an interface for blog-style comments, which get displayed at the bottom of regular pages. These comments do not get stored in an outside service like Disqus, but rather in the wiki's own database:
Finally, you can set up an actual forum/discussion board, outside of the context of any content pages, at Special:WikiForum, using the WikiForum extension :

Chat

These two extensions provide a chat room interface at Special:Chat and Special:WebChat, respectively.

Emailing users

The page Special:EmailUser lets any user with a confirmed email address email any other user on the wiki with a confirmed email address. The user can set anything for the email's subject and body. The email that is sent will have the sender's username and email address appear as the “From” in the email, so you shouldn't use this page if you want to hide your email address from the recipient.
MediaWiki does not offer a way for administrators to email all of the wiki's users at once, unfortunately.