From 3469713f4e36f9fb7e9babe0f2fd165d6e59b2e2 Mon Sep 17 00:00:00 2001 From: jhsoby Date: Tue, 7 Aug 2018 01:20:14 +0200 Subject: [PATCH] Remove special collation for Northern Sami This removes the special collation for Northern Sami that was added in 396007, when UCA support for Northern Sami was not yet in MediaWiki. Now it is, so this is no longer needed. Bug: T182431 Change-Id: I760eb7ae8bf92f0ac93b5fca5cb69148a28d8f6f --- autoload.php | 1 - includes/collation/Collation.php | 2 - .../NorthernSamiUppercaseCollation.php | 83 ------------------- 3 files changed, 86 deletions(-) delete mode 100644 includes/collation/NorthernSamiUppercaseCollation.php diff --git a/autoload.php b/autoload.php index 38f6ba9cd8..e02a743a10 100644 --- a/autoload.php +++ b/autoload.php @@ -1012,7 +1012,6 @@ $wgAutoloadLocalClasses = [ 'NewUsersLogFormatter' => __DIR__ . '/includes/logging/NewUsersLogFormatter.php', 'NoWriteWatchedItemStore' => __DIR__ . '/includes/watcheditem/NoWriteWatchedItemStore.php', 'NolinesImageGallery' => __DIR__ . '/includes/gallery/NolinesImageGallery.php', - 'NorthernSamiUppercaseCollation' => __DIR__ . '/includes/collation/NorthernSamiUppercaseCollation.php', 'NotRecursiveIterator' => __DIR__ . '/includes/libs/iterators/NotRecursiveIterator.php', 'NukeNS' => __DIR__ . '/maintenance/nukeNS.php', 'NukePage' => __DIR__ . '/maintenance/nukePage.php', diff --git a/includes/collation/Collation.php b/includes/collation/Collation.php index f52dcae017..b1ccdc20a3 100644 --- a/includes/collation/Collation.php +++ b/includes/collation/Collation.php @@ -67,8 +67,6 @@ abstract class Collation { return new AbkhazUppercaseCollation; case 'uppercase-ba': return new BashkirUppercaseCollation; - case 'uppercase-se': - return new NorthernSamiUppercaseCollation; default: $match = []; if ( preg_match( '/^uca-([A-Za-z@=-]+)$/', $collationName, $match ) ) { diff --git a/includes/collation/NorthernSamiUppercaseCollation.php b/includes/collation/NorthernSamiUppercaseCollation.php deleted file mode 100644 index d373749e54..0000000000 --- a/includes/collation/NorthernSamiUppercaseCollation.php +++ /dev/null @@ -1,83 +0,0 @@ -