1 |
== INTRODUCTION == |
2 |
|
3 |
BOWiki is an extension to MediaWiki. |
4 |
The code in the cvs includes other extensions |
5 |
to the Mediawiki, which are beeing used |
6 |
to generate the output of BOWiki. |
7 |
This project is still under heavy development, |
8 |
so don't mind the ugly looking code. |
9 |
BOWiki is licenced under GNU GPL. |
10 |
|
11 |
Although BOWiki is based on Semantic Mediawiki v0.4, |
12 |
the code and database layout changed significantly, |
13 |
therefore do not use Semantic Mediawiki together |
14 |
with BOWiki. |
15 |
|
16 |
== INSTALL == |
17 |
|
18 |
Extract all files from the cvs inside the |
19 |
extensions folder of your mediawiki directory. |
20 |
|
21 |
To setup the database according to the use in |
22 |
BOWiki, import the file: |
23 |
create_bowikidb.sql |
24 |
on the database name of your MediaWiki installation. |
25 |
(`mysql database < create_bowikidb.sql`) |
26 |
|
27 |
This will create additional tables used by the |
28 |
BOWiki extension to store information about |
29 |
external ontologies (like GeneOntology), as well as |
30 |
the tables used to store semantic content. |
31 |
|
32 |
**for MediaWiki version older than v1.10: |
33 |
Edit the file [wikipath]/includes/Parser.php. Insert the line |
34 |
"wfRunHooks( 'InternalParseBeforeLinks', array( &$this, &$text, null ) );" |
35 |
in the method "internalParse" right after the line |
36 |
"$text = $this->replaceVariables( $text, $args );" |
37 |
|
38 |
To the end of the file LocalSettings.php, |
39 |
located in the root folder of your MediaWiki |
40 |
installation, add: |
41 |
include_once('extensions/BowikiLocalSettings.php'); |
42 |
before the closing '>'. |
43 |
|
44 |
**for MediaWiki v1.10 |
45 |
To the end of the file LocalSettings.php, |
46 |
located in the root folder of your MediaWiki |
47 |
installation, add: |
48 |
include_once('extensions/BowikiLocalSettings.php'); |
49 |
|
50 |
== CONTACT == |
51 |
|
52 |
For bug reports, suggestions, acknowledgments |
53 |
and every other kind of expressions, feel free to |
54 |
contact: bioonto-public@bioinformatics.org. |