Add a TODO with regards to existing mysql4 schemas..
authorSam Reed <reedy@users.mediawiki.org>
Thu, 15 Dec 2011 14:56:09 +0000 (14:56 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 15 Dec 2011 14:56:09 +0000 (14:56 +0000)
includes/SkinTemplate.php
includes/installer/MysqlInstaller.php

index b7f3e25..e99fd25 100644 (file)
@@ -547,9 +547,9 @@ class SkinTemplate extends Skin {
                /* set up the default links for the personal toolbar */
                $personal_urls = array();
 
-               # Due to bug 32276, if a user does not have read permissions, 
-               # $this->getTitle() will just give Special:Badtitle, which is 
-               # not especially useful as a returnto parameter. Use the title 
+               # Due to bug 32276, if a user does not have read permissions,
+               # $this->getTitle() will just give Special:Badtitle, which is
+               # not especially useful as a returnto parameter. Use the title
                # from the request instead, if there was one.
                $page = Title::newFromURL( $request->getVal( 'title', '' ) );
                $page = $request->getVal( 'returnto', $page );
index 633ffcd..a2c0b18 100644 (file)
@@ -174,7 +174,7 @@ class MysqlInstaller extends DatabaseInstaller {
                                $existingEngine = false;
                        } else {
                                if ( preg_match( '/^latin1/', $row->Collation ) ) {
-                                       $existingSchema = 'mysql4';
+                                       $existingSchema = 'mysql4'; // TODO: This should go away/be dealt with
                                } elseif ( preg_match( '/^utf8/', $row->Collation ) ) {
                                        $existingSchema = 'utf8';
                                } elseif ( preg_match( '/^binary/', $row->Collation ) ) {