Difference between revisions of "MediaWikiLite"

From Organic Design wiki
(should be sqlite3)
Line 2: Line 2:
  
 
== Installation ==
 
== Installation ==
*To install SQLite on a Debian based system, use <tt>apt-get install php5-sqlite</tt>.
+
*To install SQLite3 on a Debian based system, use <tt>apt-get install php5-sqlite3</tt>.
 
*Code base would need to be patched to allow SQLite to work for a wiki installation since extensions are added from LocalSettings.php
 
*Code base would need to be patched to allow SQLite to work for a wiki installation since extensions are added from LocalSettings.php
 
*Adding DatabaseSqlite.php to includes doesn't help because the includes need to be added to the autoloader list
 
*Adding DatabaseSqlite.php to includes doesn't help because the includes need to be added to the autoloader list

Revision as of 09:06, 2 January 2008

The purpose of this extension is to create a new database subclass which allows a MediaWiki to work from an SQLite database instead of MySQL. MySQL is good for large centralised sites serving many clients, but we'd like MediaWiki to be able to run on small local systems such as iPods or iPhones. MySQL is the main obstacle preventing us from creating a light-weight MediaWiki install which would also be a big step towards our Peerpedia idea.

Installation

  • To install SQLite3 on a Debian based system, use apt-get install php5-sqlite3.
  • Code base would need to be patched to allow SQLite to work for a wiki installation since extensions are added from LocalSettings.php
  • Adding DatabaseSqlite.php to includes doesn't help because the includes need to be added to the autoloader list

See also