r36683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36682‎ | r36683 | r36684 >
Date:19:49, 26 June 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Clarify that enableSemantics() must be called only once in LocalSettings (making multiple calls creates
confusing bugs by setting the init hook more than once).
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/INSTALL (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/INSTALL
@@ -61,10 +61,14 @@
6262 directory to "[wikipath]/extensions/" (or extract/download it to this place).
6363 We abbreviate "[wikipath]/extensions/SemanticMediaWiki" as "[SMW_path]" below.
6464 (2) Insert the following two lines into the file "[wikipath]/LocalSettings.php":
 65+
6566 include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php');
6667 enableSemantics('example.org');
 68+
6769 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.
6973 (3) In your wiki, log in as a user with admin status and go to the page
7074 "Special:SMWAdmin" to do the final setup steps. This can also be done with
7175 a command-line php script. See [SMW_path]/maintenance/README for details.

Status & tagging log