Extension:WikiForum

From MediaWiki.org
Jump to: navigation, search
For the original extension from which this version of WikiForum was forked, please see Extension:WikiForum/Original.
MediaWiki extensions manual - list
Crystal Clear action run.png
WikiForum

Release status: stable

WikiForum Overview.png
Implementation Database, Special page
Description Forum extension
Author(s) Michael Chlebek
Jack Phoenix
Last version 1.2.2-SW
MediaWiki 1.18+
Database changes yes
License GNU GPL v3
Download
Example ShoutWiki
Parameters

$wgWikiForumAllowAnonymous
$wgWikiForumSmilies

Tags
<WikiForumList>, <WikiForumThread>
Added rights

wikiforum-admin
wikiforum-moderator

Hooks used
ParserFirstCallInit

SkinTemplateBuildNavUrlsNav_urlsAfterPermalink
SkinTemplateToolboxEnd
BeforePageDisplay

Check usage and version matrix

WikiForum extension adds a discussion forum in the form of a new special page, Special:WikiForum. WikiForum pages for the most part are indexed by search engines (such as Google) and you can search them by using WikiForum's internal search.

If the SocialProfile extension is installed, its avatars will be displayed on forum threads. Currently WikiForum has no built-in avatar support.

Please see the WikiForum help page on ShoutWiki for more information.

Contents

Installation [edit]

  1. Download the source code into $IP/extensions/WikiForum/
  2. Create the required four tables in the database; if you have command line access, you can use the following command to do it: mysql -u DATABASE_USERNAME_HERE -p DATABASE_NAME < /path/to/extensions/WikiForum/wikiforum.sql
  3. Add the line
    require_once("$IP/extensions/WikiForum/WikiForum.php");
    into the wiki's LocalSettings.php
  4. Installation can now be verified through the wiki's Special:Version

Configuration parameters [edit]

In the original WikiForum, there were plenty of configuration globals. Most of these have been removed in favor of configuration done via the MediaWiki namespace.

Parameter Default value Description
$wgWikiForumAllowAnonymous true Allow anonymous users to write threads and replies?
$wgWikiForumSmilies array() Array of emoticon text forms => image file names. This configuration variable will be removed in the future and replaced with a better system for configuring emoticons. Do not rely on it.

User rights [edit]

WikiForum adds two new user rights, wikiforum-admin and wikiforum-moderator. Users with the wikiforum-admin permission can create, delete and edit categories and forums, while the wikiforum-moderator permission is required to edit and delete threads and individual replies.

By default administrators (the sysop group) have both of these rights. WikiForum also creates a new group, forumadmin, which has both of these user rights. Bureaucrats can assign users to the forumadmin group and remove them from the group.

Supported languages [edit]

WikiForum supports the following languages as of 12 January 2012:

  • Bulgarian (bg)
  • Dutch (nl)
  • English (en)
  • Finnish (fi)
  • French (fr)
  • Franco-Provençal (frp)
  • Galician (gl)
  • German (de and de-formal)
  • Luxembourgish (lb)
  • Macedonian (mk)
  • Pashto (ps)
  • Polish (pl)
  • Portuguese (pt)
  • Russian (ru)
  • Spanish (es)
  • Tagalog (tl)
  • Telugu (te)
  • Turkish (tr)

See also [edit]