Revert "(bug 46615) updateCollation.php: sanity check the collation before proceeding"
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 4 Apr 2013 12:27:19 +0000 (12:27 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 15 May 2013 22:40:29 +0000 (22:40 +0000)
Sorry, forgot that method was not in the base class, and I had only tested with uca based collations. This breaks on uppercase type collations.

This reverts commit 6eb84144df605feb717efc91c84c00eaec62a5f6

Change-Id: Ib7b9597ff842a76185ba5c153922834ffb741237

maintenance/updateCollation.php

index 1ff6815..94b2537 100644 (file)
@@ -82,10 +82,6 @@ TEXT;
                        $collation = Collation::singleton();
                }
 
-               // Collation sanity check: in some cases the constructor will work,
-               // but this will raise an exception, breaking all category pages
-               $collation->getFirstLetterData();
-
                $options = array(
                        'LIMIT' => self::BATCH_SIZE,
                        'ORDER BY' => 'cl_to, cl_type, cl_from',