LexWiki Links |
---|
Known Issues
The templates do not import correctly so there will be some broken (red) links on the concept pages.
Installation Process
The installation will take place in four separate steps.
- Use a bat file to extract the metadata about the concepts and write them as files into a directory.
- Run a php file to read the files and publish them to the Wiki.
- Edit the Main page to show the ontology hierarchy
- Import the templates into the Wiki
Setup and configuration
- Download and unzip the LexWikiPublisher 1.0 zip file.
- Open the lexWikiPublisher.prop file and enter the configuration information
The following are the configuration variables along with an example for each.
Required configuration information
logfile - location to store the published concepts
C:/Temp/publishbatch-local
configpath - the path to the configuration file in the LexEVS installation
X:\\services\\lexevs\\resources\\config
lbconfig.props
csn -the code system name to be published
NPO
ccd - the concept code at the root of the hierarchy
Entity
wiki - the name of the wiki
LexWiki test
template - SMW template name
LexWiki
formname - the name of the semantic mediawiki form
LexWiki_NPO_Form
Optional configuration information
republishexistingpages - Republish existing pages?
yes
propertiesonly - If you want to get properties and associations published only
no
vsformname - the name of the semantic mediawiki form for value sets
user - Wiki user name
Wiki user name
pwd - Wiki user password
Wiki user password
self - is the selected node to be published?
yes
batch - will all the children of the selected node be published?
yes
server - the server where the wiki is located
informatics.mayo.edu
port - the port number where the wiki is setup
8080
batchsize - number of concepts to process in each batch
50
namespace - the over riding namespace to use for pages
LexWiki master
startPage - the starting page where index.php is the default
index.php
Extracting concepts from LexEVS
- Be sure the directory configured for the logfile variable exists and is write enabled.
- Run the lexWikiPublisher file useing the bat file or shell script.
Publishing to the Wiki
- Open a command prompt in the lexwiki's maintenance directory
- Run the publish php using the directory location of the files created during the lexEVS as the only argument
php publish.php /home/myhomedir/tobepublishedpages
Displaying the category tree
- Log in to the Wiki and display the Main Page.
- Click on the Edit tab at the top of the page.
- Update the information between the cateegorytree tags to match your onotology information
Category BGT Gene Kind(B179) not found
 : : :BGT - the coding scheme name
 : : :Gene Kind - the root node for the Ontology
(B179) - short name for the root node
Category NPO_Entity(Entity) not found
Importing the templates
- From the wiki, select SpecialPages.
- On the SpecialPages, select import file.
- Import the templates which correspond to the ontology you created.