Difference between revisions of "MediaWikiLite"
From Organic Design wiki
(should be sqlite3) |
(mysql2sqlite.sh) |
||
| Line 11: | Line 11: | ||
*[http://www.sqlite.org/lang.html SQL as understood by SQLite] | *[http://www.sqlite.org/lang.html SQL as understood by SQLite] | ||
*[http://www.nagilum.net/unix/mysql2sqlite.pl mysql2sqlite.pl] | *[http://www.nagilum.net/unix/mysql2sqlite.pl mysql2sqlite.pl] | ||
| + | *[http://forums.mysql.com/read.php?145,68269,92627 mysql2sqlite.sh] | ||
Revision as of 09:15, 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



