mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
Fix for bug 35111
Added support Devanagari characters in the WikiEditor. This includes all characters as per http://unicode.org/charts/PDF/U0900.pdf Change-Id: Iecab40aaf024c4ee40db142373ee94d90507b9c2
This commit is contained in:
parent
1599128075
commit
5622bdb5e1
|
@ -184,10 +184,11 @@ $1:Example.jpg|Caption2",
|
|||
'wikieditor-toolbar-characters-page-persian' => 'Persian',
|
||||
'wikieditor-toolbar-characters-page-hebrew' => 'Hebrew',
|
||||
'wikieditor-toolbar-characters-page-bangla' => 'Bangla',
|
||||
'wikieditor-toolbar-characters-page-tamil' => 'Tamil',
|
||||
'wikieditor-toolbar-characters-page-tamil' => 'Tamil',
|
||||
'wikieditor-toolbar-characters-page-telugu' => 'Telugu',
|
||||
'wikieditor-toolbar-characters-page-sinhala' => 'Sinhala',
|
||||
'wikieditor-toolbar-characters-page-gujarati' => 'Gujarati',
|
||||
'wikieditor-toolbar-characters-page-devanagari' => 'Devanagari',
|
||||
'wikieditor-toolbar-characters-page-thai' => 'Thai',
|
||||
'wikieditor-toolbar-characters-page-lao' => 'Lao',
|
||||
'wikieditor-toolbar-characters-page-khmer' => 'Khmer',
|
||||
|
|
|
@ -323,6 +323,7 @@ $wgResourceModules += array(
|
|||
'wikieditor-toolbar-characters-page-tamil',
|
||||
'wikieditor-toolbar-characters-page-telugu',
|
||||
'wikieditor-toolbar-characters-page-sinhala',
|
||||
'wikieditor-toolbar-characters-page-devanagari',
|
||||
'wikieditor-toolbar-characters-page-gujarati',
|
||||
'wikieditor-toolbar-characters-page-thai',
|
||||
'wikieditor-toolbar-characters-page-lao',
|
||||
|
|
|
@ -869,6 +869,139 @@ getDefaultConfig: function() {
|
|||
[ "\u25cc\u0dde", "\u0dde" ], [ "\u25cc\u0dca", "\u0dca" ]
|
||||
]
|
||||
},
|
||||
'devanagari': {
|
||||
'labelMsg': 'wikieditor-toolbar-characters-page-devanagari',
|
||||
'layout': 'characters',
|
||||
'characters': [
|
||||
"\u0900", // DEVANAGARI SIGN INVERTED CANDRABINDU
|
||||
"\u0901", // DEVANAGARI SIGN CANDRABINDU
|
||||
"\u0902", // DEVANAGARI SIGN ANUSVARA
|
||||
"\u0903", // DEVANAGARI SIGN VISARGA
|
||||
"\u0904", // DEVANAGARI LETTER SHORT A
|
||||
"\u0905", // DEVANAGARI LETTER A
|
||||
"\u0906", // DEVANAGARI LETTER AA
|
||||
"\u0907", // DEVANAGARI LETTER I
|
||||
"\u0908", // DEVANAGARI LETTER II
|
||||
"\u0909", // DEVANAGARI LETTER U
|
||||
"\u090a", // DEVANAGARI LETTER UU
|
||||
"\u090b", // DEVANAGARI LETTER VOCALIC R
|
||||
"\u090c", // DEVANAGARI LETTER VOCALIC L
|
||||
"\u090d", // DEVANAGARI LETTER CANDRA E
|
||||
"\u090e", // DEVANAGARI LETTER SHORT E
|
||||
"\u090f", // DEVANAGARI LETTER E
|
||||
"\u0910", // DEVANAGARI LETTER AI
|
||||
"\u0911", // DEVANAGARI LETTER CANDRA O
|
||||
"\u0912", // DEVANAGARI LETTER SHORT O
|
||||
"\u0913", // DEVANAGARI LETTER O
|
||||
"\u0914", // DEVANAGARI LETTER AU
|
||||
"\u0915", // DEVANAGARI LETTER KA
|
||||
"\u0916", // DEVANAGARI LETTER KHA
|
||||
"\u0917", // DEVANAGARI LETTER GA
|
||||
"\u0918", // DEVANAGARI LETTER GHA
|
||||
"\u0919", // DEVANAGARI LETTER NGA
|
||||
"\u091a", // DEVANAGARI LETTER CA
|
||||
"\u091b", // DEVANAGARI LETTER CHA
|
||||
"\u091c", // DEVANAGARI LETTER JA
|
||||
"\u091d", // DEVANAGARI LETTER JHA
|
||||
"\u091e", // DEVANAGARI LETTER NYA
|
||||
"\u091f", // DEVANAGARI LETTER TTA
|
||||
"\u0920", // DEVANAGARI LETTER TTHA
|
||||
"\u0921", // DEVANAGARI LETTER DDA
|
||||
"\u0922", // DEVANAGARI LETTER DDHA
|
||||
"\u0923", // DEVANAGARI LETTER NNA
|
||||
"\u0924", // DEVANAGARI LETTER TA
|
||||
"\u0925", // DEVANAGARI LETTER THA
|
||||
"\u0926", // DEVANAGARI LETTER DA
|
||||
"\u0927", // DEVANAGARI LETTER DHA
|
||||
"\u0928", // DEVANAGARI LETTER NA
|
||||
"\u0929", // DEVANAGARI LETTER NNNA
|
||||
"\u092a", // DEVANAGARI LETTER PA
|
||||
"\u092b", // DEVANAGARI LETTER PHA
|
||||
"\u092c", // DEVANAGARI LETTER BA
|
||||
"\u092d", // DEVANAGARI LETTER BHA
|
||||
"\u092e", // DEVANAGARI LETTER MA
|
||||
"\u092f", // DEVANAGARI LETTER YA
|
||||
"\u0930", // DEVANAGARI LETTER RA
|
||||
"\u0931", // DEVANAGARI LETTER RRA
|
||||
"\u0932", // DEVANAGARI LETTER LA
|
||||
"\u0933", // DEVANAGARI LETTER LLA
|
||||
"\u0934", // DEVANAGARI LETTER LLLA
|
||||
"\u0935", // DEVANAGARI LETTER VA
|
||||
"\u0936", // DEVANAGARI LETTER SHA
|
||||
"\u0937", // DEVANAGARI LETTER SSA
|
||||
"\u0938", // DEVANAGARI LETTER SA
|
||||
"\u0939", // DEVANAGARI LETTER HA
|
||||
"\u093a", // DEVANAGARI VOWEL SIGN OE
|
||||
"\u093b", // DEVANAGARI VOWEL SIGN OOE
|
||||
"\u093c", // DEVANAGARI SIGN NUKTA
|
||||
"\u093d", // DEVANAGARI SIGN AVAGRAHA
|
||||
"\u093e", // DEVANAGARI VOWEL SIGN AA
|
||||
"\u093f", // DEVANAGARI VOWEL SIGN I
|
||||
"\u0940", // DEVANAGARI VOWEL SIGN II
|
||||
"\u0941", // DEVANAGARI VOWEL SIGN U
|
||||
"\u0942", // DEVANAGARI VOWEL SIGN UU
|
||||
"\u0943", // DEVANAGARI VOWEL SIGN VOCALIC R
|
||||
"\u0944", // DEVANAGARI VOWEL SIGN VOCALIC RR
|
||||
"\u0945", // DEVANAGARI VOWEL SIGN CANDRA E
|
||||
"\u0946", // DEVANAGARI VOWEL SIGN SHORT E
|
||||
"\u0947", // DEVANAGARI VOWEL SIGN E
|
||||
"\u0948", // DEVANAGARI VOWEL SIGN AI
|
||||
"\u0949", // DEVANAGARI VOWEL SIGN CANDRA O
|
||||
"\u094a", // DEVANAGARI VOWEL SIGN SHORT O
|
||||
"\u094b", // DEVANAGARI VOWEL SIGN O
|
||||
"\u094c", // DEVANAGARI VOWEL SIGN AU
|
||||
"\u094d", // DEVANAGARI SIGN VIRAMA
|
||||
"\u094e", // DEVANAGARI VOWEL SIGN PRISHTHAMATRA E
|
||||
"\u094f", // DEVANAGARI VOWEL SIGN AW
|
||||
"\u0950", // DEVANAGARI OM
|
||||
"\u0951", // DEVANAGARI STRESS SIGN UDATTA
|
||||
"\u0952", // DEVANAGARI STRESS SIGN ANUDATTA
|
||||
"\u0953", // DEVANAGARI GRAVE ACCENT
|
||||
"\u0954", // DEVANAGARI ACUTE ACCENT
|
||||
"\u0955", // DEVANAGARI VOWEL SIGN CANDRA LONG E
|
||||
"\u0956", // DEVANAGARI VOWEL SIGN UE
|
||||
"\u0957", // DEVANAGARI VOWEL SIGN UUE
|
||||
"\u0958", // DEVANAGARI LETTER QA
|
||||
"\u0959", // DEVANAGARI LETTER KHHA
|
||||
"\u095a", // DEVANAGARI LETTER GHHA
|
||||
"\u095b", // DEVANAGARI LETTER ZA
|
||||
"\u095c", // DEVANAGARI LETTER DDDHA
|
||||
"\u095d", // DEVANAGARI LETTER RHA
|
||||
"\u095e", // DEVANAGARI LETTER FA
|
||||
"\u095f", // DEVANAGARI LETTER YYA
|
||||
"\u0960", // DEVANAGARI LETTER VOCALIC RR
|
||||
"\u0961", // DEVANAGARI LETTER VOCALIC LL
|
||||
"\u0962", // DEVANAGARI VOWEL SIGN VOCALIC L
|
||||
"\u0963", // DEVANAGARI VOWEL SIGN VOCALIC LL
|
||||
"\u0964", // DEVANAGARI DANDA
|
||||
"\u0965", // DEVANAGARI DOUBLE DANDA
|
||||
"\u0966", // DEVANAGARI DIGIT ZERO
|
||||
"\u0967", // DEVANAGARI DIGIT ONE
|
||||
"\u0968", // DEVANAGARI DIGIT TWO
|
||||
"\u0969", // DEVANAGARI DIGIT THREE
|
||||
"\u096a", // DEVANAGARI DIGIT FOUR
|
||||
"\u096b", // DEVANAGARI DIGIT FIVE
|
||||
"\u096c", // DEVANAGARI DIGIT SIX
|
||||
"\u096d", // DEVANAGARI DIGIT SEVEN
|
||||
"\u096e", // DEVANAGARI DIGIT EIGHT
|
||||
"\u096f", // DEVANAGARI DIGIT NINE
|
||||
"\u0970", // DEVANAGARI ABBREVIATION SIGN
|
||||
"\u0971", // DEVANAGARI SIGN HIGH SPACING DOT
|
||||
"\u0972", // DEVANAGARI LETTER CANDRA A
|
||||
"\u0973", // DEVANAGARI LETTER OE
|
||||
"\u0974", // DEVANAGARI LETTER OOE
|
||||
"\u0975", // DEVANAGARI LETTER AW
|
||||
"\u0976", // DEVANAGARI LETTER UE
|
||||
"\u0977", // DEVANAGARI LETTER UUE
|
||||
"\u0979", // DEVANAGARI LETTER ZHA
|
||||
"\u097a", // DEVANAGARI LETTER HEAVY YA
|
||||
"\u097b", // DEVANAGARI LETTER GGA
|
||||
"\u097c", // DEVANAGARI LETTER JJA
|
||||
"\u097d", // DEVANAGARI LETTER GLOTTAL STOP
|
||||
"\u097e", // DEVANAGARI LETTER DDDA
|
||||
"\u097f" // DEVANAGARI LETTER BBA
|
||||
]
|
||||
},
|
||||
'gujarati': {
|
||||
'labelMsg': 'wikieditor-toolbar-characters-page-gujarati',
|
||||
'language': 'gu',
|
||||
|
|
Loading…
Reference in a new issue