http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89859

Revision: 89859
Author:   tstarling
Date:     2011-06-10 23:14:51 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
* Hackish temporary fix for bug 28162 (wgDBport not respected). Needs proper 
constructor parameters.
* Fixed r89813: release notes in the wrong section and not written for the user 
audience.

Modified Paths:
--------------
    branches/REL1_17/phase3/RELEASE-NOTES
    branches/REL1_17/phase3/includes/installer/PostgresInstaller.php

Modified: branches/REL1_17/phase3/RELEASE-NOTES
===================================================================
--- branches/REL1_17/phase3/RELEASE-NOTES       2011-06-10 23:09:52 UTC (rev 
89858)
+++ branches/REL1_17/phase3/RELEASE-NOTES       2011-06-10 23:14:51 UTC (rev 
89859)
@@ -89,6 +89,10 @@
 * Fixed error caused by missing magic words.
 * Fixed breakage of article editing in PostgreSQL due to text search
   configuration errors.
+* Fixed the HTTPS client used when Curl is not available. This avoids an error
+  during install about failure of the mediawiki-announce subscription.
+* (bug 28162) When installing to PostgreSQL, respect the "database port" input,
+  it was ignored.
 
 === Configuration changes in 1.17 ===
 
@@ -600,7 +604,6 @@
   in IE 7.
 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
   parameter.
-* (bug 27854) Http::isValidURI is way too lax.
 
 === API changes in 1.17 ===
 

Modified: branches/REL1_17/phase3/includes/installer/PostgresInstaller.php
===================================================================
--- branches/REL1_17/phase3/includes/installer/PostgresInstaller.php    
2011-06-10 23:09:52 UTC (rev 89858)
+++ branches/REL1_17/phase3/includes/installer/PostgresInstaller.php    
2011-06-10 23:14:51 UTC (rev 89859)
@@ -115,6 +115,7 @@
        protected function openConnectionWithParams( $user, $password, $dbName 
) {
                $status = Status::newGood();
                try {
+                       $GLOBALS['wgDBport'] = $this->getVar( 'wgDBport' );
                        $db = new DatabasePostgres(
                                $this->getVar( 'wgDBserver' ),
                                $user,
@@ -207,6 +208,7 @@
                $status = Status::newGood();
                foreach ( $dbs as $db ) {
                        try {
+                               $GLOBALS['wgDBport'] = $this->getVar( 
'wgDBport' );
                                $conn = new DatabasePostgres(
                                        $this->getVar( 'wgDBserver' ),
                                        $user,


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to