Index: trunk/extensions/SemanticMediaWiki/INSTALL |
— | — | @@ -61,10 +61,14 @@ |
62 | 62 | directory to "[wikipath]/extensions/" (or extract/download it to this place). |
63 | 63 | We abbreviate "[wikipath]/extensions/SemanticMediaWiki" as "[SMW_path]" below. |
64 | 64 | (2) Insert the following two lines into the file "[wikipath]/LocalSettings.php": |
| 65 | + |
65 | 66 | include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php'); |
66 | 67 | enableSemantics('example.org'); |
| 68 | + |
67 | 69 | where example.org should be replaced by your server's name (or IP address). |
68 | | - If you have custom namespaces (e.g. "Portal"), read the note below. |
| 70 | + The latter is needed only once, using the "preferred" name of your server. |
| 71 | + It is no problem to access a site by more than one servername in any case. |
| 72 | + If you have custom namespaces (such as "Portal"), read the note below. |
69 | 73 | (3) In your wiki, log in as a user with admin status and go to the page |
70 | 74 | "Special:SMWAdmin" to do the final setup steps. This can also be done with |
71 | 75 | a command-line php script. See [SMW_path]/maintenance/README for details. |