Difference between revisions of "MediaWikiLite"
From Organic Design wiki
(PHP webserver) |
(PHP socket server example) |
||
| Line 9: | Line 9: | ||
*[[Extension talk:P2P.php]] | *[[Extension talk:P2P.php]] | ||
*[http://nanoweb.si.kz NanoWeb] ''- webserver with rewrite and other modules written in PHP'' | *[http://nanoweb.si.kz NanoWeb] ''- webserver with rewrite and other modules written in PHP'' | ||
| + | *[http://devzone.zend.com/node/view/id/1086 PHP socket server example] | ||
*[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] | *[http://forums.mysql.com/read.php?145,68269,92627 mysql2sqlite.sh] | ||
Revision as of 04:34, 6 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
- Extension talk:P2P.php
- NanoWeb - webserver with rewrite and other modules written in PHP
- PHP socket server example
- SQL as understood by SQLite
- mysql2sqlite.pl
- mysql2sqlite.sh



