Update jquery.uls, jquery.ime, and search index

jquery.ime:
* Fixes in Indonesian Jawi keyboard
* Add a keyboard for languages with click consonants
* Add a keyboard for Krio

Updating to:
d82b0b1bce

jquery.uls:
* Update language-data:
  https://github.com/wikimedia/jquery.uls/pull/491

Updating to:
52f6ee5180

Change-Id: I3e0a1b0d5e319335d053b94c84589e3ca6ce2d7e
This commit is contained in:
Amir E. Aharoni
2024-09-24 23:32:40 -04:00
parent e626fcc341
commit 3e1ab196ea
6 changed files with 254 additions and 13 deletions

View File

@@ -0,0 +1,50 @@
( function ( $ ) {
'use strict';
var jawiKeyboard = {
id: 'id-jawi',
name: 'Jawi keyboard',
description: 'Jawi keyboard for Indonesian Wikisource',
date: '2023-09-21',
URL: 'https://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods/jawi-keyboard',
author: 'Benny Lin, Pungkas, Michael',
license: 'GPLv3',
version: '1.0',
contextLength: 1,
maxKeyLength: 1,
patterns: [
[ '\\\\([A-Za-z\\>_~\\.0-9])', '', '$1' ], //escape characters
[ '(a|A)', '', 'ا' ], //alif
[ '(b|B)', '', 'ب' ], //ba
[ '(c|C)', '', 'ﭺ' ], //ca
[ '(d|D)', '', 'د' ], //dal
[ '(e|E)', '', 'َ' ], //fathah -a
[ '(f|F)', '', 'ف' ], //fa
[ '(g|G)', '', 'ݢ' ], //gaf
[ '(h|H)', '', 'ه' ], //ha
[ '(ݢ|ڬ)(h|H)', '(g|G)', 'غ' ], //ghain
[ 'ت(h|H)', '(t|T)', 'ة' ], //tāʔ marbūṭa
[ 'ى(h|H)', '(k|K)', 'خ' ], //ẖ, kha
[ '(i|I)', '', 'ِ' ], //kasrah/kasroh -i
[ '(j|J)', '', 'ج' ], //jim
[ '(k|K)', '', 'ى' ], //kaf
[ '(l|L)', '', 'ل' ], //lam
[ '(m|M)', '', 'م' ], //mim
[ '(n|N)', '', 'ن' ], //nun
[ '(o|O)', '', 'ْ' ], //sukun
[ '(p|P)', '', 'ڤ' ], //pa
[ '(q|Q)', '', 'ق' ], //qaf
[ '(r|R)', '', 'ر' ], //ra
[ '(s|S)', '', 'س' ], //sin
[ '(t|T)', '', 'ت' ], //ta
[ '(u|U)', '', 'ُ' ], //dhammah/dhomah -u
[ '(v|V)', '', 'ؤ' ], //va
[ '(w|W)', '', 'و' ], //wau
[ '(x|X)', '', 'ء' ], // ʾʔhamza
[ '(y|Y)', '', 'ي' ], //ya
[ '(z|Z)', '', 'ز' ], //zai
[ '`', '', 'ع' ] // 'ain
]
};
$.ime.register( jawiKeyboard );
}( jQuery ) );

View File

@@ -0,0 +1,27 @@
( function ( $ ) {
'use strict';
var kriTilde = {
id: 'kri-tilde',
name: 'Krio tilde',
description: 'Krio input keyboard',
date: '2024-09-23',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '~E', 'Ɛ' ],
[ '~e', 'ɛ' ],
[ '~N', 'Ŋ' ],
[ '~n', 'ŋ' ],
[ '~O', 'Ɔ' ],
[ '~o', 'ɔ' ],
[ '~\\\\', '\u0300' ], // Combining grave
[ '~/', '\u0301' ], // Combining acute
[ '~\\^', '\u0302' ] // Combining circumflex
]
};
$.ime.register( kriTilde );
}( jQuery ) );

View File

@@ -0,0 +1,37 @@
( function ( $ ) {
'use strict';
var clickTilde = {
id: 'mul-click-tilde',
name: 'Click tilde',
description: 'Click input keyboard',
date: '2024-09-24',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
// Typing based on shape
[ '~o', 'ʘ' ], // U+0298: Bilabial click
[ '~1', 'ǀ' ], // U+01C0: Dental click (tilde + 1 => not a pipe)
[ 'ǀ1', 'ǁ' ], // U+01C1: Lateral click (not a pipe + 1 => double pipe)
[ '~=', 'ǂ' ], // U+01C2: Alveolar click
[ '~#', 'ǂ' ], // U+01C2: Alveolar click
[ '~!', 'ǃ' ], // U+01C3: Retroflex click (tilde + exclamation point => not an exclamation point)
[ '~,', '𝼊' ], // U+1DF0A: Retroflex click with retroflex hook
// Typing based on Zulu and Xhosa orthography
[ '~c', 'ǀ' ], // U+01C0: Dental click (not a pipe!)
[ '~x', 'ǁ' ], // U+01C1: Lateral click
[ '~q', 'ǃ' ], // U+01C3: Retroflex click (not an exclamation point!)
[ '~\\\\', '\u0300' ], // Combining grave
[ '~/', '\u0301' ], // Combining acute
[ '~\\^', '\u0302' ], // Combining circumflex
[ '~\\{', '\u0303' ], // Combining tilde
[ '~-', '\u0304' ] // Combining macron
]
};
$.ime.register( clickTilde );
}( jQuery ) );