From: jhsoby Date: Mon, 6 Aug 2018 23:20:14 +0000 (+0200) Subject: Remove special collation for Northern Sami X-Git-Tag: 1.34.0-rc.0~4520^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=3469713f4e36f9fb7e9babe0f2fd165d6e59b2e2;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 @@ -