Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -443,6 +443,16 @@ |
444 | 444 | } |
445 | 445 | |
446 | 446 | $this->showMessage( 'config-have-db', $wgLang->listToText( $goodNames ), count( $goodNames ) ); |
| 447 | + |
| 448 | + // Check for FTS3 full-text search module |
| 449 | + $sqlite = $this->getDBInstaller( $name ); |
| 450 | + if ( $sqlite->isCompiled() ) { |
| 451 | + $db = new DatabaseSqliteStandalone( ':memory:' ); |
| 452 | + $this->showMessage( $db->getFulltextSearchModule() == 'FTS3' |
| 453 | + ? 'config-have-fts3' |
| 454 | + : 'config-no-fts3' |
| 455 | + ); |
| 456 | + } |
447 | 457 | } |
448 | 458 | |
449 | 459 | /** |
Index: trunk/phase3/includes/installer/Installer.i18n.php |
— | — | @@ -96,6 +96,8 @@ |
97 | 97 | If you compiled PHP yourself, reconfigure it with a database client enabled, for example using <code>./configure --with-mysql</code>. |
98 | 98 | If you installed PHP from a Debian or Ubuntu package, then you also need install the php5-mysql module.', |
99 | 99 | 'config-have-db' => 'Found database {{PLURAL:$2|driver|drivers}}: $1.', |
| 100 | + 'config-have-fts3' => 'SQLite is compiled with the [http://sqlite.org/fts3.html FTS3] module, search features will be available on this backend.', |
| 101 | + 'config-no-fts3' => "'''Warning''': SQLite is compiled without the [http://sqlite.org/fts3.html FTS3] module, search features will be unavailable on this backend.", |
100 | 102 | 'config-register-globals' => "'''Warning: PHP's <code>[http://php.net/register_globals register_globals]</code> option is enabled.''' |
101 | 103 | '''Disable it if you can.''' |
102 | 104 | MediaWiki will work, but your server is exposed to potential security vulnerabilities.", |