From 3848fdfd1565c66e5ed5599762b97421380ec15c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 7 Jan 2011 18:41:55 +0000 Subject: [PATCH] Forgot param 1, make URL param 2 per Nikerabbit --- includes/installer/Installer.i18n.php | 2 +- includes/installer/PostgresInstaller.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/installer/Installer.i18n.php b/includes/installer/Installer.i18n.php index 6588e51b35..7e826ff427 100644 --- a/includes/installer/Installer.i18n.php +++ b/includes/installer/Installer.i18n.php @@ -454,7 +454,7 @@ Make sure that the user "$1" can write to the schema "$2".', 'config-pg-no-plpgsql' => 'You need to install the language PL/pgSQL in the database $1', 'config-install-pg-ts2' => 'Checking for tsearch2', 'config-install-pg-ts2-failed' => "'''FAILED''' tsearch2 must be installed in the database $1 -Please read [http://www.devx.com/opensource/Article/21674/0/page/2 these instructions] or ask on #postgresql on irc.freenode.net\n", +Please read [$2 these instructions] or ask on #postgresql on irc.freenode.net\n", 'config-install-user' => 'Creating database user', 'config-install-user-failed' => 'Granting permission to user "$1" failed: $2', 'config-install-tables' => 'Creating tables', diff --git a/includes/installer/PostgresInstaller.php b/includes/installer/PostgresInstaller.php index faac6cefa1..a5579188e9 100644 --- a/includes/installer/PostgresInstaller.php +++ b/includes/installer/PostgresInstaller.php @@ -196,7 +196,11 @@ class PostgresInstaller extends DatabaseInstaller { function setupTs2() { if( version_compare( $this->db->getServerVersion(), $this->ts2MaxVersion, '<' ) ) { if ( !$this->db->tableExists( 'pg_ts_cfg', $wgDBts2schema ) ) { - return Status::newFatal( 'config-install-pg-ts2-failed' ); + return Status::newFatal( + 'config-install-pg-ts2-failed', + $this->getVar( 'wgDBname' ), + 'http://www.devx.com/opensource/Article/21674/0/page/2' + ); } $safeuser = $this->db->addQuotes( $this->getVar( 'wgDBuser' ) ); foreach ( array( 'cfg', 'cfgmap', 'dict', 'parser' ) as $table ) { -- 2.20.1