Configure Wiki
From DOC
Contents |
Overview
The process outlined here helps configure and set-up Media Wiki ready for "Tolven Upload"
Install Semantic Media Wiki
Setting up Semantic Media Wiki (SMW) is not covered here. But make sure setup meets the following
- Apache 2.2
- MySql 5.x
- Php 5.2
- MediaWiki 1.14.1 (http://download.wikimedia.org/mediawiki/1.15/mediawiki-1.15.1.tar.gz)
- Semantic Media Wiki 1.4.2 (https://sourceforge.net/projects/semediawiki/files/semediawiki/semediawiki-1.4.2/semediawiki-1.4.2.tar.gz/download)
Install standard Extensions
The following SMW extensions are required to format and view "Tolven Upload" content.
- StringFunctions (Instructions at http://www.mediawiki.org/wiki/Extension:StringFunctions)
- ParserFunctions (Instructions at http://www.mediawiki.org/wiki/Extension:ParserFunctions)
Optional extension useful for Wiki Administration.
- ConfirmAccount (http://upload.wikimedia.org/ext-dist/ConfirmAccount-MW1.14-r45462.tar.gz)
- DiscussionThreading
Add Configuration Options to LocalSettings.php
Add the following entries to LocalSettings.php so that fact boxes will work correctly.
# Semantic Wiki config bits $smwgLinksInValues = true; $smwgShowFactbox = SMW_FACTBOX_SHOWN; $smwgAllowRecursiveExport = true;
# So the search box can work $wgUseAjax = true; $wgAjaxSearch = true; $wgAdvancedSearchHighlighting = true; $wgAjaxWatch = true; $wgAllowPageInfo = true; $wgEnableMWSuggest = true;
Install Tolven Extension
Copy contents from <tolvenWikiProject>src\wiki\extensions\TolvenUpload folder to <MediaWiki Installation Dir>/extensions/TolvenUpload and include the following line into LocalSettings.php file.
require_once( "$IP/extensions/TolvenUpload/TolvenUpload.php" );
Install Tolven JS
Type "MediaWiki:Common.js" under search box and search for this file. Create this page if not present and copy/paste content from <tolvenWikiProject>src\wiki\js\common.js and click "Save page". If page is already present append the content.
Install Tolven CSS
Type "MediaWiki:Common.css" under search box and search for this file. Create this page if not present and copy/paste content from <tolvenWikiProject>src\wiki\css\common.css and click "Save page". If page is already present append the content.
Verify
Restart Wiki and go to "Special:Version" to verify if all extensions are installed correctly.
Next
SMW is ready to use and now you can start Upload process at Load Wiki.

