Index: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -22,6 +22,10 @@ |
23 | 23 | 'narayam-help-page' => 'Help:Typing', |
24 | 24 | 'narayam-checkbox-tooltip' => 'To toggle input method on and off', // FIXME: better message |
25 | 25 | 'narayam-disable-preference' => 'Disable Narayam Input Method Editor (IME)', |
| 26 | + 'narayam-as' => 'Assamese Transliteration', |
| 27 | + 'narayam-as-avro' => 'Assamese Avro', |
| 28 | + 'narayam-as-bornona' => 'Assamese Bornona', |
| 29 | + 'narayam-as-inscript' => 'Assamese InScript', |
26 | 30 | 'narayam-eo' => 'Esperanto', |
27 | 31 | 'narayam-hi-inscript' => 'Hindi InScript', |
28 | 32 | 'narayam-kn' => 'Kannada Transliteration', |
— | — | @@ -344,6 +348,10 @@ |
345 | 349 | 'narayam-help-page' => 'Help:Eingabe', |
346 | 350 | 'narayam-checkbox-tooltip' => 'Eingabemethode ein- und ausschalten', |
347 | 351 | 'narayam-disable-preference' => 'Narayam-Editor deaktivieren', |
| 352 | + 'narayam-as' => 'Assamesisch (Transliteration)', |
| 353 | + 'narayam-as-avro' => 'Assamesisch (Avro)', |
| 354 | + 'narayam-as-bornona' => 'Assamesisch (Bornona)', |
| 355 | + 'narayam-as-inscript' => 'Assamesisch (InScript)', |
348 | 356 | 'narayam-eo' => 'Esperanto', |
349 | 357 | 'narayam-hi-inscript' => 'Hindi (InScript)', |
350 | 358 | 'narayam-kn' => 'Kannada (Transliteration)', |
— | — | @@ -567,6 +575,10 @@ |
568 | 576 | 'narayam-help-page' => 'Help:Escritura', |
569 | 577 | 'narayam-checkbox-tooltip' => 'Para activar e desactivar o método de entrada', |
570 | 578 | 'narayam-disable-preference' => 'Desactivar o editor de método de entrada do narayam', |
| 579 | + 'narayam-as' => 'Transliteración para asamés', |
| 580 | + 'narayam-as-avro' => 'Avro para asamés', |
| 581 | + 'narayam-as-bornona' => 'Bornona para asamés', |
| 582 | + 'narayam-as-inscript' => 'InScript para asamés', |
571 | 583 | 'narayam-eo' => 'Esperanto', |
572 | 584 | 'narayam-hi-inscript' => 'InScript para hindi', |
573 | 585 | 'narayam-kn' => 'Transliteración para kannada', |
— | — | @@ -697,6 +709,10 @@ |
698 | 710 | 'narayam-help-page' => 'Help:Dactylographia', |
699 | 711 | 'narayam-checkbox-tooltip' => 'Activar e disactivar le methodo de entrata', |
700 | 712 | 'narayam-disable-preference' => 'Disactivar le methodo de entrata pro Narayam', |
| 713 | + 'narayam-as' => 'Translitteration in assamese', |
| 714 | + 'narayam-as-avro' => 'Assamese Avro', |
| 715 | + 'narayam-as-bornona' => 'Assamese Bornona', |
| 716 | + 'narayam-as-inscript' => 'Assamese InScript', |
701 | 717 | 'narayam-eo' => 'Esperanto', |
702 | 718 | 'narayam-hi-inscript' => 'Hindi (InScript)', |
703 | 719 | 'narayam-kn' => 'Translitteration in kannada', |
— | — | @@ -892,6 +908,10 @@ |
893 | 909 | 'narayam-help-page' => 'Help:Внос', |
894 | 910 | 'narayam-checkbox-tooltip' => 'За вкл/искл на метод на внос', |
895 | 911 | 'narayam-disable-preference' => 'Оневозможи го уредникот на вносни методи (IME) Narayam', |
| 912 | + 'narayam-as' => 'Транслитерација на асамски', |
| 913 | + 'narayam-as-avro' => 'Асамски - Avro', |
| 914 | + 'narayam-as-bornona' => 'Асамски - Bornona', |
| 915 | + 'narayam-as-inscript' => 'Асамски - InScript', |
896 | 916 | 'narayam-eo' => 'Есперанто', |
897 | 917 | 'narayam-hi-inscript' => 'Хинди - InScript', |
898 | 918 | 'narayam-kn' => 'Транслитерација на Канада', |
— | — | @@ -923,6 +943,8 @@ |
924 | 944 | $messages['ml'] = array( |
925 | 945 | 'narayam-desc' => 'ഇൻപുട്ട് ഫീൽഡുകളിൽ ഇച്ഛാനുസരണമുള്ള ലിപികളിൽ എഴുതാനുള്ള സൗകര്യം കൂട്ടിച്ചേർക്കുന്നു', |
926 | 946 | 'narayam-toggle-ime' => 'സജീവമാക്കുക ($1)', |
| 947 | + 'narayam-menu' => 'എഴുത്തുപകരണം', |
| 948 | + 'narayam-menu-tooltip' => 'നാരായം എഴുത്തുപകരണം (ഐ.എം.ഇ.) നിയന്ത്രിക്കുക', |
927 | 949 | 'narayam-help' => 'സഹായം', |
928 | 950 | 'narayam-help-page' => 'Help:എഴുത്ത്', |
929 | 951 | 'narayam-checkbox-tooltip' => 'എഴുത്തുപകരണം ഉപയോഗിക്കാനും ഒഴിവാക്കാനും ഇവിടെ ഞെക്കുക', |
— | — | @@ -961,6 +983,10 @@ |
962 | 984 | 'narayam-help-page' => 'Help:Menaip', |
963 | 985 | 'narayam-checkbox-tooltip' => 'Untuk memasang/menutup kaedah input', |
964 | 986 | 'narayam-disable-preference' => 'Matikan Editor Kaedah Input (IME) Narayam', |
| 987 | + 'narayam-as' => 'Alih Huruf Assam', |
| 988 | + 'narayam-as-avro' => 'Avro Assam', |
| 989 | + 'narayam-as-bornona' => 'Bornona Assam', |
| 990 | + 'narayam-as-inscript' => 'InScript Assam', |
965 | 991 | 'narayam-eo' => 'Esperanto', |
966 | 992 | 'narayam-hi-inscript' => 'InScript Hindi', |
967 | 993 | 'narayam-kn' => 'Alih Huruf Kannada', |
— | — | @@ -1037,7 +1063,7 @@ |
1038 | 1064 | */ |
1039 | 1065 | $messages['or'] = array( |
1040 | 1066 | 'narayam-toggle-ime' => '($1) ସଚଳ କରାଇବେ', |
1041 | | - 'narayam-menu' => 'ଇନପୁଟ ପ୍ରଣାଳୀ', |
| 1067 | + 'narayam-menu' => 'ନିବେଶ ପ୍ରଣାଳୀ', |
1042 | 1068 | 'narayam-help' => 'ସହଯୋଗ', |
1043 | 1069 | 'narayam-help-page' => 'Help:ଟାଇପ କରିବା', |
1044 | 1070 | 'narayam-or' => 'ଓଡ଼ିଆ ଟ୍ରାନ୍ସଲିଟରେସନ', |
— | — | @@ -1056,6 +1082,9 @@ |
1057 | 1083 | 'narayam-help-page' => 'Help:Wprowadzanie znaków', |
1058 | 1084 | 'narayam-checkbox-tooltip' => 'Włączanie i wyłączanie metody wprowadzania', |
1059 | 1085 | 'narayam-disable-preference' => 'Wyłącz w edytorze nietypowe metody wprowadzania znaków', |
| 1086 | + 'narayam-as-avro' => 'Assamski avro', |
| 1087 | + 'narayam-as-bornona' => 'Assamski bornona', |
| 1088 | + 'narayam-as-inscript' => 'Assamski InScript', |
1060 | 1089 | 'narayam-eo' => 'Esperanto', |
1061 | 1090 | 'narayam-hi-inscript' => 'Hindi InScript', |
1062 | 1091 | 'narayam-kn' => 'Transliteracja kannary', |
— | — | @@ -1124,11 +1153,12 @@ |
1125 | 1154 | /** Portuguese (Português) |
1126 | 1155 | * @author Hamilton Abreu |
1127 | 1156 | * @author MetalBrasil |
| 1157 | + * @author SandroHc |
1128 | 1158 | * @author Waldir |
1129 | 1159 | */ |
1130 | 1160 | $messages['pt'] = array( |
1131 | 1161 | 'narayam-desc' => 'Permite a adição de métodos de entrada personalizados para os campos de entrada', |
1132 | | - 'narayam-toggle-ime' => 'Alternar o método de entrada ($1)', |
| 1162 | + 'narayam-toggle-ime' => 'Activar ($1)', |
1133 | 1163 | 'narayam-menu' => 'Método de entrada', |
1134 | 1164 | 'narayam-menu-tooltip' => 'Controlar o Narayam Input Method Editor (IME)', |
1135 | 1165 | 'narayam-help' => 'Ajuda', |
— | — | @@ -1389,6 +1419,10 @@ |
1390 | 1420 | 'narayam-help-page' => 'Help:Tipkanje', |
1391 | 1421 | 'narayam-checkbox-tooltip' => 'Za vklop ali izklop načina vnosa', |
1392 | 1422 | 'narayam-disable-preference' => 'Onemogoči urejevalnik načina vnosa (IME) Narayam', |
| 1423 | + 'narayam-as' => 'Prečrkovanje asamščine', |
| 1424 | + 'narayam-as-avro' => 'Avro za asamščino', |
| 1425 | + 'narayam-as-bornona' => 'Bornora za asamščino', |
| 1426 | + 'narayam-as-inscript' => 'InScript za asamščino', |
1393 | 1427 | 'narayam-eo' => 'Esperanto', |
1394 | 1428 | 'narayam-hi-inscript' => 'InScript za hindijščino', |
1395 | 1429 | 'narayam-kn' => 'Prečrkovanje kannadščine', |
— | — | @@ -1406,7 +1440,7 @@ |
1407 | 1441 | 'narayam-ta99' => 'Tamil 99', |
1408 | 1442 | 'narayam-ta' => 'Prečrkovanje tamilščine', |
1409 | 1443 | 'narayam-te-inscript' => 'InScript za teluščino', |
1410 | | - 'narayam-bn-avro' => 'Bengalski Avro', |
| 1444 | + 'narayam-bn-avro' => 'Avro za bengalščino', |
1411 | 1445 | 'narayam-bn-inscript' => 'InScript za bengalščino', |
1412 | 1446 | 'narayam-bn-nkb' => 'Bengalski NKB', |
1413 | 1447 | ); |
— | — | @@ -1445,9 +1479,13 @@ |
1446 | 1480 | * @author Sodabottle |
1447 | 1481 | */ |
1448 | 1482 | $messages['ta'] = array( |
1449 | | - 'narayam-toggle-ime' => 'தமிழில் எழுத', |
1450 | | - 'narayam-help-page' => 'விக்கிப்பீடியா:தமிழ்த் தட்டச்சு', |
| 1483 | + 'narayam-toggle-ime' => 'தமிழ்', |
| 1484 | + 'narayam-menu' => 'தமிழில் எழுத', |
| 1485 | + 'narayam-menu-tooltip' => 'இக்கருவியைப் பயன்படுத்தி தமிழில் எழுதலாம்; குறுக்கு விசை :CTRL+M', |
| 1486 | + 'narayam-help' => 'உதவி', |
| 1487 | + 'narayam-help-page' => 'உதவி:தமிழ்த் தட்டச்சு', |
1451 | 1488 | 'narayam-checkbox-tooltip' => 'இக்கருவியைப் பயன்படுத்தி தமிழில் எழுதலாம்.', |
| 1489 | + 'narayam-disable-preference' => 'நரையம் தட்டச்சுக் கருவியை நீக்கு', |
1452 | 1490 | 'narayam-ta99' => 'தமிழ்99', |
1453 | 1491 | 'narayam-ta' => 'எழுத்துப்பெயர்ப்பு', |
1454 | 1492 | ); |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-inscript.js |
— | — | @@ -0,0 +1,126 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Assamese script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2010-12-12 (updated: 2010-12-22) |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['X', '', 'ঁ'], |
| 12 | +['x', '', 'ং'], |
| 13 | +['_', '', 'ঃ'], |
| 14 | +['D', '', 'অ'], |
| 15 | +['E', '', 'আ'], |
| 16 | +['F', '', 'ই'], |
| 17 | +['R', '', 'ঈ'], |
| 18 | +['G', '', 'উ'], |
| 19 | +['T', '', 'ঊ'], |
| 20 | +['\\+', '', 'ঋ'], |
| 21 | +['S', '', 'এ'], |
| 22 | +['W', '', 'ঐ'], |
| 23 | +['A', '', 'ও'], |
| 24 | +['Q', '', 'ঔ'], |
| 25 | +['k', '', 'ক'], |
| 26 | +['K', '', 'খ'], |
| 27 | +['i', '', 'গ'], |
| 28 | +['I', '', 'ঘ'], |
| 29 | +['U', '', 'ঙ'], |
| 30 | +[';', '', 'চ'], |
| 31 | +['\\:', '', 'ছ'], |
| 32 | +['p', '', 'জ'], |
| 33 | +['P', '', 'ঝ'], |
| 34 | +['\\}', '', 'ঞ'], |
| 35 | +["'", '', 'ট'], |
| 36 | +['"', '', 'ঠ'], |
| 37 | +['\\[', '', 'ড'], |
| 38 | +['\\{', '', 'ঢ'], |
| 39 | +['C', '', 'ণ'], |
| 40 | +['l', '', 'ত'], |
| 41 | +['L', '', 'থ'], |
| 42 | +['o', '', 'দ'], |
| 43 | +['O', '', 'ধ'], |
| 44 | +['v', '', 'ন'], |
| 45 | +['h', '', 'প'], |
| 46 | +['H', '', 'ফ'], |
| 47 | +['y', '', 'ব'], |
| 48 | +['Y', '', 'ভ'], |
| 49 | +['c', '', 'ম'], |
| 50 | +['\\?', '', 'য'], |
| 51 | +['j', '', '\u09F0'], |
| 52 | +['J', '', 'ৎ'], |
| 53 | +['n', '', 'ল'], |
| 54 | +['M', '', 'শ'], |
| 55 | +['\\<', '', 'ষ'], |
| 56 | +['m', '', 'স'], |
| 57 | +['u', '', 'হ'], |
| 58 | +['\\]', '', '়'], |
| 59 | +['e', '', 'া'], |
| 60 | +['f', '', 'ি'], |
| 61 | +['r', '', 'ী'], |
| 62 | +['g', '', 'ু'], |
| 63 | +['t', '', 'ূ'], |
| 64 | +['\\=', '', 'ৃ'], |
| 65 | +['s', '', 'ে'], |
| 66 | +['w', '', 'ৈ'], |
| 67 | +['a', '', 'ো'], |
| 68 | +['q', '', 'ৌ'], |
| 69 | +['d', '', '্'], |
| 70 | +['/', '', 'য়'], |
| 71 | +['\\>', '', ''], |
| 72 | +['0', '', '০'], |
| 73 | +['1', '', '১'], |
| 74 | +['2', '', '২'], |
| 75 | +['3', '', '৩'], |
| 76 | +['4', '', '৪'], |
| 77 | +['5', '', '৫'], |
| 78 | +['6', '', '৬'], |
| 79 | +['7', '', '৭'], |
| 80 | +['8', '', '৮'], |
| 81 | +['9', '', '৯'], |
| 82 | +['z', '', 'ʼ'], |
| 83 | +['\\!', '', 'অ্যা'], |
| 84 | +['\\#', '', '্\u09F0'], |
| 85 | +['\\$', '', '\u09F0্'], |
| 86 | +['\\%', '', 'জ্ঞ'], |
| 87 | +['\\^', '', 'ত্র'], |
| 88 | +['\\&', '', 'ক্ষ'], |
| 89 | +['\\*', '', 'শ্র'], |
| 90 | +['\\(', '', '\u200D'], |
| 91 | +['\\)', '', '\u200C'] |
| 92 | +]; |
| 93 | + |
| 94 | +// Extended layout for InScript. Works in Firefox only |
| 95 | +var rules_x = [ |
| 96 | +['F', '', 'ঌ'], |
| 97 | +['\\>', '', 'ঽ'], |
| 98 | +['\\=', '', 'ৠ'], |
| 99 | +['l', '', 'ৎ'], |
| 100 | +['\\[', '', 'ড়'], |
| 101 | +['\\{', '', 'ঢ়'], |
| 102 | +['\\+', '', 'ৠ'], |
| 103 | +['R', '', 'ৡ'], |
| 104 | +['f', '', 'ৢ'], |
| 105 | +['r', '', 'ৣ'], |
| 106 | +['\\.', '', ''], |
| 107 | +['x', '', '৺'], |
| 108 | +['\\<', '', '৲'], |
| 109 | +[',', '', '৳'], |
| 110 | +['\\!', '', '৴'], |
| 111 | +['\\@', '', '৵'], |
| 112 | +['\\#', '', '৶'], |
| 113 | +['\\$', '', '৷'], |
| 114 | +['\\%', '', '৸'], |
| 115 | +['\\^', '', '৹'], |
| 116 | +['\\?', '', '৻'], |
| 117 | +['4', '', '₹'] |
| 118 | +]; |
| 119 | + |
| 120 | +jQuery.narayam.addScheme( 'as-inscript', { |
| 121 | + 'namemsg': 'narayam-as-inscript', |
| 122 | + 'extended_keyboard': true, |
| 123 | + 'lookbackLength': 0, |
| 124 | + 'keyBufferLength': 0, |
| 125 | + 'rules': rules, |
| 126 | + 'rules_x': rules_x |
| 127 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 128 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.core.js |
— | — | @@ -242,35 +242,14 @@ |
243 | 243 | input = input.substring( divergingPos ); |
244 | 244 | replacement = replacement.substring( divergingPos ); |
245 | 245 | |
246 | | - // TODO: use better browser detection as $.browser may be moved out |
247 | | - // from jQuery core |
248 | | - if ( $.browser.webkit ) { |
249 | | - // Webkit browser have a bug: |
250 | | - // https://bugs.webkit.org/show_bug.cgi?id=66630 |
251 | | - // TODO: remove when webkit bug is handled |
252 | | - // in jQuery.textSelection.js |
253 | | - |
254 | | - replaceString($this, startPos - input.length + 1, endPos, replacement); |
255 | | - // Calculate new position for caret to be set |
256 | | - var newCaretPosition = startPos - input.length + 1 + replacement.length; |
257 | | - // Update caret postion |
258 | | - $this.textSelection( 'setSelection', { |
259 | | - 'start': newCaretPosition, |
260 | | - 'end': newCaretPosition |
| 246 | + $this.textSelection( 'encapsulateSelection', { |
| 247 | + 'peri': replacement, |
| 248 | + 'replace': true, |
| 249 | + 'selectPeri': false, |
| 250 | + 'selectionStart': startPos - input.length + 1, |
| 251 | + 'selectionEnd': endPos |
| 252 | + |
261 | 253 | } ); |
262 | | - } |
263 | | - else { |
264 | | - // Select and replace the text |
265 | | - $this.textSelection( 'setSelection', { |
266 | | - 'start': startPos - input.length + 1, |
267 | | - 'end': endPos |
268 | | - } ); |
269 | | - $this.textSelection( 'encapsulateSelection', { |
270 | | - 'peri': replacement, |
271 | | - 'replace': true, |
272 | | - 'selectPeri': false |
273 | | - } ); |
274 | | - } |
275 | 254 | |
276 | 255 | e.stopPropagation(); |
277 | 256 | return false; |
— | — | @@ -281,7 +260,11 @@ |
282 | 261 | * @param e Event object |
283 | 262 | */ |
284 | 263 | function onfocus( e ) { |
285 | | - $( this ).data( 'narayamKeyBuffer', '' ); |
| 264 | + if (!$( this ).data( 'narayamKeyBuffer' )) { |
| 265 | + // First-time focus on the input field |
| 266 | + // So, initialise a key buffer for it |
| 267 | + $( this ).data( 'narayamKeyBuffer', '' ); |
| 268 | + } |
286 | 269 | changeVisual( $( this ) ); |
287 | 270 | } |
288 | 271 | |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-bornona.js |
— | — | @@ -0,0 +1,82 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Bornona layout for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-22 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | +var rules = [ |
| 10 | +['q', '', 'ং'], |
| 11 | +['Q', '', 'ঙ'], |
| 12 | +['w', '', 'ঢ'], |
| 13 | +['W', '', 'ঠ'], |
| 14 | +['e', '', 'ে'], |
| 15 | +['E', '', 'ৈ'], |
| 16 | +['r', '', 'ৰ'], |
| 17 | +['R', '', 'ৃ'], |
| 18 | +['t', '', 'ত'], |
| 19 | +['T', '', 'ট'], |
| 20 | +['y', '', 'ধ'], |
| 21 | +['Y', '', 'থ'], |
| 22 | +['u', '', 'ু'], |
| 23 | +['U', '', 'ূ'], |
| 24 | +['i', '', 'ি'], |
| 25 | +['I', '', 'ী'], |
| 26 | +['o', '', 'ো'], |
| 27 | +['O', '', 'ৌ'], |
| 28 | +['p', '', 'প'], |
| 29 | +['P', '', '্ৰ'], |
| 30 | +['\\|', '', 'র'], |
| 31 | +['\\\\', '', 'ৱ'], |
| 32 | +['a', '', 'া'], |
| 33 | +['A', '', 'অ'], |
| 34 | +['s', '', 'স'], |
| 35 | +['S', '', 'শ'], |
| 36 | +['d', '', 'দ'], |
| 37 | +['D', '', 'ড'], |
| 38 | +['f', '', 'ফ'], |
| 39 | +['F', '', 'ৰ্ফ'], |
| 40 | +['g', '', 'গ'], |
| 41 | +['G', '', 'ঘ'], |
| 42 | +['h', '', '্'], |
| 43 | +['H', '', 'হ'], |
| 44 | +['j', '', 'জ'], |
| 45 | +['J', '', 'ঝ'], |
| 46 | +['k', '', 'ক'], |
| 47 | +['K', '', 'খ'], |
| 48 | +['l', '', 'ল'], |
| 49 | +['L', '', '।'], |
| 50 | +['z', '', 'য'], |
| 51 | +['Z', '', 'ড়'], |
| 52 | +['x', '', 'ষ'], |
| 53 | +['X', '', 'ঢ়'], |
| 54 | +['c', '', 'চ'], |
| 55 | +['C', '', 'ছ'], |
| 56 | +['v', '', 'ভ'], |
| 57 | +['V', '', '্য'], |
| 58 | +['b', '', 'ব'], |
| 59 | +['B', '', 'য়'], |
| 60 | +['n', '', 'ন'], |
| 61 | +['N', '', 'ণ'], |
| 62 | +['m', '', 'ম'], |
| 63 | +['M', '', 'ঞ'], |
| 64 | +['0', '', '০'], |
| 65 | +['1', '', '১'], |
| 66 | +['2', '', '২'], |
| 67 | +['3', '', '৩'], |
| 68 | +['4', '', '৪'], |
| 69 | +['5', '', '৫'], |
| 70 | +['6', '', '৬'], |
| 71 | +['7', '', '৭'], |
| 72 | +['8', '', '৮'], |
| 73 | +['9', '', '৯'], |
| 74 | +['\\`', '', '\u200C'] |
| 75 | +]; |
| 76 | + |
| 77 | +jQuery.narayam.addScheme( 'as-bornona', { |
| 78 | + 'namemsg': 'narayam-as-bornona', |
| 79 | + 'extended_keyboard': false, |
| 80 | + 'lookbackLength': 0, |
| 81 | + 'keyBufferLength': 0, |
| 82 | + 'rules': rules |
| 83 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-bornona.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 84 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ne.js |
— | — | @@ -45,13 +45,13 @@ |
46 | 46 | |
47 | 47 | ['अa', '','आ'], |
48 | 48 | ['(ओo|उu)', '','ऊ'], |
49 | | -['ऎ\\^', '','ऍ'], |
| 49 | +['ऎ\\^', '','ए'], |
50 | 50 | ['अi', '','ऐ'], |
51 | | -['अ\\^', '','ॲ'], |
| 51 | +['अ\\^', '','अ'], |
52 | 52 | ['(इi|एe)', '','ई'], |
53 | | -['ऒ\\^', '','ऑ'], |
| 53 | +['ऒ\\^', '','ओ'], |
54 | 54 | ['अu', '','औ'], |
55 | | -['र्rय्', '','र्य्'], |
| 55 | +['र्र्r', '','र्'], |
56 | 56 | ['ड़्h', '','ढ़्'], |
57 | 57 | ['ऋR', '','ॠ'], |
58 | 58 | ['ळ्l', '','ऌ'], |
— | — | @@ -112,7 +112,8 @@ |
113 | 113 | ['s', '','स्'], |
114 | 114 | ['t', '','त्'], |
115 | 115 | ['u', '','उ'], |
116 | | -['(v|w)', '','व्'], |
| 116 | +['v', '','भ्'], |
| 117 | +['w', '','व्'], |
117 | 118 | ['x', '','क्ष्'], |
118 | 119 | ['y', '','य्'], |
119 | 120 | ['(z|Z)', '','ज़्'], |
— | — | @@ -121,7 +122,6 @@ |
122 | 123 | ['C', '','क्क्'], |
123 | 124 | ['D', '','ड्'], |
124 | 125 | ['E', '','ए'], |
125 | | -//'F', '','फ्'], |
126 | 126 | ['H', '','ः'], |
127 | 127 | ['I', '','ई'], |
128 | 128 | ['J', '','ज्ज्'], |
— | — | @@ -131,15 +131,14 @@ |
132 | 132 | ['N', '','ण्'], |
133 | 133 | ['O', '','ओ'], |
134 | 134 | ['P', '','प्प्'], |
135 | | -//'Q', '','अ'], |
136 | 135 | ['R', '','ऋ'], |
137 | 136 | ['S', '','श्'], |
138 | 137 | ['T', '','ट्'], |
139 | 138 | ['U', '','ऊ'], |
140 | | -['(V|W)', '','व्व्'], |
| 139 | +['V', '','व्व्'], |
| 140 | +['W', '','औ'], |
141 | 141 | ['X', '','क्ष्'], |
142 | 142 | ['Y', '','य्य्'], |
143 | | -//'z', '','अ' |
144 | 143 | ['0', '','०'], |
145 | 144 | ['1', '','१'], |
146 | 145 | ['2', '','२'], |
— | — | @@ -152,7 +151,7 @@ |
153 | 152 | ['9', '','९'], |
154 | 153 | ['\\.', '','।'], |
155 | 154 | ['//', '','ऽ'], |
156 | | -['\\`', '','़'] |
| 155 | +['\\`', '','़'] |
157 | 156 | ]; |
158 | 157 | |
159 | 158 | jQuery.narayam.addScheme( 'ne', { |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as.js |
— | — | @@ -0,0 +1,136 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-01 |
| 6 | + * @credits Derived from Bengali transiliteration scheme developed with help from |
| 7 | + * Belayet Hossain, Jayanta Nath and Ragib Hasan |
| 8 | + * Changes for Assamese suggested by W Chaipau and Prabhakar Sarma Neog |
| 9 | + * License: GPLv3, CC-BY-SA 3.0 |
| 10 | + */ |
| 11 | + |
| 12 | +var rules = [ |
| 13 | +['ক্h','c','চ্'], |
| 14 | + |
| 15 | +['([ক-হ])্a','', '$1'], |
| 16 | +['([ক-হ])(a|্A)','', '$1া'], |
| 17 | +['([ক-হ])্i','', '$1ি'], |
| 18 | +['([ক-হ])(িi|্I|েe|েE)','', '$1ী'], |
| 19 | +['([ক-হ])্u','', '$1ু'], |
| 20 | +['([ক-হ])(ুu|্U|োo|োO)','', '$1ূ'], |
| 21 | +['([ক-হ])্R','', '$1ৃ'], |
| 22 | +['([ক-হ])ৃR','', '$1ৄ'], |
| 23 | +['([ক-হ])্L','', '$1ৢ'], |
| 24 | +['([ক-হ])ৢL','', '$1ৣ'], |
| 25 | +['([ক-হ])্(e|E)','', '$1ে'], |
| 26 | +['([ক-হ])i','', '$1ে'], |
| 27 | +['([ক-হ])্(o|O)','', '$1ো'], |
| 28 | +['([ক-হ])u','', '$1ৌ'], |
| 29 | +['([ক-হ])([া-ৌৗ])?m','', '$1$1ং'], |
| 30 | + |
| 31 | +['ং~','', 'ম্'], |
| 32 | +['ংa','', 'ম'], |
| 33 | +['ংA','', 'মা'], |
| 34 | +['ংi','', 'মি'], |
| 35 | +['ংI','', 'মী'], |
| 36 | +['ংu','', 'মু'], |
| 37 | +['ংU','', 'মূ'], |
| 38 | +['ংR','', 'মৃ'], |
| 39 | +['ং(e|E)','', 'মে'], |
| 40 | +['ং(o|O)','', 'মো'], |
| 41 | + |
| 42 | +['অa','', 'আ'], |
| 43 | +['ইi','', 'ঈ'], |
| 44 | +['এ(e|E)','', 'ঈ'], |
| 45 | +['অi','', 'ঐ'], |
| 46 | +['উu','', 'ঊ'], |
| 47 | +['ও(o|O)','', 'ঊ'], |
| 48 | +['অu','', 'ঔ'], |
| 49 | +['ঋR','', 'ৠ'], |
| 50 | +['ঌL','', 'ৡ'], |
| 51 | + |
| 52 | +['ক্h','', 'খ্'], |
| 53 | +['গ্h','', 'ঘ্'], |
| 54 | +['ন্g','', 'ঙ্'], |
| 55 | +['চ্h','', 'ছ্'], |
| 56 | +['জ্h','', 'ঝ্'], |
| 57 | +['ন্j','', 'ঞ্'], |
| 58 | +['ট্h','', 'ঠ্'], |
| 59 | +['ড্h','', 'ঢ্'], |
| 60 | +['ত্h','', 'থ্'], |
| 61 | +['দ্h','', 'ধ্'], |
| 62 | +['প্h','', 'ফ্'], |
| 63 | +['ব্h','', 'ভ্'], |
| 64 | +['স্h','', 'ষ্'], |
| 65 | + |
| 66 | + |
| 67 | +['a','', 'অ'], |
| 68 | +['b','', 'ব্'], |
| 69 | +['c','', 'ক্'], |
| 70 | +['d','', 'দ্'], |
| 71 | +['(e|E)','', 'এ'], |
| 72 | +//['f','', 'অ'], |
| 73 | +['g','', 'গ্'], |
| 74 | +['h','', 'স্'], |
| 75 | +['i','', 'ই'], |
| 76 | +['j','', 'জ্'], |
| 77 | +['k','', 'ক্'], |
| 78 | +['l','', 'ল্'], |
| 79 | +['m','', 'ম্'], |
| 80 | +['n','', 'ন্'], |
| 81 | +['(o|O)','', 'ও'], |
| 82 | +['p','', 'প্'], |
| 83 | +//['q','', 'অ'], |
| 84 | +['r','', 'র্'], |
| 85 | +['s','', 'স্'], |
| 86 | +['t','', 'ত্'], |
| 87 | +['u','', 'উ'], |
| 88 | +//['v','', 'অ'], |
| 89 | +//['w','', 'অ'], |
| 90 | +//['x','', 'অ'], |
| 91 | +['y','', 'য্'], |
| 92 | +//['z','', 'অ'], |
| 93 | +['A','', 'আ'], |
| 94 | +['B','', 'ব্ব্'], |
| 95 | +['C','', 'ক্ক্'], |
| 96 | +['D','', 'ড্'], |
| 97 | +//['F','', 'অ'], |
| 98 | +['G','', 'গ্গ্'], |
| 99 | +['H','', 'ঃ'], |
| 100 | +['I','', 'ঈ'], |
| 101 | +['J','', 'জ্জ্'], |
| 102 | +['K','', 'ক্ক্'], |
| 103 | +['L','', 'ঌ'], |
| 104 | +['M','', 'ম্ম্'], |
| 105 | +['N','', 'ণ্'], |
| 106 | +['P','', 'প্প্'], |
| 107 | +//['Q','', 'অ'], |
| 108 | +['R','', 'ঋ'], |
| 109 | +['S','', 'শ্'], |
| 110 | +['T','', 'ট্'], |
| 111 | +['U','', 'ঊ'], |
| 112 | +//['V','', 'অ'], |
| 113 | +//['W','', 'অ'], |
| 114 | +//['X','', 'অ'], |
| 115 | +['Y','', 'য্য্'], |
| 116 | +//['Z','', 'অ'], |
| 117 | +['0','', '০'], |
| 118 | +['1','', '১'], |
| 119 | +['2','', '২'], |
| 120 | +['3','', '৩'], |
| 121 | +['4','', '৪'], |
| 122 | +['5','', '৫'], |
| 123 | +['6','', '৬'], |
| 124 | +['7','', '৭'], |
| 125 | +['8','', '৮'], |
| 126 | +['9','', '৯'], |
| 127 | + |
| 128 | +['//','', 'ঽ'] |
| 129 | +]; |
| 130 | + |
| 131 | +jQuery.narayam.addScheme( 'as', { |
| 132 | + 'namemsg': 'narayam-as', |
| 133 | + 'extended_keyboard': false, |
| 134 | + 'lookbackLength': 3, |
| 135 | + 'keyBufferLength': 2, |
| 136 | + 'rules': rules |
| 137 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 138 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.sa.js |
— | — | @@ -160,6 +160,6 @@ |
161 | 161 | 'namemsg': 'narayam-sa', |
162 | 162 | 'extended_keyboard': false, |
163 | 163 | 'lookbackLength': 4, |
164 | | - 'keyBufferLength': 1, |
| 164 | + 'keyBufferLength': 2, |
165 | 165 | 'rules': rules |
166 | 166 | } ); |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-avro.js |
— | — | @@ -0,0 +1,168 @@ |
| 2 | +/** |
| 3 | + * Avro layout regular expression rules table for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-05 |
| 6 | + * @credits Derived from Bengali Avro layout by changing the characters for Assamese |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['([ক-হড়ঢ়য়ৰ])্?ৰৰi','[^o`]', '$1ৃ'], |
| 12 | +['ৰৰi','[^o`]', 'ঋ'], |
| 13 | + |
| 14 | +['(([ক-হড়ঢ়য়ৰ])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK! |
| 15 | +['([ক-হড়ঢ়য়ৰ])a','[^o`]', '$1া'], |
| 16 | +['([ক-হড়ঢ়য়ৰ])i','[^o`]', '$1ি'], |
| 17 | +['([ক-হড়ঢ়য়ৰ])I','[^o`]', '$1ী'], |
| 18 | +['([ক-হড়ঢ়য়ৰ])u','[^o`]', '$1ু'], |
| 19 | +['([ক-হড়ঢ়য়ৰ])U','[^o`]', '$1ূ'], |
| 20 | +['([ক-হড়ঢ়য়ৰ])o','[o`]', '$1ু'], |
| 21 | +['([ক-হড়ঢ়য়ৰ])e','[^o`]', '$1ে'], |
| 22 | +['([ক-হড়ঢ়য়ৰ])োI','[^o`]', '$1ৈ'], |
| 23 | +['([ক-হড়ঢ়য়ৰ])O','[^o`]', '$1ো'], |
| 24 | +['([ক-হড়ঢ়য়ৰ])োU','[^o`]', '$1ৌ'], |
| 25 | + |
| 26 | +//'চচh','[^o`]', 'চ্চ'], |
| 27 | + |
| 28 | +['([কঙলষস])(k|K)','[^o`]','$1্ক'], |
| 29 | +['([ঙদল])(g|G)','[^o`]','$1্গ'], |
| 30 | +['গg','[^o`]','জ্ঞ'], |
| 31 | +['([চশ])c','[^o`]','$1্চ'], |
| 32 | +['([জঞব])j','[^o`]','$1্জ'], |
| 33 | +['নj','[^o`]','ঞ্জ'], |
| 34 | +['([কটণনপলষস])T','[^o`]','$1্ট'], |
| 35 | +['([ডণনল])D','[^o`]','$1্ড'], |
| 36 | +['([গষহ])N','[^o`]','$1্ণ'], |
| 37 | +['([কতনপশসহ])t','[^o`]','$1্ত'], |
| 38 | +['([দনব])d','[^o`]','$1্দ'], |
| 39 | +['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'], |
| 40 | +['([পমলস])p','[^o`]','$1্প'], |
| 41 | +['([বমল])b','[^o`]','$1্ব'], |
| 42 | +['([দম])(v|V)','[^o`]','$1্ভ'], |
| 43 | +['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'], |
| 44 | +['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্ৰ'], |
| 45 | +['([কগপ-বমলশসহ])l','[^o`]','$1্ল'], |
| 46 | +['([কনপ])s','[^o`]','$1্স'], |
| 47 | +['([ক-হড়ঢ়য়ৰ])w','[^o`]','$1্ব'], |
| 48 | +['([ক-হড়ঢ়য়ৰ])y','[^o`]','$1্য'], |
| 49 | +['নc','[^o`]','ঞ্চ'], |
| 50 | + |
| 51 | +['ত`','`' ,'ৎ'], |
| 52 | + |
| 53 | +['ক্ক(h|H)','[^o`]','ক্ষ'], |
| 54 | +['কশ(h|H)','[^o`]','ক্ষ'], |
| 55 | +//'([অ-ঔা-ৌ])ৰৰk','[^o]','$1র্ক'], |
| 56 | + |
| 57 | +['ৰৰk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'], |
| 58 | +['ৰৰg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'], |
| 59 | +['ৰৰc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'], |
| 60 | +['ৰৰj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'], |
| 61 | +['ৰৰT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'], |
| 62 | +['ৰৰD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'], |
| 63 | +['ৰৰN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'], |
| 64 | +['ৰৰt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'], |
| 65 | +['ৰৰd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'], |
| 66 | +['ৰৰn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'], |
| 67 | +['ৰৰp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'], |
| 68 | +['ৰৰf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'], |
| 69 | +['ৰৰb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'], |
| 70 | +['ৰৰv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'], |
| 71 | +['ৰৰm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'], |
| 72 | +['ৰৰz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'], |
| 73 | +['ৰৰl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ল'], |
| 74 | +['ৰৰS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্শ'], |
| 75 | +['ৰৰs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'], |
| 76 | +['ৰৰh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'], |
| 77 | +['ৰৰR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'], |
| 78 | +['ৰৰ(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'], |
| 79 | + |
| 80 | +['শ(h|H)','S', 'ষ'], |
| 81 | + |
| 82 | +['অo','[^`]', 'উ'], |
| 83 | +['এe','[^o`]', 'ঈ'], |
| 84 | + |
| 85 | +['কh','[^o`]', 'খ'], |
| 86 | +['গh','[^o`]', 'ঘ'], |
| 87 | +['ণg','[^o`]', 'ঙ'], |
| 88 | +['চh','[^o`]', 'ছ'], |
| 89 | +['জh','[^o`]', 'ঝ'], |
| 90 | +['ণG','[^o`]', 'ঞ'], |
| 91 | +['টh','[^o`]', 'ঠ'], |
| 92 | +['ডh','[^o`]', 'ঢ'], |
| 93 | +['তh','[^o`]', 'থ'], |
| 94 | +['দh','[^o`]', 'ধ'], |
| 95 | +['পh','[^o`]', 'ফ'], |
| 96 | +['বh','[^o`]', 'ভ'], |
| 97 | +['(সh)','[^o`]', 'শ'], |
| 98 | +['ড়h','[^o`]', 'ঢ়'], |
| 99 | +['ত্`','[^o`]', 'ৎ'], |
| 100 | +['নg','[^o`]', 'ং'], |
| 101 | +['ঃ`','[^o`]', ':'], |
| 102 | +['ৰৰi','[^o`]', 'ঋ'], |
| 103 | +['ওI','[^o`]', 'ঐ'], |
| 104 | +['ওU','[^o`]', 'ঔ'], |
| 105 | + |
| 106 | +['(k|K)','' ,'ক'], |
| 107 | +['(g|G)','' ,'গ'], |
| 108 | +['(c|C)','' ,'চ'], |
| 109 | +['j','' ,'জ'], |
| 110 | +['T','' ,'ট'], |
| 111 | +['D','' ,'ড'], |
| 112 | +['N','' ,'ণ'], |
| 113 | +['t','' ,'ত'], |
| 114 | +['d','' ,'দ'], |
| 115 | +['n','' ,'ন'], |
| 116 | +['(p|P)','' ,'প'], |
| 117 | +['f','' ,'ফ'], |
| 118 | +['(b|B)','' ,'ব'], |
| 119 | +['(v|V)','' ,'ভ'], |
| 120 | +['(m|M)','' ,'ম'], |
| 121 | +['z','' ,'য'], |
| 122 | +['r','' ,'ৰ'], |
| 123 | +['(l|L)','' ,'ল'], |
| 124 | +['S','' ,'শ'], |
| 125 | +['s','' ,'স'], |
| 126 | +['(h|H)','' ,'হ'], |
| 127 | +['R','' ,'ড়'], |
| 128 | +['(y|Y)','' ,'য়'], |
| 129 | + |
| 130 | +['Z','' ,'্য'], |
| 131 | + |
| 132 | +['o','' ,'অ'], |
| 133 | +['(a|A)','' ,'আ'], |
| 134 | +['i','' ,'ই'], |
| 135 | +['I','' ,'ঈ'], |
| 136 | +['u','' ,'উ'], |
| 137 | +['U','' ,'ঊ'], |
| 138 | +['e','' ,'এ'], |
| 139 | +['O','' ,'ও'], |
| 140 | + |
| 141 | +['0','' ,'০'], |
| 142 | +['1','' ,'১'], |
| 143 | +['2','' ,'২'], |
| 144 | +['3','' ,'৩'], |
| 145 | +['4','' ,'৪'], |
| 146 | +['5','' ,'৫'], |
| 147 | +['6','' ,'৬'], |
| 148 | +['7','' ,'৭'], |
| 149 | +['8','' ,'৮'], |
| 150 | +['9','' ,'৯'], |
| 151 | + |
| 152 | +['\\\\\\.','' ,'.'], |
| 153 | + |
| 154 | +[',,','' ,'্'], |
| 155 | +['\\:','' ,'ঃ'], |
| 156 | +['\\^','' ,'ঁ'], |
| 157 | +['\\.','' ,'।'], |
| 158 | +['\\$','' ,'৳'], |
| 159 | +['ঃ`','' ,':'], |
| 160 | +['`','' ,''] |
| 161 | +]; |
| 162 | + |
| 163 | +jQuery.narayam.addScheme( 'as-avro', { |
| 164 | + 'namemsg': 'narayam-as-avro', |
| 165 | + 'extended_keyboard': false, |
| 166 | + 'lookbackLength': 4, |
| 167 | + 'keyBufferLength': 2, |
| 168 | + 'rules': rules |
| 169 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.as-avro.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 170 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.php |
— | — | @@ -44,6 +44,12 @@ |
45 | 45 | // Array mapping language codes and scheme names to module names |
46 | 46 | // Custom schemes can be added here |
47 | 47 | $wgNarayamSchemes = array( |
| 48 | + 'as' => array( |
| 49 | + 'as' => 'ext.narayam.rules.as', |
| 50 | + 'as-avro' => 'ext.narayam.rules.as-avro', |
| 51 | + 'as-bornona' => 'ext.narayam.rules.as-bornona', |
| 52 | + 'as-inscript' => 'ext.narayam.rules.as-inscript', |
| 53 | + ), |
48 | 54 | 'bn' => array( |
49 | 55 | 'bn-avro' => 'ext.narayam.rules.bn-avro', |
50 | 56 | 'bn-inscript' => 'ext.narayam.rules.bn-inscript', |
— | — | @@ -140,6 +146,26 @@ |
141 | 147 | ), |
142 | 148 | 'dependencies' => array( 'mediawiki.util', 'jquery.textSelection' ), |
143 | 149 | ); |
| 150 | +$wgResourceModules['ext.narayam.rules.as'] = $narayamTpl + array( |
| 151 | + 'scripts' => 'js/ext.narayam.rules.as.js', |
| 152 | + 'messages' => array( 'narayam-as' ), |
| 153 | + 'dependencies' => 'ext.narayam.core', |
| 154 | +); |
| 155 | +$wgResourceModules['ext.narayam.rules.as-avro'] = $narayamTpl + array( |
| 156 | + 'scripts' => 'js/ext.narayam.rules.as-avro.js', |
| 157 | + 'messages' => array( 'narayam-as-avro' ), |
| 158 | + 'dependencies' => 'ext.narayam.core', |
| 159 | +); |
| 160 | +$wgResourceModules['ext.narayam.rules.as-bornona'] = $narayamTpl + array( |
| 161 | + 'scripts' => 'js/ext.narayam.rules.as-bornona.js', |
| 162 | + 'messages' => array( 'narayam-as-bornona' ), |
| 163 | + 'dependencies' => 'ext.narayam.core', |
| 164 | +); |
| 165 | +$wgResourceModules['ext.narayam.rules.as-inscript'] = $narayamTpl + array( |
| 166 | + 'scripts' => 'js/ext.narayam.rules.as-inscript.js', |
| 167 | + 'messages' => array( 'narayam-as-inscript' ), |
| 168 | + 'dependencies' => 'ext.narayam.core', |
| 169 | +); |
144 | 170 | $wgResourceModules['ext.narayam.rules.bn-avro'] = $narayamTpl + array( |
145 | 171 | 'scripts' => 'js/ext.narayam.rules.bn-avro.js', |
146 | 172 | 'messages' => array( 'narayam-bn-avro' ), |