LexWiki is an open source, high-capacity editor for distributed terminology development. Developed by Mayo Clinic with collaboration by the National Cancer Institute (NCI), the World Health Organization (WHO) and Stanford University, it is a synergistic effort for the development of a collaborative terminology authoring platform based on the integration of LexGrid and Semantic MediaWiki technologies. This version of LexWiki does not include Protégé components.
The features of LexWiki include:
- Browsing support
- Hierarchy view with Category Tree extension
- Concept-oriented view with Header tabs extension
- Proposal browsing - all proposals listed by curation status and by categories with ontology browser
- My Proposals has a workflow extension
- Authoring support
- The LexWiki Protege Tab is used for loading contents into Wiki.
- LexWiki Editor - semantic forms/Header Tabs: may propose change, new concept or concept removal
- Change tracking and view changes
- Proposal Commenting
- Proposal Voting
- Evidence attachment with citation and file upload
The LexWiki Installation Guide is intended for administrators. This guide will give you an overview of how to install and configure a LexWiki system. If you are not an administrator, we recommend that you work with the system administrator of your organization to install and configure LexWiki.
- Linux or Windows
- Apache HTTP Server 2.2.3 or above
- MySql 5.0.77 or above
- PHP 5.1.6 or above
- Java 1.5 or above
- Ant 1.6.5 or above
The Ant installer is not officially supported for the Windows Vista operating system.
- The user should understand how to work with a web server.
- The user must have appropriate privileges (read, write, and execute - rwx) to the location on the file system that will be served by the web server.
- For Linux users, the installer requires that the user has one of the following system privileges:
- Root / superuser account
- Apache account (or the user account on which the web server is running)
- A user account which belongs to the same group as the Apache account.
- The user has the SELECT privilege on mysql.func table in the MySQL database.
- The web server is started and running.
The installer utilizes Ant to perform its tasks.
- To find out information about various targets enter "ant usage" in the command prompt.
- To find out information about your MediaWiki install, enter "ant info" in the command prompt.
- To find information about the various extensions and their versions which will be installed, enter "ant info-ext" in the command prompt.
- Back up any existing MediaWiki installation. This installation process will not upgrade an existing MediaWiki folder.
- Delete any existing MediaWiki install folder after backup.
- Unzip lexwiki-installer.zip to a temporary directory.
- In the lexwiki-installer directory, edit the lexwiki.properties file to reflect values of your host, port etc. Refer to the comments in that file for detailed directions. If the user has database administrator privileges, set the wikidb.adminuser and wikidb.adminpassword in the lexwiki.properties file. Also be sure to set the has.root property to true. If the user does not have database administrator privileges, create a new database for your wiki and configure the user privileges as described above. Enter all details in the lexwiki.properties file and make sure to set the has.root property to 'false' in lexwiki.properties.
- On the command prompt, type ant install and hit Enter. Note: You need to run this with an account that has appropriate privileges on the Web server's document root directory. So, if you have only sudo privileges, you'd need to run sudo ant install.
- The installer will show a BUILD SUCCESSFUL message as displayed below.
The URL where MediaWiki is available will be displayed on the command prompt. Navigate to that URL in your browser and you should see the following page.
You can log in to your LexWiki as an administrator using the username and password displayed on the command prompt. Congratulations! The LexWiki installation is complete and ready to be used!
Installing only certain extensions
The installer is capable of installing specified extensions. Open the file module-metadata.txt from the directory in which you unzipped lexwiki-installer.zip. By default all the modules (and their versions) are mentioned here. To add or remove a module, simply edit the relevant line in the file. Make sure to follow the syntax exactly as shown in module-metadata.txt. The syntax in the file is sensitive to the following:
- Every module descriptor starts on a new line.
- There are no spaces in the module descriptor.
- Every module descriptor ends with a semi-colon.
- Any line that starts with a '#' will be treated as a comment and ignored.
The following is a list of common issues and their solutions.
Media wiki already exists
If you see the following console output:
you need to delete your existing MediaWiki instance before installing.
Web server is not running.
If you see this output:
check that the Web server is up and that you have specified the correct value for the port property in lexwiki.properties.
com.mysql.jdbc.CommunicationsException: Communications link failure
If you see the following error message on the console:
check that your database is running.
Can't connect to local MySQL server through socket...
If you see a BUILD FAILED message and the console displays the following:
then specify the IP address of your database server for the value of the datasource.host property in lexwiki.properties.
Warning messages during installation and on the main page
If you are seeing lots of warning messages on the console during installation and then on the main page after successful installation, this is because you have set the PHP logging level too high. Refer to the PHP documentation to reduce the logging level.