3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 * http://www.gnu.org/copyleft/gpl.html
24 * Temporary workaround for incorrect collation of Northern Sami
25 * language ('se') in Wikimedia servers (see bug T181503).
27 * When the ICU's 'se' collation has been included in PHP-intl and Wikimedia
28 * servers updated to that new version of PHP, this file should be deleted
29 * and the collation for 'se' set to 'uca-se'.
34 class NorthernSamiUppercaseCollation
extends CustomUppercaseCollation
{
36 public function __construct() {
37 parent
::__construct( [
43 'Ʒ', // Not part of modern alphabet, but part of ICU
44 'Ǯ', // Not part of modern alphabet, but part of ICU
50 'Ǧ', // Not part of modern alphabet, but part of ICU
51 'Ǥ', // Not part of modern alphabet, but part of ICU
56 'Ǩ', // Not part of modern alphabet, but part of ICU
76 'Ø', // Not part of native alphabet, but part of ICU
77 'Æ', // Not part of native alphabet, but part of ICU
78 'Å', // Not part of native alphabet, but part of ICU
79 'Ä', // Not part of native alphabet, but part of ICU
80 'Ö', // Not part of native alphabet, but part of ICU
81 ], Language
::factory( 'se' ) );