Extension:WikiForum/Original

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
WikiForum

Release status: beta

WikiForum Overview.png
Implementation Database, Special page
Description Forum extension
Author(s) Michael Chlebek (unidentifystudiosTalk)
Last version 1.31 (Jan 31th, 2011)
MediaWiki 1.16
License GNU GPL v3
Download WikiForum_v1_31.zip
Readme
Example http://wiki.unidentify.com
Tags
<WikiForumList>, <WikiForumThread>
Added rights

wikiforumadmin, wikiforummod

Contents

[edit] 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.

So on, new version 1.31 is ready for download. Check the new features!

[edit] Download

You can download the complete package here: WikiForum_v1_31.zip Version 1.31 contains a fix for icons in the installer file.

[edit] Installation

Start to extract the files in includes and extensions folder to your mediawiki main folder. To install this extension, add the following to LocalSettings.php:

#add configuration parameters here
#setup user rights here
require_once("$IP/extensions/WikiForum/WikiForum.php");
$wgGroupPermissions['ForumModerator']['wikiforumadmin'] = false;
$wgGroupPermissions['ForumAdmin']['wikiforumadmin']     = true;
$wgGroupPermissions['ForumModerator']['wikiforummod']   = true;
$wgGroupPermissions['ForumAdmin']['wikiforummod']       = true;

And add yourself to the WikiForumAdmin Usergroup (see SpecialPages).

As next step you need just to login and open the WikiForum Specialpage. The installation script will pop out automatically. Follow the inctruction given in the installer. (Make sure your MySQL account has CREATE rights, if not, you need to update your MySQL tables manually with the querys you can find in WikiForum.sql).

[edit] Update from 1.x to 1.3

Please check out the readme.txt before starting to update. Additionally it is always recommended to backup your WikiForum MySQL tables before updating.

[edit] 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.

Parameter Standard values Description
$wikiconf['link_in_toolbox']
true inserts a direct link in the toolbox
$wikiconf['wikiforum_tag']
true enables the tags
<WikiForumList num=value />
and
<WikiForumThread id=value nocomments />
$wikiconf['anonymous_allowed']
false if true, allows anonym users to post in forum
$wikiconf['max_threads_per_page']
20 number of threads which shall be shown per page of a forum
$wikiconf['max_comments_per_page']
15 number of comments which shall be shown per page of a thread
$wikiconf['main_link']
$wikiconf['extension_folder']
$wikiconf['action_string']
- special definitions for location of script and additional parameters which supports the different wiki urls
$wikiconf['icon_...']
no icons these variables defines the icons which can be used. Default there are no icons installed, but it is prepared for the famfamfam icons (famfamfam Silk Icons). If you want to use any other icons adopt the url and filename to the icon.
$smilies[':D']
no smilies use any string you want to be replaced by a image by using the $smilies array.

[edit] Features of next releases

no new features set for next release

[edit] Version History

Release Date Major changes
1.31 2011-01-31
  • bugfix in installer for icons
1.3 2011-01-30
  • access restrictions for categories (of mediawiki usergroups)
  • statistics page
  • bug-fix to be able to use also non-latin alphabets
  • bug-fix of internationalization file
  • added French language
  • improved search function where quotes can be used usefull
  • changing "last thread" and "last comment" columns to "last post" in general, like it is common
1.2 2010-12-23
  • smilies can be added in threads and comments
  • change forum name by config file
  • simple search
  • add additional line at the creditsline
  • preview functionality for threads and comments
  • create links to other threads
  • make announcement forums (create threads only for Moderators)
  • move threads to other forums
1.1 2010-12-02
  • usermanagement with mediawiki of admins and moderators
  • admin view to ...
    • add, edit, delete, sort categories
    • add, edit, delete, sort forums
    • create sticky threads
  • bugfixes of all known issues
  • install script
1.0 2010-11-19 first release of forum - no changes available

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox