Quercus: Mediawiki

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
Line 14: Line 14:
 
It's important to do this first, because initializing the database with the buggy code will make it very difficult to fix later.
 
It's important to do this first, because initializing the database with the buggy code will make it very difficult to fix later.
  
In the Languages.php, you need to remove the "\\\'" strings, i.e. 3 backslashes followed by a single quote.  There are three instances.  Two "you\\\'re" and one "can\\\'t".
+
In the Languages.php, you need to remove the <em>\\\'</em> strings, i.e. 3 backslashes followed by a single quote.  There are three instances.  Two <em>you\\\'re</em> and one <em>can\\\'t</em>.

Revision as of 17:10, 10 January 2006


Steps:

  1. unpack mediawiki in webapps/wiki
  2. modify languages/Language.php to work around JDBC mysql driver bug
  3. add resin-web.xml
  4. start Resin and browse to http://localhost:8080/wiki

modifications to mediawiki

First, you will need to modify languages/Language.php in the mediawiki distribution. This is to work around a but in the JDBC driver.

It's important to do this first, because initializing the database with the buggy code will make it very difficult to fix later.

In the Languages.php, you need to remove the \\\' strings, i.e. 3 backslashes followed by a single quote. There are three instances. Two you\\\'re and one can\\\'t.

Personal tools