Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -22,6 +22,7 @@ |
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-am' => 'Amharic Transliteration', |
26 | 27 | 'narayam-as' => 'Assamese Transliteration', |
27 | 28 | 'narayam-as-avro' => 'Assamese Avro', |
28 | 29 | 'narayam-as-bornona' => 'Assamese Bornona', |
Index: trunk/extensions/Narayam/js/ext.narayam.rules.am.js |
— | — | @@ -0,0 +1,417 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Amharic script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-10-08 |
| 6 | + * @credits http://www.lexilogos.com/keyboard/amharic.htm |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['፻0', '', '፲፻'], // 1000 |
| 12 | +['፳0', '', '፪፻'], // 200 |
| 13 | + |
| 14 | +['ጕe', '', 'ጐ'], // gwe |
| 15 | +['ጕi', '', 'ጒ'], // gwi |
| 16 | +['ጕa', '', 'ጓ'], // gwa |
| 17 | +['ጐe', '', 'ጔ'], // gwee |
| 18 | + |
| 19 | +['ዅe', '', 'ዀ'], // kxwe |
| 20 | +['ዅi', '', 'ዂ'], // kxwi |
| 21 | +['ዅa', '', 'ዃ'], // kxwa |
| 22 | +['ዀe', '', 'ዄ'], // kxwee |
| 23 | + |
| 24 | +['ኵe', '', 'ኰ'], // kwe |
| 25 | +['ኵi', '', 'ኲ'], // kwi |
| 26 | +['ኵa', '', 'ኳ'], // kwa |
| 27 | +['ኰe', '', 'ኴ'], // kwee |
| 28 | + |
| 29 | +['ኍe', '', 'ኈ'], // xwe, TODO: wrong? |
| 30 | +['ኍi', '', 'ኊ'], // xwi, TODO: wrong? |
| 31 | +['ኍa', '', 'ኋ'], // xwa, TODO: wrong? |
| 32 | +['ኈe', '', 'ኌ'], // xwee, TODO: wrong? |
| 33 | + |
| 34 | +['ቝe', '', 'ቘ'], // qhwe, TODO: wrong? |
| 35 | +['ቝi', '', 'ቚ'], // qhwi, TODO: wrong? |
| 36 | +['ቝa', '', 'ቛ'], // qhwa, TODO: wrong? |
| 37 | +['ቘe', '', 'ቜ'], // qhwee, TODO: wrong? |
| 38 | + |
| 39 | +['ቍe', '', 'ቈ'], // qwe |
| 40 | +['ቍi', '', 'ቊ'], // qwi |
| 41 | +['ቍa', '', 'ቋ'], // qwa |
| 42 | +['ቈe', '', 'ቌ'], // qwee |
| 43 | + |
| 44 | +['ፕe', '', 'ፐ'], // pe |
| 45 | +['ፕu', '', 'ፑ'], // pu |
| 46 | +['ፕi', '', 'ፒ'], // pi |
| 47 | +['ፕa', '', 'ፓ'], // pa |
| 48 | +['ፐe', '', 'ፔ'], // pee |
| 49 | +['ፕo', '', 'ፖ'], // po |
| 50 | +['ፓa', '', 'ፗ'], // paa |
| 51 | + |
| 52 | +['ፍe', '', 'ፈ'], // fe |
| 53 | +['ፍu', '', 'ፉ'], // fu |
| 54 | +['ፍi', '', 'ፊ'], // fi |
| 55 | +['ፍa', '', 'ፋ'], // fa |
| 56 | +['ፈe', '', 'ፌ'], // fee |
| 57 | +['ፍo', '', 'ፎ'], // fo |
| 58 | +['ፋa', '', 'ፏ'], // faa |
| 59 | + |
| 60 | +['ፅe', '', 'ፀ'], // tze |
| 61 | +['ፅu', '', 'ፁ'], // tzu |
| 62 | +['ፅi', '', 'ፂ'], // tzi |
| 63 | +['ፅa', '', 'ፃ'], // tza |
| 64 | +['ፀe', '', 'ፄ'], // tzee |
| 65 | +['ፅo', '', 'ፆ'], // tzo |
| 66 | +['ፃa', '', 'ፇ'], // tzaa |
| 67 | + |
| 68 | +['ጽe', '', 'ጸ'], // tse |
| 69 | +['ጽu', '', 'ጹ'], // tsu |
| 70 | +['ጽi', '', 'ጺ'], // tsi |
| 71 | +['ጽa', '', 'ጻ'], // tsa |
| 72 | +['ጸe', '', 'ጼ'], // tsee |
| 73 | +['ጽo', '', 'ጾ'], // tso |
| 74 | +['ጻa', '', 'ጿ'], // tsaa |
| 75 | + |
| 76 | +['ጵe', '', 'ጰ'], // phe |
| 77 | +['ጵu', '', 'ጱ'], // phu |
| 78 | +['ጵi', '', 'ጲ'], // phi |
| 79 | +['ጵa', '', 'ጳ'], // pha |
| 80 | +['ጰe', '', 'ጴ'], // phee |
| 81 | +['ጵo', '', 'ጶ'], // pho |
| 82 | +['ጳa', '', 'ጷ'], // phaa |
| 83 | + |
| 84 | +['ጭe', '', 'ጨ'], // che |
| 85 | +['ጭu', '', 'ጩ'], // chu |
| 86 | +['ጭi', '', 'ጪ'], // chi |
| 87 | +['ጭa', '', 'ጫ'], // cha |
| 88 | +['ጨe', '', 'ጬ'], // chee |
| 89 | +['ጭo', '', 'ጮ'], // cho |
| 90 | +['ጫa', '', 'ጯ'], // chaa |
| 91 | + |
| 92 | +['ጥe', '', 'ጠ'], // the |
| 93 | +['ጥu', '', 'ጡ'], // thu |
| 94 | +['ጥi', '', 'ጢ'], // thi |
| 95 | +['ጥa', '', 'ጣ'], // tha |
| 96 | +['ጠe', '', 'ጤ'], // thee |
| 97 | +['ጥo', '', 'ጦ'], // tho |
| 98 | +['ጣa', '', 'ጧ'], // thaa |
| 99 | + |
| 100 | +['ጝe', '', 'ጘ'], // gge |
| 101 | +['ጝu', '', 'ጙ'], // ggu |
| 102 | +['ጝi', '', 'ጚ'], // ggi |
| 103 | +['ጝa', '', 'ጛ'], // gga |
| 104 | +['ጘe', '', 'ጜ'], // ggee |
| 105 | +['ጝo', '', 'ጞ'], // ggo |
| 106 | +['ጛa', '', 'ጟ'], // ggaa |
| 107 | + |
| 108 | +['ግe', '', 'ገ'], // ge |
| 109 | +['ግu', '', 'ጉ'], // gu |
| 110 | +['ግi', '', 'ጊ'], // gi |
| 111 | +['ግa', '', 'ጋ'], // ga |
| 112 | +['ገe', '', 'ጌ'], // gee |
| 113 | +['ግo', '', 'ጎ'], // go |
| 114 | +['ጋa', '', 'ጓ'], // gaa, TODO: wrong? |
| 115 | + |
| 116 | +['ጅe', '', 'ጀ'], // je |
| 117 | +['ጅu', '', 'ጁ'], // ju |
| 118 | +['ጅi', '', 'ጂ'], // ji |
| 119 | +['ጅa', '', 'ጃ'], // ja |
| 120 | +['ጀe', '', 'ጄ'], // jee |
| 121 | +['ጅo', '', 'ጆ'], // jo |
| 122 | +['ጃa', '', 'ጇ'], // jaa |
| 123 | + |
| 124 | +['ዽe', '', 'ዸ'], // dde |
| 125 | +['ዽu', '', 'ዹ'], // ddu |
| 126 | +['ዽi', '', 'ዺ'], // ddi |
| 127 | +['ዽa', '', 'ዻ'], // dda |
| 128 | +['ዸe', '', 'ዼ'], // ddee |
| 129 | +['ዽo', '', 'ዾ'], // ddo |
| 130 | +['ዻa', '', 'ዿ'], // ddaa |
| 131 | + |
| 132 | +['ድe', '', 'ደ'], // de |
| 133 | +['ድu', '', 'ዱ'], // du |
| 134 | +['ድi', '', 'ዲ'], // di |
| 135 | +['ድa', '', 'ዳ'], // da |
| 136 | +['ደe', '', 'ዴ'], // dee |
| 137 | +['ድo', '', 'ዶ'], // do |
| 138 | +['ዳa', '', 'ዷ'], // daa |
| 139 | + |
| 140 | +['ይe', '', 'የ'], // ye |
| 141 | +['ይu', '', 'ዩ'], // yu |
| 142 | +['ይi', '', 'ዪ'], // yi |
| 143 | +['ይa', '', 'ያ'], // ya |
| 144 | +['የe', '', 'ዬ'], // yee |
| 145 | +['ይo', '', 'ዮ'], // yo |
| 146 | +['ያa', '', 'ዯ'], // yaa |
| 147 | + |
| 148 | +['ዥe', '', 'ዠ'], // zhe |
| 149 | +['ዥu', '', 'ዡ'], // zhu |
| 150 | +['ዥi', '', 'ዢ'], // zhi |
| 151 | +['ዥa', '', 'ዣ'], // zha |
| 152 | +['ዠe', '', 'ዤ'], // zhee |
| 153 | +['ዥo', '', 'ዦ'], // zho |
| 154 | +['ዣa', '', 'ዧ'], // zhaa |
| 155 | + |
| 156 | +['ዝe', '', 'ዘ'], // ze |
| 157 | +['ዝu', '', 'ዙ'], // zu |
| 158 | +['ዝi', '', 'ዚ'], // zi |
| 159 | +['ዝa', '', 'ዛ'], // za |
| 160 | +['ዘe', '', 'ዜ'], // zee |
| 161 | +['ዝo', '', 'ዞ'], // zo |
| 162 | +['ዛa', '', 'ዟ'], // zaa |
| 163 | + |
| 164 | +['ዕe', '', 'ዐ'], // "e |
| 165 | +['ዕu', '', 'ዑ'], // "u |
| 166 | +['ዕi', '', 'ዒ'], // "i |
| 167 | +['ዕa', '', 'ዓ'], // "a |
| 168 | +['ዐe', '', 'ዔ'], // "ee |
| 169 | +['ዕo', '', 'ዖ'], // "o |
| 170 | + |
| 171 | +['ውe', '', 'ወ'], // we |
| 172 | +['ውu', '', 'ዉ'], // wu |
| 173 | +['ውi', '', 'ዊ'], // wi |
| 174 | +['ውa', '', 'ዋ'], // wa |
| 175 | +['ወe', '', 'ዌ'], // wee, TODO: wrong? |
| 176 | +['ውo', '', 'ዎ'], // wo |
| 177 | + |
| 178 | +['ኽe', '', 'ኸ'], // kxe |
| 179 | +['ኽu', '', 'ኹ'], // kxu |
| 180 | +['ኽi', '', 'ኺ'], // kxi |
| 181 | +['ኽa', '', 'ኻ'], // kxa |
| 182 | +['ኸe', '', 'ኼ'], // kxee |
| 183 | +['ኽo', '', 'ኾ'], // kxo |
| 184 | + |
| 185 | +['ክe', '', 'ከ'], // ke |
| 186 | +['ክu', '', 'ኩ'], // ku |
| 187 | +['ክi', '', 'ኪ'], // ki |
| 188 | +['ክa', '', 'ካ'], // ka |
| 189 | +['ከe', '', 'ኬ'], // kee |
| 190 | +['ክo', '', 'ኮ'], // ko |
| 191 | +['ካa', '', 'ኳ'], // kaa, TODO: wrong? |
| 192 | + |
| 193 | +['እe', '', 'አ'], // 'e |
| 194 | +['እu', '', 'ኡ'], // 'u |
| 195 | +['እi', '', 'ኢ'], // 'i |
| 196 | +['እa', '', 'ኣ'], // 'a |
| 197 | +['አe', '', 'ኤ'], // 'ee |
| 198 | +['እo', '', 'ኦ'], // 'o |
| 199 | +['ኣa', '', 'ኧ'], // 'aa |
| 200 | + |
| 201 | +['ኝe', '', 'ኘ'], // Ne |
| 202 | +['ኝu', '', 'ኙ'], // Nu |
| 203 | +['ኝi', '', 'ኚ'], // Ni |
| 204 | +['ኝa', '', 'ኛ'], // Na |
| 205 | +['ኘe', '', 'ኜ'], // Nee, TODO: wrong? |
| 206 | +['ኝo', '', 'ኞ'], // No |
| 207 | +['ኛa', '', 'ኟ'], // Naa |
| 208 | + |
| 209 | +['ንe', '', 'ነ'], // ne |
| 210 | +['ንu', '', 'ኑ'], // nu |
| 211 | +['ንi', '', 'ኒ'], // ni |
| 212 | +['ንa', '', 'ና'], // na |
| 213 | +['ነe', '', 'ኔ'], // nee |
| 214 | +['ንo', '', 'ኖ'], // no |
| 215 | +['ናa', '', 'ኗ'], // naa |
| 216 | + |
| 217 | +['ኅe', '', 'ኀ'], // xe |
| 218 | +['ኅu', '', 'ኁ'], // xu |
| 219 | +['ኅi', '', 'ኂ'], // xi |
| 220 | +['ኅa', '', 'ኃ'], // xa |
| 221 | +['ኀe', '', 'ኄ'], // xee |
| 222 | +['ኅo', '', 'ኆ'], // xo |
| 223 | +['ኃa', '', 'ኋ'], // xaa |
| 224 | + |
| 225 | +['ችe', '', 'ቸ'], // ce |
| 226 | +['ችu', '', 'ቹ'], // cu |
| 227 | +['ችi', '', 'ቺ'], // ci |
| 228 | +['ችa', '', 'ቻ'], // ca |
| 229 | +['ቸe', '', 'ቼ'], // cee |
| 230 | +['ችo', '', 'ቾ'], // co |
| 231 | +['ቻa', '', 'ቿ'], // caa |
| 232 | + |
| 233 | +['ትe', '', 'ተ'], // te |
| 234 | +['ትu', '', 'ቱ'], // tu |
| 235 | +['ትi', '', 'ቲ'], // ti |
| 236 | +['ትa', '', 'ታ'], // ta |
| 237 | +['ተe', '', 'ቴ'], // tee |
| 238 | +['ትo', '', 'ቶ'], // to |
| 239 | +['ታa', '', 'ቷ'], // taa |
| 240 | + |
| 241 | +['ቭe', '', 'ቨ'], // ve |
| 242 | +['ቭu', '', 'ቩ'], // vu |
| 243 | +['ቭi', '', 'ቪ'], // vi |
| 244 | +['ቭa', '', 'ቫ'], // va |
| 245 | +['ቨe', '', 'ቬ'], // vee |
| 246 | +['ቭo', '', 'ቮ'], // vo |
| 247 | +['ቫa', '', 'ቯ'], // vaa |
| 248 | + |
| 249 | +['ብe', '', 'በ'], // be |
| 250 | +['ብu', '', 'ቡ'], // bu |
| 251 | +['ብi', '', 'ቢ'], // bi |
| 252 | +['ብa', '', 'ባ'], // ba |
| 253 | +['በe', '', 'ቤ'], // bee |
| 254 | +['ብo', '', 'ቦ'], // bo |
| 255 | +['ባa', '', 'ቧ'], // baa |
| 256 | + |
| 257 | +['ቕe', '', 'ቐ'], // qhe |
| 258 | +['ቕu', '', 'ቑ'], // qhu |
| 259 | +['ቕi', '', 'ቒ'], // qhi |
| 260 | +['ቕa', '', 'ቓ'], // qha |
| 261 | +['ቐe', '', 'ቔ'], // qhee |
| 262 | +['ቕo', '', 'ቖ'], // qho |
| 263 | + |
| 264 | +['ቅe', '', 'ቀ'], // qe |
| 265 | +['ቅu', '', 'ቁ'], // qu |
| 266 | +['ቅi', '', 'ቂ'], // qi |
| 267 | +['ቅa', '', 'ቃ'], // qa |
| 268 | +['ቀe', '', 'ቄ'], // qee |
| 269 | +['ቅo', '', 'ቆ'], // qo |
| 270 | +['ቃa', '', 'ቇ'], // qaa |
| 271 | + |
| 272 | +['ሽe', '', 'ሸ'], // she |
| 273 | +['ሽu', '', 'ሹ'], // shu |
| 274 | +['ሽi', '', 'ሺ'], // shi |
| 275 | +['ሽa', '', 'ሻ'], // sha |
| 276 | +['ሸe', '', 'ሼ'], // shee |
| 277 | +['ሽo', '', 'ሾ'], // sho |
| 278 | +['ሻa', '', 'ሿ'], // shaa |
| 279 | + |
| 280 | +['ስe', '', 'ሰ'], // se |
| 281 | +['ስu', '', 'ሱ'], // su |
| 282 | +['ስi', '', 'ሲ'], // si |
| 283 | +['ስa', '', 'ሳ'], // sa |
| 284 | +['ሰe', '', 'ሴ'], // see |
| 285 | +['ስo', '', 'ሶ'], // so |
| 286 | +['ሳa', '', 'ሷ'], // saa |
| 287 | + |
| 288 | +['ርe', '', 'ረ'], // re |
| 289 | +['ርu', '', 'ሩ'], // ru |
| 290 | +['ርi', '', 'ሪ'], // ri |
| 291 | +['ርa', '', 'ራ'], // ra |
| 292 | +['ረe', '', 'ሬ'], // ree |
| 293 | +['ርo', '', 'ሮ'], // ro |
| 294 | +['ራe', '', 'ሯ'], // raa |
| 295 | + |
| 296 | +['ሥe', '', 'ሠ'], // sze |
| 297 | +['ሥu', '', 'ሡ'], // szu |
| 298 | +['ሥi', '', 'ሢ'], // szi |
| 299 | +['ሥa', '', 'ሣ'], // sza |
| 300 | +['ሠe', '', 'ሤ'], // szee |
| 301 | +['ሥo', '', 'ሦ'], // szo |
| 302 | +['ሣe', '', 'ሧ'], // szaa |
| 303 | + |
| 304 | +['ምe', '', 'መ'], // me |
| 305 | +['ምu', '', 'ሙ'], // mu |
| 306 | +['ምi', '', 'ሚ'], // mi |
| 307 | +['ምa', '', 'ማ'], // ma |
| 308 | +['መe', '', 'ሜ'], // mee |
| 309 | +['ምo', '', 'ሞ'], // mo |
| 310 | +['ማa', '', 'ሟ'], // maa |
| 311 | + |
| 312 | +['ሕe', '', 'ሐ'], // hhe |
| 313 | +['ሕu', '', 'ሑ'], // hhu |
| 314 | +['ሕi', '', 'ሒ'], // hhi |
| 315 | +['ሕa', '', 'ሓ'], // hha |
| 316 | +['ሐe', '', 'ሔ'], // hhee |
| 317 | +['ሕo', '', 'ሖ'], // hho |
| 318 | +['ሓa', '', 'ሗ'], // hhaa |
| 319 | + |
| 320 | +['ልe', '', 'ለ'], // le |
| 321 | +['ልu', '', 'ሉ'], // lu |
| 322 | +['ልi', '', 'ሊ'], // li |
| 323 | +['ልa', '', 'ላ'], // la |
| 324 | +['ለe', '', 'ሌ'], // lee |
| 325 | +['ልo', '', 'ሎ'], // lo |
| 326 | +['ላa', '', 'ሏ'], // laa |
| 327 | + |
| 328 | +['ህe', '', 'ሀ'], // he |
| 329 | +['ህu', '', 'ሁ'], // hu |
| 330 | +['ህi', '', 'ሂ'], // hi |
| 331 | +['ህa', '', 'ሃ'], // ha |
| 332 | +['ሀe', '', 'ሄ'], // hee |
| 333 | +['ህo', '', 'ሆ'], // ho |
| 334 | + |
| 335 | +['ህh', '', 'ሕ'], // hh |
| 336 | +['ስz', '', 'ሥ'], // sz |
| 337 | +['ስh', '', 'ሽ'], // sh |
| 338 | +['ቅh', '', 'ቕ'], // qh |
| 339 | +['ክx', '', 'ኽ'], // kx |
| 340 | +['ዝh', '', 'ዥ'], // zh |
| 341 | +['ድd', '', 'ዽ'], // dd |
| 342 | +['ግg', '', 'ጝ'], // gg |
| 343 | +['ትh', '', 'ጥ'], // th |
| 344 | +['ችh', '', 'ጭ'], // ch |
| 345 | +['ፕh', '', 'ጵ'], // ph |
| 346 | +['ትs', '', 'ጽ'], // ts |
| 347 | +['ትz', '', 'ፅ'], // tz |
| 348 | +['ቅw', '', 'ቍ'], // qw |
| 349 | +['ቕw', '', 'ቝ'], // qhw |
| 350 | +['ኅw', '', 'ኍ'], // xw |
| 351 | +['ክw', '', 'ኵ'], // kw |
| 352 | +['ኽw', '', 'ዅ'], // kxw |
| 353 | +['ግw', '', 'ጕ'], // gw |
| 354 | + |
| 355 | +['፩0', '', '፲'], // 10 |
| 356 | +['፪0', '', '፳'], // 20 |
| 357 | +['፫0', '', '፴'], // 30 |
| 358 | +['፬0', '', '፵'], // 40 |
| 359 | +['፭0', '', '፶'], // 50 |
| 360 | +['፮0', '', '፷'], // 60 |
| 361 | +['፯0', '', '፸'], // 70 |
| 362 | +['፰0', '', '፹'], // 80 |
| 363 | +['፱0', '', '፺'], // 90 |
| 364 | +['፲0', '', '፻'], // 100 |
| 365 | + |
| 366 | +['h', '', 'ህ'], |
| 367 | +['l', '', 'ል'], |
| 368 | +['m', '', 'ም'], |
| 369 | +['r', '', 'ር'], |
| 370 | +['s', '', 'ስ'], |
| 371 | +['q', '', 'ቅ'], |
| 372 | +['b', '', 'ብ'], |
| 373 | +['v', '', 'ቭ'], |
| 374 | +['t', '', 'ት'], |
| 375 | +['c', '', 'ች'], |
| 376 | +['x', '', 'ኅ'], |
| 377 | +['n', '', 'ን'], |
| 378 | +['N', '', 'ኝ'], |
| 379 | +["'", '', 'እ'], |
| 380 | +['k', '', 'ክ'], |
| 381 | +['w', '', 'ው'], |
| 382 | +['"', '', 'ዕ'], |
| 383 | +['z', '', 'ዝ'], |
| 384 | +['y', '', 'ይ'], |
| 385 | +['d', '', 'ድ'], |
| 386 | +['j', '', 'ጅ'], |
| 387 | +['g', '', 'ግ'], |
| 388 | +['f', '', 'ፍ'], |
| 389 | +['p', '', 'ፕ'], |
| 390 | + |
| 391 | +['\\:', '', '፥'], |
| 392 | +['\\.', '', '።'], |
| 393 | +[',', '', '፣'], |
| 394 | +[';', '', '፤'], |
| 395 | +['\\:', '', '፥'], |
| 396 | +['/', '', '፨'], |
| 397 | +['\\?', '', '፧'], |
| 398 | +['\\-', '', '፡'], |
| 399 | +['\\!', '', '፦'], |
| 400 | + |
| 401 | +['1', '', '፩'], |
| 402 | +['2', '', '፪'], |
| 403 | +['3', '', '፫'], |
| 404 | +['4', '', '፬'], |
| 405 | +['5', '', '፭'], |
| 406 | +['6', '', '፮'], |
| 407 | +['7', '', '፯'], |
| 408 | +['8', '', '፰'], |
| 409 | +['9', '', '፱'] |
| 410 | +]; |
| 411 | + |
| 412 | +jQuery.narayam.addScheme( 'am', { |
| 413 | + 'namemsg': 'narayam-am', |
| 414 | + 'extended_keyboard': false, |
| 415 | + 'lookbackLength': 5, |
| 416 | + 'keyBufferLength': 2, |
| 417 | + 'rules': rules |
| 418 | +} ); |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -47,6 +47,9 @@ |
48 | 48 | // Array mapping language codes and scheme names to module names |
49 | 49 | // Custom schemes can be added here |
50 | 50 | $wgNarayamSchemes = array( |
| 51 | + 'am' => array( |
| 52 | + 'am' => 'ext.narayam.rules.am', |
| 53 | + ), |
51 | 54 | 'as' => array( |
52 | 55 | 'as' => 'ext.narayam.rules.as', |
53 | 56 | 'as-avro' => 'ext.narayam.rules.as-avro', |
— | — | @@ -149,6 +152,11 @@ |
150 | 153 | ), |
151 | 154 | 'dependencies' => array( 'mediawiki.util', 'jquery.textSelection' ), |
152 | 155 | ); |
| 156 | +$wgResourceModules['ext.narayam.rules.am'] = $narayamTpl + array( |
| 157 | + 'scripts' => 'js/ext.narayam.rules.am.js', |
| 158 | + 'messages' => array( 'narayam-am' ), |
| 159 | + 'dependencies' => 'ext.narayam.core', |
| 160 | +); |
153 | 161 | $wgResourceModules['ext.narayam.rules.as'] = $narayamTpl + array( |
154 | 162 | 'scripts' => 'js/ext.narayam.rules.as.js', |
155 | 163 | 'messages' => array( 'narayam-as' ), |