Extension:WikiForum (Original)

What can this extension do?
This extension will provide your wikipage a small forum which uses the usermangement of mediawiki. As there is already an forum extension "Extension:Forum_extension", but since it will be not further developed, I decided to create a new forum extension. This one has some more features, some more colors and a better restructured design. It uses css, so you can adopt the layout very fast. You can define categories and forums where the user can add threads. You can use icons and it supports multiple-languages (until now only english and german), but I would enjoy it, if you could help to extend this library.

What can not this extension yet!
A form for adding categories and forums is missing yet. So you need to add your categories and forums by using sql or clients like phpmyadmin. This feature will be implemented with the next release.

To insert a new category, you can use the following sql query, where you need to replace CATEGORY_NAME with the name of your category and SORTKEY with a integer value between 0 and 64 which sorts the categorys (0=first category, 1=next category, ...),

To inset a new forum, you can use the following query. Like in the category query FORUM_NAME stands for the forum name, FORUM_DESCRIPTION for a short description of this forum, SORTKEY like above for sorting the forums in a category and at least ID_OF_CATEGORY stands for the id of the category which you can find in column pkCategory of the table wikiforum_category.

Download
You can download the complete package here: WikiForum_v1_0.zip

Installation
To install this extension, add the following to LocalSettings.php:

As next step you need to add four mysql tables to your wikipage. Use here the WikiForum.sql file of the WikiForum package and import it to your database or add the source manually to your database by using opening the file in a texteditor, copy the source and use sql to import it. The following four tables will be created:

Configuration parameters
There is a bunch of configuration parameters possible. You can find all in the WikiForum.config.php file with its description. Here is a small overview of them.

Features of next releases

 * disabling categories
 * disabling forums
 * form for creating categories
 * form for creating forums
 * sticky threads
 * additional supported languages