Index: trunk/phase3/includes/installer/Installer.i18n.php |
— | — | @@ -454,7 +454,7 @@ |
455 | 455 | 'config-pg-no-plpgsql' => 'You need to install the language PL/pgSQL in the database $1', |
456 | 456 | 'config-install-pg-ts2' => 'Checking for tsearch2', |
457 | 457 | 'config-install-pg-ts2-failed' => "'''FAILED''' tsearch2 must be installed in the database $1 |
458 | | -Please read [http://www.devx.com/opensource/Article/21674/0/page/2 these instructions] or ask on #postgresql on irc.freenode.net</li>\n", |
| 458 | +Please read [$2 these instructions] or ask on #postgresql on irc.freenode.net</li>\n", |
459 | 459 | 'config-install-user' => 'Creating database user', |
460 | 460 | 'config-install-user-failed' => 'Granting permission to user "$1" failed: $2', |
461 | 461 | 'config-install-tables' => 'Creating tables', |
Index: trunk/phase3/includes/installer/PostgresInstaller.php |
— | — | @@ -196,7 +196,11 @@ |
197 | 197 | function setupTs2() { |
198 | 198 | if( version_compare( $this->db->getServerVersion(), $this->ts2MaxVersion, '<' ) ) { |
199 | 199 | if ( !$this->db->tableExists( 'pg_ts_cfg', $wgDBts2schema ) ) { |
200 | | - return Status::newFatal( 'config-install-pg-ts2-failed' ); |
| 200 | + return Status::newFatal( |
| 201 | + 'config-install-pg-ts2-failed', |
| 202 | + $this->getVar( 'wgDBname' ), |
| 203 | + 'http://www.devx.com/opensource/Article/21674/0/page/2' |
| 204 | + ); |
201 | 205 | } |
202 | 206 | $safeuser = $this->db->addQuotes( $this->getVar( 'wgDBuser' ) ); |
203 | 207 | foreach ( array( 'cfg', 'cfgmap', 'dict', 'parser' ) as $table ) { |