From SMW+ Semantic Enterprise Wiki
- Applies to version
- Description
- Installation instructions for additional SMW+ extensions.
Contents |
Requirements
- Semantic MediaWiki+ 1.2 / 1.3 / 1.3.1 / 1.4
Installation
(1) Extract the archive smwplus-1.x.x-ext.zip to directory "[wikipath]".
Note – Notice that this will overwrite a number of files. Click OK in the overwrite confirmation dialog box.
(2) Edit [wikipath]\LocalSettings.php and add at least:
include_once('extensions/SMWHalo/includes/SMW_MIME_settings.php');
(3) Add the following extensions of your choice:
Upload converter
Converts PDF and DOC (MS Word) files into text and pastes it on the page. This allows the wiki to index the content of these files. This extension implies that various other file types can be uploaded too (but not processed in any manner): 'pdf', 'doc', 'ac3', 'avi', 'mp3', 'ogg', 'mpg', 'mpeg','mov', 'wmv', 'ppt', 'pps', 'odt', 'ods', 'odp', 'odg', 'odf', 'sxw'
$smwgEnableUploadConverter = true;
Note – Notice that this feature is not an independent extension but an add-on to the Halo Extension.
FCK-Editor
The FCK-Editor is a WYSIWYG-Editor that can be included into the wiki. However, it provides no additional semantic features. You get a new tab 'wysiwyg' at the top menu bar.
require_once('extensions/SMWHalo/includes/SMW_WYSIWYG.php');
The FCK-Editor at www.mediawiki.org: FCK-Editor
TreeView
The TreeView allows to display arbitrary trees on a page. Additionally, it contains a semantic enhancement, so that it is possible to visualize annotated articles in a tree.
require_once('extensions/Treeview/Treeview5.php');
It is based on the TreeView extension at www.mediawiki.org: TreeView
Note – Starting with SMW+ v1.4.2, this extension was replaced by the extension Semantic Treeview, which gets included by the following statement: require_once('extensions/Treeview/Treeview.php');.
Access Control Lists
ACLs allow restricting access to the wiki. So for example, you could restrict access to schema pages (category and property) only to members of a particular group.
require_once('extensions/PermissionACL/PermissionACL.php');
It is based to the ACL extension at www.mediawiki.org. Please note the disclaimer to this extension. PermissionACL on www.mediawiki.org: PermissionACL
Disclaimer: If you need per-page or partial page access restrictions, you are advised to install an appropriate content management package. MediaWiki was not written to provide per-page access restrictions, and almost all hacks or patches promising to add them will likely have flaws somewhere, which could lead to exposure of confidential data. We are not responsible for anything being leaked, leading to loss of funds or one's job.
SemanticForms
Semantic Forms are used to edit semantic data by forms. This allows non-experienced people to use semantics.
$sfgNamespaceIndex = 150;
include_once('extensions/SemanticForms/includes/SF_Settings.php');
For further documentation of Semantic Forms, take a look at: Semantic Forms
Glossary
This extension allows wiki authors to define a list of acronyms and their definitions on a special page. Whenever an acronym is found, it will be highlighted and moving the pointer over it will show supplementary information.
include_once('extensions/Glossary/Glossary.php');
Glossary extension at www.mediawiki.org: Glossary extension
Variables
Provides lots of new variables to use in wiki text.
include_once('extensions/Variables/Variables.php');
Variables extension at www.mediawiki.org: Variables extension
StringFunctions
Provides several string functions to modify for example query results.
include_once('extensions/StringFunctions/StringFunctions.php');
StringFunctions extension at www.mediawiki.org: StringFunctions extension
DynamicPageList
Dynamic Page List (DPL) is a universal reporting tool for MediaWikis, listing category members and intersections with various formats and details. For usage documentation, see the manual. Typically the selection of pages to be shown will be based on one or more categories. But there are many other choices for selection criteria, like e.g. author, namespace, date, name pattern, usage of templates or references to other articles.
include_once('extensions/DynamicPageList/DynamicPageList.php');
DynamicPageList on www.mediawiki.org: Dynamic Page List
ParserFunctions
New Parser functions. For example switch, if, ifexist, ...
include_once('extensions/ParserFunctions/ParserFunctions.php');
Parser functions extension on www.mediawiki.org Parser functions extension
Testing your Installation
If you are uncertain that everything went well, you can do some testing steps to check if SMW is set up properly.
Go to the Special:Version page and you should see the chosen extensions (version nn) listed.
If you don't get these results, check the steps in the installation section, consult the FAQ section, then contact the user support list (see the Contact section).
Contact
[1] Sourceforge download site with mailing lists as well as user and developer forums.
[2] The user forum hosts the community around SMW and SMW+. It contains documentation as well as use cases, best practices and other helpful stuff. Feel free to join and collaborate!
If you have any inquiries concerning SMW+, please contact info@ontoprise.de
Template:Comments



