r105911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105910‎ | r105911 | r105912 >
Date:18:02, 12 December 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Rebranch Narayam from trunk r105852.
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/Narayam (added) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.hooks.php
@@ -0,0 +1,111 @@
 2+<?php
 3+/**
 4+ * Hooks for Narayam extension
 5+ * @file
 6+ * @ingroup Extensions
 7+ */
 8+
 9+class NarayamHooks {
 10+
 11+ /// Hook: BeforePageDisplay
 12+ public static function addModules( $out, $skin ) {
 13+ if ( $out->getUser()->getOption( 'narayamDisable' ) ) {
 14+ return true;
 15+ }
 16+
 17+ $schemes = array_values( self::getSchemes () );
 18+
 19+ if ( count( $schemes ) ) {
 20+ $out->addModules( $schemes );
 21+ $out->addModules( 'ext.narayam' );
 22+ }
 23+
 24+ return true;
 25+ }
 26+
 27+ /// Hook: ResourceLoaderGetConfigVars
 28+ public static function addConfig( &$vars ) {
 29+ global $wgNarayamRecentItemsLength, $wgNarayamEnabledByDefault;
 30+ $vars['wgNarayamEnabledByDefault'] = $wgNarayamEnabledByDefault;
 31+ $vars['wgNarayamRecentItemsLength'] = $wgNarayamRecentItemsLength;
 32+ $vars['wgNarayamHelpPage'] = wfMsgForContent( 'narayam-help-page' );
 33+ return true;
 34+ }
 35+
 36+ /// Hook: MakeGlobalVariablesScript
 37+ public static function addVariables( &$vars ) {
 38+ global $wgUser, $wgNarayamSchemes, $wgNarayamUseBetaMapping;
 39+
 40+ if ( $wgUser->getOption( 'narayamDisable' ) ) {
 41+ return true;
 42+ }
 43+
 44+ $vars['wgNarayamAvailableSchemes'] = self::getSchemes(); // Note: scheme names must be keys, not values
 45+ $allSchemes = $wgNarayamSchemes;
 46+ foreach ( $allSchemes as $lang => $schemes ) {
 47+ foreach ( $schemes as $i => $scheme ) {
 48+ $version = isset( $scheme[1] ) ? $scheme[1] : "stable";
 49+ if ( $version === "beta" ) {
 50+ if ( !$wgNarayamUseBetaMapping ) {
 51+ unset( $allSchemes[$lang][$i] );
 52+ }
 53+ else {
 54+ $allSchemes[$lang][$i] = $scheme[0];
 55+ }
 56+ }
 57+ else {
 58+ $allSchemes[$lang][$i] = $scheme;
 59+ }
 60+ }
 61+ }
 62+ $vars['wgNarayamAllSchemes'] = $allSchemes;
 63+ return true;
 64+ }
 65+
 66+ /**
 67+ * Get the available schemes for the user and content language
 68+ * @return array( scheme name => module name )
 69+ */
 70+ protected static function getSchemes() {
 71+ global $wgLanguageCode, $wgLang, $wgNarayamSchemes, $wgTitle, $wgNarayamUseBetaMapping;
 72+
 73+ $userlangCode = $wgLang->getCode();
 74+ $contlangSchemes = isset( $wgNarayamSchemes[$wgLanguageCode] ) ?
 75+ $wgNarayamSchemes[$wgLanguageCode] : array();
 76+ $userlangSchemes = isset( $wgNarayamSchemes[$userlangCode] ) ?
 77+ $wgNarayamSchemes[$userlangCode] : array();
 78+ $pagelang = $wgTitle->getPageLanguage()->getCode();
 79+ $pagelangSchemes = isset( $wgNarayamSchemes[$pagelang] ) ?
 80+ $wgNarayamSchemes[$pagelang] : array();
 81+
 82+ $schemes = $userlangSchemes + $contlangSchemes + $pagelangSchemes;
 83+ foreach ( $schemes as $i => $scheme ) {
 84+ $version = isset( $scheme[1] ) ? $scheme[1] : "stable";
 85+ if ( $version === "beta" ) {
 86+ if ( !$wgNarayamUseBetaMapping ) {
 87+ unset( $schemes[$i] );
 88+ }
 89+ else {
 90+ $schemes[$i] = $scheme[0];
 91+ }
 92+ }
 93+ else {
 94+ $schemes[$i] = $scheme;
 95+ }
 96+ }
 97+ return $schemes;
 98+ }
 99+
 100+ /// Hook: GetPreferences
 101+ public static function addPreference( $user, &$preferences ) {
 102+ // A checkbox in preferences to disable Narayam
 103+ $preferences['narayamDisable'] = array(
 104+ 'type' => 'toggle',
 105+ 'label-message' => 'narayam-disable-preference',
 106+ 'section' => 'editing/advancedediting', // under 'Advanced options' section of 'Editing' tab
 107+ );
 108+
 109+ return true;
 110+ }
 111+
 112+}
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.hooks.php
___________________________________________________________________
Added: svn:eol-style
1113 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ur.js
@@ -0,0 +1,95 @@
 2+/**
 3+Urdu key board layout
 4+Created By:Mohammed Imran Tabani
 5+ */
 6+var rules = [
 7+['x', '', 'ف'],
 8+['_', '', '_'],
 9+['D', '', 'ڑ'],
 10+['E', '', 'ذ'],
 11+['F', '', 'ں'],
 12+['R', '', 'ڈ'],
 13+['G', '', 'ۂ'],
 14+['T', '', 'ث'],
 15+['\\+', '', '+'],
 16+['S', '', 'ز'],
 17+['W', '', 'ض'],
 18+['A', '', 'ژ'],
 19+['Q', '', 'ظ'],
 20+['k', '', 'ک'],
 21+['K', '', 'گ'],
 22+['i', '', 'ب'],
 23+['I', '', 'ـ'],
 24+['U', '', 'ۃ'],
 25+['\\;', '', '؛'],
 26+['\\:', '', ':'],
 27+['p', '', 'ح'],
 28+['P', '', 'خ'],
 29+['\\}', '', '{'],
 30+["'", '', '\''],
 31+['"', '', '"'],
 32+['\\[', '',']'],
 33+['\\{', '','{'],
 34+['C', '', 'ۓ'],
 35+['l', '', 'ی'],
 36+['L', '', 'ي'],
 37+['o', '', 'ج'],
 38+['O', '', 'چ'],
 39+['v', '', 'س'],
 40+['h', '', 'ہ'],
 41+['H', '', 'ء'],
 42+['y', '', 'پ'],
 43+['Y', '', 'ّ­'],
 44+['c', '', 'ے'],
 45+['\\?', '','؟'],
 46+['j', '', 'ا'],
 47+['n', '', 'غ'],
 48+['N', '', 'ئ'],
 49+['b', '', 'ش'],
 50+['\\<', '','>'],
 51+['m', '', 'ع'],
 52+['u', '', 'ت'],
 53+['\\]', '','['],
 54+['e', '', 'ھ'],
 55+['f', '', 'ن'],
 56+['r', '', 'د'],
 57+['g', '', 'ل'],
 58+['t', '', 'ٹ'],
 59+['\\=', '','='],
 60+['\\\\', '', '\\'],
 61+['s', '', 'و'],
 62+['w', '', 'ص'],
 63+['a', '', 'م'],
 64+['q', '', 'ط'],
 65+['d', '', 'ر'],
 66+['\\|', '', '|'],
 67+['/', '', '/'],
 68+['\\>', '', '<'],
 69+['0', '','0'],
 70+['1', '','1'],
 71+['2', '', '2'],
 72+['3', '', '3'],
 73+['4', '', '4'],
 74+['5', '', '5'],
 75+['6', '', '6'],
 76+['7', '', '7­'],
 77+['8', '', '8'],
 78+['9', '', '9'],
 79+['\\@', '', '@'],
 80+['\\#', '','#'],
 81+['\\$', '','$'],
 82+['\\%', '','٪'],
 83+['\\^', '','^'],
 84+['\\&', '', 'ۖ'],
 85+['\\*', '', '٭'],
 86+['\\(', '', '('],
 87+['\\)', '', ')']
 88+];
 89+
 90+jQuery.narayam.addScheme( 'ur', {
 91+ 'namemsg': 'narayam-ur',
 92+ 'extended_keyboard': false,
 93+ 'lookbackLength': 0,
 94+ 'keyBufferLength': 0,
 95+ 'rules': rules
 96+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ur.js
___________________________________________________________________
Added: svn:eol-style
197 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gom-deva-inscript.js
@@ -0,0 +1,12 @@
 2+/**
 3+ * InScript regular expression rules table for Goan Konkani- Devanagari language
 4+ * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi
 5+ * @author Santhosh Thottingal
 6+ * @date 2011-02-12
 7+ * License: GPLv3
 8+ */
 9+
 10+//copy the rules from hi_inscript.
 11+gom_deva_inscript_scheme = $.narayam.getScheme( 'hi-inscript' );
 12+gom_deva_inscript_scheme.namemsg ='narayam-gom-deva-inscript';
 13+jQuery.narayam.addScheme( 'gom-deva-inscript', gom_deva_inscript_scheme );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gom-deva-inscript.js
___________________________________________________________________
Added: svn:eol-style
114 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.de.js
@@ -0,0 +1,24 @@
 2+/**
 3+ * German input method (umlauts and sz), using ~ as the compose key.
 4+ * @author Erik Moeller ([[User:Eloquence]])
 5+ * @date 2011-11-20
 6+ * License: Public domain
 7+ */
 8+
 9+(function() {
 10+
 11+var rules = [];
 12+var chars = {A: 'Ä', O: 'Ö', U: 'Ü', a: 'ä', o: 'ö', u: 'ü', s: 'ß', S: 'ß'};
 13+jQuery.each( chars, function( ascii, special ) {
 14+ rules.push( [ '~' + ascii, '~' , special ] );
 15+});
 16+
 17+jQuery.narayam.addScheme( 'de', {
 18+ 'namemsg': 'narayam-de',
 19+ 'extended_keyboard': false,
 20+ 'lookbackLength': 1,
 21+ 'keyBufferLength': 1,
 22+ 'rules': rules
 23+} );
 24+
 25+})(jQuery);
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.de.js
___________________________________________________________________
Added: svn:eol-style
126 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-inscript.js
@@ -0,0 +1,127 @@
 2+/**
 3+ * InScript regular expression rules table for Bengali script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2010-12-12
 7+ * License: GPLv3
 8+ */
 9+
 10+// Normal rules
 11+var rules = [
 12+['X', '', 'ঁ'],
 13+['x', '', 'ং'],
 14+['_', '', 'ঃ'],
 15+['D', '', 'অ'],
 16+['E', '', 'আ'],
 17+['F', '', 'ই'],
 18+['R', '', 'ঈ'],
 19+['G', '', 'উ'],
 20+['T', '', 'ঊ'],
 21+['\\+', '', 'ঋ'],
 22+['S', '', 'এ'],
 23+['W', '', 'ঐ'],
 24+['A', '', 'ও'],
 25+['Q', '', 'ঔ'],
 26+['k', '', 'ক'],
 27+['K', '', 'খ'],
 28+['i', '', 'গ'],
 29+['I', '', 'ঘ'],
 30+['U', '', 'ঙ'],
 31+[';', '', 'চ'],
 32+['\\:', '', 'ছ'],
 33+['p', '', 'জ'],
 34+['P', '', 'ঝ'],
 35+['\\}', '', 'ঞ'],
 36+["'", '', 'ট'],
 37+['"', '', 'ঠ'],
 38+['\\[', '', 'ড'],
 39+['\\{', '', 'ঢ'],
 40+['C', '', 'ণ'],
 41+['l', '', 'ত'],
 42+['L', '', 'থ'],
 43+['o', '', 'দ'],
 44+['O', '', 'ধ'],
 45+['v', '', 'ন'],
 46+['h', '', 'প'],
 47+['H', '', 'ফ'],
 48+['y', '', 'ব'],
 49+['Y', '', 'ভ'],
 50+['c', '', 'ম'],
 51+['\\?', '', 'য'],
 52+['j', '', 'র'],
 53+['J', '', 'ৎ'],
 54+['n', '', 'ল'],
 55+['M', '', 'শ'],
 56+['\\<', '', 'ষ'],
 57+['m', '', 'স'],
 58+['u', '', 'হ'],
 59+['\\]', '', '়'],
 60+['e', '', 'া'],
 61+['f', '', 'ি'],
 62+['r', '', 'ী'],
 63+['g', '', 'ু'],
 64+['t', '', 'ূ'],
 65+['\\=', '', 'ৃ'],
 66+['s', '', 'ে'],
 67+['w', '', 'ৈ'],
 68+['a', '', 'ো'],
 69+['q', '', 'ৌ'],
 70+['d', '', '্'],
 71+['/', '', 'য়'],
 72+['\\>', '', '৤'],
 73+['0', '', '০'],
 74+['1', '', '১'],
 75+['2', '', '২'],
 76+['3', '', '৩'],
 77+['4', '', '৪'],
 78+['5', '', '৫'],
 79+['6', '', '৬'],
 80+['7', '', '৭'],
 81+['8', '', '৮'],
 82+['9', '', '৯'],
 83+['z', '', 'ʼ'],
 84+['\\!', '', 'অ্যা'],
 85+['\\#', '', '্র'],
 86+['\\$', '', 'র্'],
 87+['\\%', '', 'জ্ঞ'],
 88+['\\^', '', 'ত্র'],
 89+['\\&', '', 'ক্ষ'],
 90+['\\*', '', 'শ্র'],
 91+['\\(', '', '\u200D'],
 92+['\\)', '', '\u200C']
 93+];
 94+
 95+// Extended layout for InScript. Works in Firefox only
 96+var rules_x = [
 97+['F', '', 'ঌ'],
 98+['\\>', '', 'ঽ'],
 99+['\\=', '', 'ৠ'],
 100+['l', '', 'ৎ'],
 101+['\\[', '', 'ড়'],
 102+['\\{', '', 'ঢ়'],
 103+['\\+', '', 'ৠ'],
 104+['R', '', 'ৡ'],
 105+['f', '', 'ৢ'],
 106+['r', '', 'ৣ'],
 107+['\\.', '', '৥'],
 108+['x', '', '৺'],
 109+['\\<', '', '৲'],
 110+[',', '', '৳'],
 111+['\\!', '', '৴'],
 112+['\\@', '', '৵'],
 113+['\\#', '', '৶'],
 114+['\\$', '', '৷'],
 115+['\\%', '', '৸'],
 116+['\\^', '', '৹'],
 117+['\\?', '', '৻'],
 118+['4', '', '₹']
 119+];
 120+
 121+jQuery.narayam.addScheme( 'bn-inscript', {
 122+ 'namemsg': 'narayam-bn-inscript',
 123+ 'extended_keyboard': true,
 124+ 'lookbackLength': 0,
 125+ 'keyBufferLength': 0,
 126+ 'rules': rules,
 127+ 'rules_x': rules_x
 128+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-inscript.js
___________________________________________________________________
Added: svn:eol-style
1129 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hi-inscript.js
@@ -0,0 +1,124 @@
 2+/**
 3+ * InScript regular expression rules table for Devanagari script for Hindi
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-02-26
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['X', '', '\u0901'],
 13+['x', '', '\u0902'],
 14+['_', '', '\u0903'],
 15+['D', '', '\u0905'],
 16+['E', '', '\u0906'],
 17+['F', '', '\u0907'],
 18+['R', '', '\u0908'],
 19+['G', '', '\u0909'],
 20+['T', '', '\u090A'],
 21+['\\+', '', '\u090B'],
 22+['!', '', '\u090D'],
 23+['S', '', '\u090F'],
 24+['W', '', '\u0910'],
 25+['\\|', '', '\u0911'],
 26+['A', '', '\u0913'],
 27+['Q', '', '\u0914'],
 28+['k', '', '\u0915'],
 29+['K', '', '\u0916'],
 30+['i', '', '\u0917'],
 31+['I', '', '\u0918'],
 32+['U', '', '\u0919'],
 33+[';', '', '\u091A'],
 34+['\\:', '', '\u091B'],
 35+['p', '', '\u091C'],
 36+['P', '', '\u091D'],
 37+['\\}', '', '\u091E'],
 38+["'", '', '\u091F'],
 39+['"', '', '\u0920'],
 40+['\\[', '', '\u0921'],
 41+['\\{', '', '\u0922'],
 42+['C', '', '\u0923'],
 43+['l', '', '\u0924'],
 44+['L', '', '\u0925'],
 45+['o', '', '\u0926'],
 46+['O', '', '\u0927'],
 47+['v', '', '\u0928'],
 48+['h', '', '\u092A'],
 49+['H', '', '\u092B'],
 50+['y', '', '\u092C'],
 51+['Y', '', '\u092D'],
 52+['c', '', '\u092E'],
 53+['/', '', '\u092F'],
 54+['j', '', '\u0930'],
 55+['n', '', '\u0932'],
 56+['b', '', '\u0935'],
 57+['M', '', '\u0936'],
 58+['\\<', '', '\u0937'],
 59+['m', '', '\u0938'],
 60+['u', '', '\u0939'],
 61+['\\]', '', '\u093C'],
 62+['e', '', '\u093E'],
 63+['f', '', '\u093F'],
 64+['r', '', '\u0940'],
 65+['g', '', '\u0941'],
 66+['t', '', '\u0942'],
 67+['\\=', '', '\u0943'],
 68+['\\@', '', '\u0945'],
 69+['s', '', '\u0947'],
 70+['w', '', '\u0948'],
 71+['\\\\', '', '\u0949'],
 72+['a', '', '\u094B'],
 73+['q', '', '\u094C'],
 74+['d', '', '\u094D'],
 75+['\\>', '', '\u0964'],
 76+['0', '', '\u0966'],
 77+['1', '', '\u0967'],
 78+['2', '', '\u0968'],
 79+['3', '', '\u0969'],
 80+['4', '', '\u096A'],
 81+['5', '', '\u096B'],
 82+['6', '', '\u096C'],
 83+['7', '', '\u096D'],
 84+['8', '', '\u096E'],
 85+['9', '', '\u096F'],
 86+['\\#', '', '\u094D\u0930'],
 87+['\\$', '', '\u0930\u094D'],
 88+['\\%', '', '\u091C\u094D\u091E'],
 89+['\\^', '', '\u0924\u094D\u0930'],
 90+['\\&', '', '\u0915\u094D\u0937'],
 91+['\\*', '', '\u0936\u094D\u0930'],
 92+['\\(', '', '\u200D'],
 93+['\\)', '', '\u200C']
 94+];
 95+
 96+var rules_x = [
 97+['F', '', '\u090C'],
 98+['N', '', '\u0933'],
 99+['\\>', '', '\u093D'],
 100+['\\=', '', '\u0944'],
 101+['X', '', '\u0950'],
 102+['e', '', '\u0951'],
 103+['d', '', '\u0952'],
 104+['k', '', '\u0958'],
 105+['K', '', '\u0959'],
 106+['i', '', '\u095A'],
 107+['p', '', '\u095B'],
 108+['\\[', '', '\u095C'],
 109+['\\+', '', '\u0960'],
 110+['R', '', '\u0961'],
 111+['f', '', '\u0962'],
 112+['r', '', '\u0963'],
 113+['\\.', '', '\u0965'],
 114+[',', '', '\u0970'],
 115+['\\$', '', '\u20B9']
 116+];
 117+
 118+jQuery.narayam.addScheme( 'hi-inscript', {
 119+ 'namemsg': 'narayam-hi-inscript',
 120+ 'extended_keyboard': true,
 121+ 'lookbackLength': 0,
 122+ 'keyBufferLength': 0,
 123+ 'rules': rules,
 124+ 'rules_x': rules_x
 125+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hi-inscript.js
___________________________________________________________________
Added: svn:eol-style
1126 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.pa-inscript.js
@@ -0,0 +1,97 @@
 2+/**
 3+ * Transliteration regular expression rules table for Punjabi
 4+ * @date 2011-11-19
 5+ * Based on http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts
 6+ */
 7+
 8+ // Normal rules
 9+var rules = [
 10+['1', '','੧'],
 11+['2', '','੨'],
 12+['3', '','੩'],
 13+['4', '','੪'],
 14+['5', '','੫'],
 15+['6', '','੬'],
 16+['7', '','੭'],
 17+['8', '','੮'],
 18+['9', '','੯'],
 19+['0', '','੦'],
 20+['\\_', '','_'],
 21+['\\-', '','-'],
 22+['\\+', '','+'],
 23+['\\=', '','='],
 24+['Q', '','ਔ'],
 25+['q', '','ੌ'],
 26+['W', '','ਐ'],
 27+['w', '','ੈ'],
 28+['E', '','ਆ'],
 29+['e', '','ਾ'],
 30+['R', '','ਈ'],
 31+['r', '','ੀ'],
 32+['T', '','ਊ'],
 33+['t', '','ੂ'],
 34+['Y', '','ਭ'],
 35+['y', '','ਬ'],
 36+['U', '','ਙ'],
 37+['u', '','ਹ'],
 38+['I', '','ਘ'],
 39+['i', '','ਗ'],
 40+['O', '','ਧ'],
 41+['o', '','ਦ'],
 42+['P', '','ਝ'],
 43+['p', '','ਜ'],
 44+['\\{', '','ਢ'],
 45+['\\[', '','ਡ'],
 46+['\\}', '','ਞ'],
 47+['\\]', '','਼'],
 48+['A', '','ਓ'],
 49+['a', '','ੋ'],
 50+['S', '','ਏ'],
 51+['s', '','ੇ'],
 52+['D', '','ਅ'],
 53+['d', '','੍'],
 54+['F', '','ਇ'],
 55+['f', '','ਿ'],
 56+['G', '','ਉ'],
 57+['g', '','ੁ'],
 58+['H', '','ਫ'],
 59+['h', '','ਪ'],
 60+['J', '','ੜ'],
 61+['j', '','ਰ'],
 62+['K', '','ਖ'],
 63+['k', '','ਕ'],
 64+['L', '','ਥ'],
 65+['l', '','ਤ'],
 66+['\\:', '','ਛ'],
 67+['\\;', '','ਚ'],
 68+['\\"', '','ਠ'],
 69+["'", '','ਟ'],
 70+['Z', '','ੱ'],
 71+['z', '','ੰ'],
 72+['X', '','ਫ਼'],
 73+['x', '','ਜ਼'],
 74+['C', '','ਣ'],
 75+['c', '','ਮ'],
 76+['V', '','ਂ'],
 77+['v', '','ਨ'],
 78+['B', '','ਞ'],
 79+['b', '','ਵ'],
 80+['N', '','ਲ਼'],
 81+['n', '','ਲ'],
 82+['M', '','ਸ਼'],
 83+['m', '','ਸ'],
 84+['\\<', '','ੳ'],
 85+[',', '',','],
 86+['\\>', '','ੲ'],
 87+['\\.', '','.'],
 88+['\\?', '','?'],
 89+['/', '','ਯ']
 90+];
 91+
 92+jQuery.narayam.addScheme( 'pa-inscript', {
 93+ 'namemsg': 'narayam-pa-inscript',
 94+ 'extended_keyboard': true,
 95+ 'lookbackLength': 0,
 96+ 'keyBufferLength': 0,
 97+ 'rules': rules
 98+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.pa-inscript.js
___________________________________________________________________
Added: svn:eol-style
199 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.si-singlish.js
@@ -0,0 +1,111 @@
 2+/**
 3+ * Transliteration regular expression rules table for Sinhala (Singlish)
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2011-02-23
 6+ * @credits With help from Nishantha Anuruddha (si.wikipedia.org/wiki/user:බිඟුවා)
 7+ * License: GPLv3
 8+ */
 9+
 10+// Normal rules
 11+var rules = [
 12+//['ඬ්හ්a', '', 'ඳ'], // nndha
 13+['ඬ්h', '', 'ඳ්'], // nndh
 14+['න්න්d', '', 'ඬ්'], // nnd
 15+['න්න්g', '', 'ඟ්'], // nng
 16+['ශ්‍රිi', '', 'ශ්‍රී'], // shrii
 17+['ශ්‍රi', '', 'ශ්‍රි'], // shri
 18+['ශ්r', '', 'ශ්‍ර'], // shr
 19+
 20+['([\\u0D9A-\\u0DC6])්\\u200Dර්u', '', '$1ෘ'], // <consonant>ru
 21+['([\\u0D9A-\\u0DC6])ෘu', '', '$1ෲ'], // <consonant>ruu
 22+
 23+['([\\u0D9A-\\u0DC6])්a', '', '$1'], // <consonant>a
 24+['([\\u0D9A-\\u0DC6])a', '', '$1ා'], // <consonant>aa
 25+['([\\u0D9A-\\u0DC6])්A', '', '$1ැ'], // <consonant>A
 26+['([\\u0D9A-\\u0DC6])ැa', '', '$1ෑ'], // <consonant>Aa
 27+['([\\u0D9A-\\u0DC6])්i', '', '$1ි'], // <consonant>i
 28+['([\\u0D9A-\\u0DC6])ි[ei]', '', '$1ී'], // <consonant>ie
 29+['([\\u0D9A-\\u0DC6])්u', '', '$1ු'], // <consonant>u
 30+['([\\u0D9A-\\u0DC6])ුu', '', '$1ූ'], // <consonant>u
 31+['([\\u0D9A-\\u0DC6])්e', '', '$1ෙ'], // <consonant>e
 32+['([\\u0D9A-\\u0DC6])ෙ[ai]', '', '$1ේ'], // <consonant>ei
 33+['([\\u0D9A-\\u0DC6])්o', '', '$1ො'], // <consonant>o
 34+['([\\u0D9A-\\u0DC6])ොe', '', '$1ෝ'], // <consonant>oe
 35+['([\\u0D9A-\\u0DC6])u', '', '$1ෞ'], // <consonant>au
 36+['([\\u0D9A-\\u0DC6])්I', '', '$1ෛ'], // <consonant>I
 37+
 38+['([\\u0D9A-\\u0DC6]්)r', '', '$1\u200Dර්'], // <consonant>r
 39+
 40+['ළුu', '', 'ළුු'], // Luu
 41+
 42+['(ක්h|K)', '', 'ඛ්'], // kh K
 43+['(ග්h|G)', '', 'ඝ්'], // gh G
 44+['ස්h', '', 'ශ්'], // sh
 45+['ch', '', 'ච්'],
 46+['Ch', '', 'ඡ්'],
 47+['Sh', '', 'ෂ්'],
 48+['ඝ්N', '', 'ඥ්'], // GN
 49+['ඨ්h', '', 'ථ්'], // Th
 50+['ඛ්N', '', 'ඤ්'], // KN
 51+['ට්h', '', 'ත්'], // th
 52+['ඪ්h', '', 'ධ්'], // Dh
 53+['ඩ්h', '', 'ද්'], // dh
 54+['(ප්h|P)', '', 'ඵ්'], // ph P
 55+['ළ්u', '', 'ළු'], // Lu
 56+['බ්h', '', 'භ්'], // bh
 57+
 58+['(\\\\r|R)', '', 'ර්‍'], // \r R
 59+['(\\\\y|Y)', '', '‍ය්'], // \y Y
 60+
 61+
 62+['අ(a|\\))', '', 'ආ'], // aa a)
 63+['ඇ(a|\\))', '', 'ඈ'], // Aa A) ae
 64+['(ඉ[i\\)e]|එe)', '', 'ඊ'], // ii i) ie ee
 65+['එ[a\\)i]', '', 'ඒ'], // ea e) ei
 66+['ඔ[e\\)]', '', 'ඕ'], // oe o)
 67+['(උ[u\\)]|ඔo)', '', 'ඌ'], // uu u) oo
 68+['අu', '', 'ඖ'], // au
 69+
 70+['\\\\n', '', 'ං'],
 71+['\\\\h', '', 'ඃ'],
 72+['\\\\N', '', 'ඞ'],
 73+['\\\\R', '', 'ඍ'],
 74+
 75+['a', '', 'අ'],
 76+['A', '', 'ඇ'],
 77+['i', '', 'ඉ'],
 78+['e', '', 'එ'],
 79+['o', '', 'ඔ'],
 80+['u', '', 'උ'],
 81+
 82+['k', '', 'ක්'],
 83+['b', '', 'බ්'],
 84+['B', '', 'ඹ්'],
 85+['g', '', 'ග්'],
 86+['m', '', 'ම්'],
 87+['y', '', 'ය්'],
 88+['j', '', 'ජ්'],
 89+['r', '', 'ර්'],
 90+['T', '', 'ඨ්'],
 91+['f', '', 'ෆ්'],
 92+['t', '', 'ට්'],
 93+['l', '', 'ල්'],
 94+['D', '', 'ඪ්'],
 95+['d', '', 'ඩ්'],
 96+['(w|v)', '', 'ව්'],
 97+['s', '', 'ස්'],
 98+['q', '', 'ඣ්'],
 99+['h', '', 'හ්'],
 100+['n', '', 'න්'],
 101+['N', '', 'ණ්'],
 102+['p', '', 'ප්'],
 103+['L', '', 'ළ්']
 104+];
 105+
 106+jQuery.narayam.addScheme( 'si-singlish', {
 107+ 'namemsg': 'narayam-si-singlish',
 108+ 'extended_keyboard': false,
 109+ 'lookbackLength': 5,
 110+ 'keyBufferLength': 2,
 111+ 'rules': rules
 112+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.si-singlish.js
___________________________________________________________________
Added: svn:eol-style
1113 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ne-inscript.js
@@ -0,0 +1,118 @@
 2+/**
 3+ * InScript regular expression rules table for Nepali script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Bhawani Gautam ([[user:Bhawani Gautam]])
 6+ * License: GPLv3, CC-BY-SA 3.0
 7+ */
 8+
 9+// normal rules
 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', '', 'र'],
 52+['J', '', 'द्य'],
 53+['n', '', 'ल'],
 54+['N', '', 'ळ'],
 55+['b', '', 'व'],
 56+['M', '', 'श'],
 57+['\\<', '','ष'],
 58+['m', '', 'स'],
 59+['u', '', 'ह'],
 60+['\\]', '','़'],
 61+['e', '', 'ा'],
 62+['f', '', 'ि'],
 63+['r', '', 'ी'],
 64+['g', '', 'ु'],
 65+['t', '', 'ू'],
 66+['\\=', '','ृ'],
 67+['\\\\', '', 'ॄ'],
 68+['s', '', 'े'],
 69+['w', '', 'ै'],
 70+['a', '', 'ो'],
 71+['q', '', 'ौ'],
 72+['d', '', '्'],
 73+['\\|', '', 'ॠ'],
 74+['/', '', 'य'],
 75+['\\>', '', '।'],
 76+['0', '','०'],
 77+['1', '','१'],
 78+['2', '', '२'],
 79+['3', '', '३'],
 80+['4', '', '४'],
 81+['5', '', '५'],
 82+['6', '', '६'],
 83+['7', '', '७'],
 84+['8', '', '८'],
 85+['9', '', '९'],
 86+['\\@', '', 'ॅ'],
 87+['\\#', '','्र'],
 88+['\\$', '','र्'],
 89+['\\%', '','ज्ञ'],
 90+['\\^', '','त्र'],
 91+['\\&', '', 'क्ष'],
 92+['\\*', '', 'श्र'],
 93+['\\(', '', '\u200D'],
 94+['\\)', '', '\u200C']
 95+];
 96+
 97+// Extended layout for InScript. Works in Firefox only
 98+var rules_x = [
 99+['F', '', 'ऌ'],
 100+['\\>', '','ऽ'],
 101+['X', '', 'ॐ'],
 102+['e', '', '\0951'],
 103+['d', '', '\u0952'],
 104+['R', '', 'ॡ'],
 105+['f', '', 'ॢ'],
 106+['r', '', 'ॣ'],
 107+['\\.', '', '॥'],
 108+['\\@', '','ॅ'],
 109+['4', '', '₹']
 110+];
 111+
 112+jQuery.narayam.addScheme( 'ne-inscript', {
 113+ 'namemsg': 'narayam-ne-inscript',
 114+ 'extended_keyboard': true,
 115+ 'lookbackLength': 0,
 116+ 'keyBufferLength': 0,
 117+ 'rules': rules,
 118+ 'rules_x': rules_x
 119+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ne-inscript.js
___________________________________________________________________
Added: svn:eol-style
1120 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-monobook.css
@@ -0,0 +1,4 @@
 2+div#narayam-menu div.menu-items {
 3+ font-size: 1.2em;
 4+}
 5+
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-monobook.css
___________________________________________________________________
Added: svn:eol-style
16 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-modern.css
@@ -0,0 +1,38 @@
 2+#p-personal {
 3+ /* #p-personal has overflow:hidden. That makes a dropdown menu appearing hidden.
 4+ * overriding it this way may not be the best way.
 5+ */
 6+ overflow: visible !important;
 7+}
 8+
 9+div#narayam-menu div.menu-items {
 10+ top: 0px;
 11+ font-size: 1.2em;
 12+ position: relative;
 13+}
 14+
 15+div#narayam-menu ul {
 16+ min-width: 15em;
 17+ height: auto;
 18+}
 19+div#narayam-menu li {
 20+ background-color: #FFFFFF;
 21+ font-weight: normal;
 22+ white-space: nowrap;
 23+ text-transform: none;
 24+ font-variant: normal;
 25+}
 26+
 27+div#narayam-menu ul {
 28+ background-color: #FFFFFF;
 29+ border: solid 1px silver;
 30+ height: auto;
 31+}
 32+
 33+div#narayam-menu li a:hover {
 34+ color: #0645AD;
 35+}
 36+
 37+div#narayam-menu li:hover {
 38+ background-color: #FFFFFF;
 39+}
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-modern.css
___________________________________________________________________
Added: svn:eol-style
140 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.am.js
@@ -0,0 +1,442 @@
 2+/**
 3+ * Transliteration regular expression rules table for Amharic script
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2011-10-08
 6+ * @credits Referring http://www.lexilogos.com/keyboard/amharic.htm and helps from Sisay
 7+ * License: GPLv3
 8+ */
 9+
 10+var rules = [
 11+['\\\\([A-Za-z\\>\\<_~ ])','\\\\','$1'], // include space also
 12+
 13+['፼0', '', '፲፼'], // 10000 and 0 becomes 10 10000
 14+['፲፻0', '', '፼'], // 10x100 and 0 becomes 10000
 15+['፻0', '', '፲፻'], // NUM_100 and 0 becomes 10 and 100
 16+
 17+['፻0', '', '፲፻'], // 1000
 18+
 19+['፳0', '', '፪፻'], // 200
 20+['፴0', '', '፫፻'], // 300
 21+['፵0', '', '፬፻'], // 400
 22+['፶0', '', '፭፻'], // 500
 23+['፷0', '', '፮፻'], // 600
 24+['፸0', '', '፯፻'], // 700
 25+['፹0', '', '፰፻'], // 800
 26+['፺0', '', '፱፻'], // 900
 27+
 28+['ጕe', '', 'ጐ'], // gwe
 29+['ጕi', '', 'ጒ'], // gwi
 30+// removed
 31+['ጐe', '', 'ጔ'], // gwee
 32+
 33+['ዅe', '', 'ዀ'], // kxwe
 34+['ዅi', '', 'ዂ'], // kxwi
 35+['(ኻ|ኹ|ዅ)a', '', 'ዃ'], // kxwa
 36+['ዀe', '', 'ዄ'], // kxwee
 37+
 38+['ኵe', '', 'ኰ'], // kwe
 39+['ኵi', '', 'ኲ'], // kwi
 40+// removed
 41+['ኰe', '', 'ኴ'], // kwee
 42+
 43+['ኍe', '', 'ኈ'], // xwe
 44+['ኍi', '', 'ኊ'], // xwi
 45+// removed
 46+['ኈe', '', 'ኌ'], // xwee
 47+
 48+['ቝe', '', 'ቘ'], // qhwe
 49+['ቝi', '', 'ቚ'], // qhwi
 50+['ቝa', '', 'ቛ'], // qhwa
 51+['ቘe', '', 'ቜ'], // qhwee
 52+
 53+['ቍe', '', 'ቈ'], // qwe
 54+['ቍi', '', 'ቊ'], // qwi
 55+// removed
 56+['ቈe', '', 'ቌ'], // qwee
 57+
 58+['ፕe', '', 'ፐ'], // pe
 59+['ፕu', '', 'ፑ'], // pu
 60+['ፕi', '', 'ፒ'], // pi
 61+['ፕa', '', 'ፓ'], // pa
 62+['(ፓ|ፐ|ፒ)e', '', 'ፔ'], // pee
 63+['ፕo', '', 'ፖ'], // po
 64+['(ፓ|ፑ|ፕው)a', '', 'ፗ'], // paa or pua or pwa
 65+
 66+['ፍe', '', 'ፈ'], // fe
 67+['ፍu', '', 'ፉ'], // fu
 68+['ፍi', '', 'ፊ'], // fi
 69+['ፍa', '', 'ፋ'], // fa
 70+['(ፋ|ፈ|ፊ)e', '', 'ፌ'], // fee
 71+['ፍo', '', 'ፎ'], // fo
 72+['(ፋ|ፉ|ፍው)a', '', 'ፏ'], // faa or fua or fwa
 73+
 74+['ፅe', '', 'ፀ'], // tze
 75+['ፅu', '', 'ፁ'], // tzu
 76+['ፅi', '', 'ፂ'], // tzi
 77+['ፅa', '', 'ፃ'], // tza
 78+['(ፃ|ፀ|ፂ)e', '', 'ፄ'], // tzee
 79+['ፅo', '', 'ፆ'], // tzo
 80+['(ፃ|ፁ|ፅው)a', '', 'ፇ'], // tzaa or tzua or tzwa
 81+
 82+['ጽe', '', 'ጸ'], // tse
 83+['ጽu', '', 'ጹ'], // tsu
 84+['ጽi', '', 'ጺ'], // tsi
 85+['ጽa', '', 'ጻ'], // tsa
 86+['(ጻ|ጸ|ጺ)e', '', 'ጼ'], // tsee
 87+['ጽo', '', 'ጾ'], // tso
 88+['(ጻ|ጹ|ጽው)a', '', 'ጿ'], // tsaa or tsua or tswa
 89+
 90+['ጵe', '', 'ጰ'], // phe or ppe (ph is alias for pp)
 91+['ጵu', '', 'ጱ'], // phu
 92+['ጵi', '', 'ጲ'], // phi
 93+['ጵa', '', 'ጳ'], // pha
 94+['(ጳ|ጰ|ጲ)e', '', 'ጴ'], // phee
 95+['ጵo', '', 'ጶ'], // pho
 96+['(ጳ|ጱ|ጵው)a', '', 'ጷ'], // phaa or phua or phwa
 97+
 98+['ጭe', '', 'ጨ'], // che
 99+['ጭu', '', 'ጩ'], // chu
 100+['ጭi', '', 'ጪ'], // chi
 101+['ጭa', '', 'ጫ'], // cha
 102+['(ጫ|ጨ|ጪ)e', '', 'ጬ'], // chee
 103+['ጭo', '', 'ጮ'], // cho
 104+['(ጫ|ጩ|ጭው)a', '', 'ጯ'], // chaa or chua or chwa
 105+
 106+['ጥe', '', 'ጠ'], // the or tte (th is alias for tt)
 107+['ጥu', '', 'ጡ'], // thu
 108+['ጥi', '', 'ጢ'], // thi
 109+['ጥa', '', 'ጣ'], // tha
 110+['(ጣ|ጠ|ጢ)e', '', 'ጤ'], // thee
 111+['ጥo', '', 'ጦ'], // tho
 112+['(ጣ|ጡ|ጥው)a', '', 'ጧ'], // thaa or thua or thwa
 113+
 114+['ጝe', '', 'ጘ'], // gge
 115+['ጝu', '', 'ጙ'], // ggu
 116+['ጝi', '', 'ጚ'], // ggi
 117+['ጝa', '', 'ጛ'], // gga
 118+['(ጛ|ጘ|ጚ)e', '', 'ጜ'], // ggee
 119+['ጝo', '', 'ጞ'], // ggo
 120+['(ጛ|ጙ|ጝው)a', '', 'ጟ'], // ggaa or ggua or ggwa
 121+
 122+['ግe', '', 'ገ'], // ge
 123+['ግu', '', 'ጉ'], // gu
 124+['ግi', '', 'ጊ'], // gi
 125+['ግa', '', 'ጋ'], // ga
 126+['(ጋ|ገ|ጊ)e', '', 'ጌ'], // gee
 127+['ግo', '', 'ጎ'], // go
 128+['(ጋ|ጉ|ጕ)a', '', 'ጓ'], // gaa or gua or gaa
 129+
 130+['ጅe', '', 'ጀ'], // je
 131+['ጅu', '', 'ጁ'], // ju
 132+['ጅi', '', 'ጂ'], // ji
 133+['ጅa', '', 'ጃ'], // ja
 134+['(ጃ|ጀ|ጂ)e', '', 'ጄ'], // jee
 135+['ጅo', '', 'ጆ'], // jo
 136+['(ጃ|ጁ|ጅው)a', '', 'ጇ'], // jaa or jua or jwa
 137+
 138+['ዽe', '', 'ዸ'], // dde
 139+['ዽu', '', 'ዹ'], // ddu
 140+['ዽi', '', 'ዺ'], // ddi
 141+['ዽa', '', 'ዻ'], // dda
 142+['(ዻ|ዸ|ዺ)e', '', 'ዼ'], // ddee
 143+['ዽo', '', 'ዾ'], // ddo
 144+['(ዻ|ዹ|ዽው)a', '', 'ዿ'], // ddaa or ddua or ddwa
 145+
 146+['ድe', '', 'ደ'], // de
 147+['ድu', '', 'ዱ'], // du
 148+['ድi', '', 'ዲ'], // di
 149+['ድa', '', 'ዳ'], // da
 150+['(ዳ|ደ|ዲ)e', '', 'ዴ'], // dee
 151+['ድo', '', 'ዶ'], // do
 152+['(ዳ|ዱ|ድው)a', '', 'ዷ'], // daa or dua or dwa
 153+
 154+['ይe', '', 'የ'], // ye
 155+['ይu', '', 'ዩ'], // yu
 156+['ይi', '', 'ዪ'], // yi
 157+['ይa', '', 'ያ'], // ya
 158+['(ያ|የ|ዪ)e', '', 'ዬ'], // yee
 159+['ይo', '', 'ዮ'], // yo
 160+['(ያ|ዩ|ይው)a', '', 'ዯ'], // yaa or yua or ywa
 161+
 162+['ዥe', '', 'ዠ'], // zhe or zze (zh is alias for zz)
 163+['ዥu', '', 'ዡ'], // zhu
 164+['ዥi', '', 'ዢ'], // zhi
 165+['ዥa', '', 'ዣ'], // zha
 166+['(ዣ|ዠ|ዢ)e', '', 'ዤ'], // zhee
 167+['ዥo', '', 'ዦ'], // zho
 168+['(ዣ|ዡ|ዥው)a', '', 'ዧ'], // zhaa or zhua or zhwa
 169+
 170+['ዝe', '', 'ዘ'], // ze
 171+['ዝu', '', 'ዙ'], // zu
 172+['ዝi', '', 'ዚ'], // zi
 173+['ዝa', '', 'ዛ'], // za
 174+['(ዛ|ዘ|ዚ)e', '', 'ዜ'], // zee
 175+['ዝo', '', 'ዞ'], // zo
 176+['(ዛ|ዙ|ዝው)a', '', 'ዟ'], // zaa or zua or zwa
 177+
 178+['ዕe', '', 'ዐ'], // "e
 179+['ዕu', '', 'ዑ'], // "u
 180+['ዕi', '', 'ዒ'], // "i
 181+['ዕa', '', 'ዓ'], // "a
 182+['(ዓ|ዐ|ዒ)e', '', 'ዔ'], // "ee
 183+['ዕo', '', 'ዖ'], // "o
 184+
 185+['ኽe', '', 'ኸ'], // kxe
 186+['ኽu', '', 'ኹ'], // kxu
 187+['ኽi', '', 'ኺ'], // kxi
 188+['ኽa', '', 'ኻ'], // kxa
 189+['(ኻ|ኸ|ኺ)e', '', 'ኼ'], // kxee
 190+['ኽo', '', 'ኾ'], // kxo
 191+
 192+['ክe', '', 'ከ'], // ke
 193+['ክu', '', 'ኩ'], // ku
 194+['ክi', '', 'ኪ'], // ki
 195+['ክa', '', 'ካ'], // ka
 196+['(ካ|ከ|ኪ)e', '', 'ኬ'], // kee
 197+['ክo', '', 'ኮ'], // ko
 198+['(ካ|ኩ|ኵ)a', '', 'ኳ'], // kaa or kua or kwa
 199+
 200+['እe', "'", 'አ'], // 'e
 201+['እu', "'", 'ኡ'], // 'u
 202+['እi', "'", 'ኢ'], // 'i
 203+['እa', "'", 'ኣ'], // 'a
 204+['አe', "'", 'ኤ'], // 'ee
 205+['እo', "'", 'ኦ'], // 'o
 206+['(ኣ|ኡ|እው)a', "'[auw]", 'ኧ'], // 'aa or 'ua or 'wa
 207+
 208+['ኝe', '', 'ኘ'], // Ne or nne (N is alias for nn)
 209+['ኝu', '', 'ኙ'], // Nu
 210+['ኝi', '', 'ኚ'], // Ni
 211+['ኝa', '', 'ኛ'], // Na
 212+['(ኛ|ኘ|ኚ)e', '', 'ኜ'], // Nee
 213+['ኝo', '', 'ኞ'], // No
 214+['(ኛ|ኙ|ኝው)a', '', 'ኟ'], // Naa or Nua or Nwa
 215+
 216+['ንe', '', 'ነ'], // ne
 217+['ንu', '', 'ኑ'], // nu
 218+['ንi', '', 'ኒ'], // ni
 219+['ንa', '', 'ና'], // na
 220+['(ና|ነ|ኒ)e', '', 'ኔ'], // nee
 221+['ንo', '', 'ኖ'], // no
 222+['(ና|ኑ|ንው)a', '', 'ኗ'], // naa or nua or nwa
 223+
 224+['ኅe', '', 'ኀ'], // xe
 225+['ኅu', '', 'ኁ'], // xu
 226+['ኅi', '', 'ኂ'], // xi
 227+['ኅa', '', 'ኃ'], // xa
 228+['(ኃ|ኀ|ኂ)e', '', 'ኄ'], // xee
 229+['ኅo', '', 'ኆ'], // xo
 230+['(ኃ|ኁ|ኍ)a', '', 'ኍ'], // xaa or xua or xwa
 231+
 232+['ችe', '', 'ቸ'], // ce
 233+['ችu', '', 'ቹ'], // cu
 234+['ችi', '', 'ቺ'], // ci
 235+['ችa', '', 'ቻ'], // ca
 236+['(ቻ|ቸ|ቺ)e', '', 'ቼ'], // cee
 237+['ችo', '', 'ቾ'], // co
 238+['(ቻ|ቹ|ችው)a', '', 'ቿ'], // caa or cua or cwa
 239+
 240+['ትe', '', 'ተ'], // te
 241+['ትu', '', 'ቱ'], // tu
 242+['ትi', '', 'ቲ'], // ti
 243+['ትa', '', 'ታ'], // ta
 244+['(ታ|ተ|ቲ)e', '', 'ቴ'], // tee
 245+['ትo', '', 'ቶ'], // to
 246+['(ታ|ቱ|ትው)a', '', 'ቷ'], // taa or tua or twa
 247+
 248+['ቭe', '', 'ቨ'], // ve
 249+['ቭu', '', 'ቩ'], // vu
 250+['ቭi', '', 'ቪ'], // vi
 251+['ቭa', '', 'ቫ'], // va
 252+['(ቫ|ቨ|ቪ)e', '', 'ቬ'], // vee
 253+['ቭo', '', 'ቮ'], // vo
 254+['(ቫ|ቩ|ቭው)a', '', 'ቯ'], // vaa or vua or vwa
 255+
 256+['ብe', '', 'በ'], // be
 257+['ብu', '', 'ቡ'], // bu
 258+['ብi', '', 'ቢ'], // bi
 259+['ብa', '', 'ባ'], // ba
 260+['(ባ|በ|ቢ)e', '', 'ቤ'], // bee
 261+['ብo', '', 'ቦ'], // bo
 262+['(ባ|ቡ|ብው)a', '', 'ቧ'], // baa or bua or bwa
 263+
 264+['ቕe', '', 'ቐ'], // qhe
 265+['ቕu', '', 'ቑ'], // qhu
 266+['ቕi', '', 'ቒ'], // qhi
 267+['ቕa', '', 'ቓ'], // qha
 268+['(ቓ|ቐ|ቒ)e', '', 'ቔ'], // qhee
 269+['ቕo', '', 'ቖ'], // qho
 270+
 271+['ቅe', '', 'ቀ'], // qe
 272+['ቅu', '', 'ቁ'], // qu
 273+['ቅi', '', 'ቂ'], // qi
 274+['ቅa', '', 'ቃ'], // qa
 275+['(ቃ|ቀ|ቂ)e', '', 'ቄ'], // qee
 276+['ቅo', '', 'ቆ'], // qo
 277+['(ቃ|ቁ|ቍ)a', '', 'ቋ'], // qaa or qua or qwa
 278+
 279+['ሽe', '', 'ሸ'], // she
 280+['ሽu', '', 'ሹ'], // shu
 281+['ሽi', '', 'ሺ'], // shi
 282+['ሽa', '', 'ሻ'], // sha
 283+['(ሻ|ሸ|ሺ)e', '', 'ሼ'], // shae,shee,shie
 284+['ሽo', '', 'ሾ'], // sho
 285+['(ሻ|ሹ|ሽው)a', '', 'ሿ'], // shaa or shua or shwa
 286+
 287+['ስe', '', 'ሰ'], // se
 288+['ስu', '', 'ሱ'], // su
 289+['ስi', '', 'ሲ'], // si
 290+['ስa', '', 'ሳ'], // sa
 291+['(ሳ|ሰ|ሲ)e', '', 'ሴ'], // sae,see,sie
 292+['ስo', '', 'ሶ'], // so
 293+['(ሳ|ሱ|ስው)a', '', 'ሷ'], // saa or sua or swa
 294+
 295+['ርe', '', 'ረ'], // re
 296+['ርu', '', 'ሩ'], // ru
 297+['ርi', '', 'ሪ'], // ri
 298+['ርa', '', 'ራ'], // ra
 299+['(ራ|ረ|ሪ)e', '', 'ሬ'], // rae,ree,rie
 300+['ርo', '', 'ሮ'], // ro
 301+['(ራ|ሩ|ርው)a', '', 'ሯ'], // raa or rua or rwa
 302+
 303+['ሥe', '', 'ሠ'], // sze or sse (sz is alias for ss)
 304+['ሥu', '', 'ሡ'], // szu
 305+['ሥi', '', 'ሢ'], // szi
 306+['ሥa', '', 'ሣ'], // sza
 307+['(ሣ|ሠ|ሢ)e', '', 'ሤ'], // szae,szee,szie
 308+['ሥo', '', 'ሦ'], // szo
 309+['(ሣ|ሡ|ሥው)a', '', 'ሧ'], // szaa or szua or szwa
 310+
 311+['ምe', '', 'መ'], // me
 312+['ምu', '', 'ሙ'], // mu
 313+['ምi', '', 'ሚ'], // mi
 314+['ምa', '', 'ማ'], // ma
 315+['(ማ|መ|ሚ)e', '', 'ሜ'], // mae,mee,mie
 316+['ምo', '', 'ሞ'], // mo
 317+['(ማ|ሙ|ምው)a', '', 'ሟ'], // maa or mua or mwa
 318+
 319+['ሕe', '', 'ሐ'], // hhe
 320+['ሕu', '', 'ሑ'], // hhu
 321+['ሕi', '', 'ሒ'], // hhi
 322+['ሕa', '', 'ሓ'], // hha
 323+['(ሓ|ሐ|ሒ)e', '', 'ሔ'], // hhae,hhee,hhie
 324+['ሕo', '', 'ሖ'], // hho
 325+['(ሓ|ሑ|ሕው)a', '', 'ሗ'], // hhaa or hhua or hhwa
 326+
 327+['ልe', '', 'ለ'], // le
 328+['ልu', '', 'ሉ'], // lu
 329+['ልi', '', 'ሊ'], // li
 330+['ልa', '', 'ላ'], // la
 331+['(ላ|ለ|ሊ)e', '', 'ሌ'], // lae,lee,lie
 332+['ልo', '', 'ሎ'], // lo
 333+['(ላ|ሉ|ልው)a', '', 'ሏ'], // laa or lua or lwa
 334+
 335+['ህe', '', 'ሀ'], // he
 336+['ህu', '', 'ሁ'], // hu
 337+['ህi', '', 'ሂ'], // hi
 338+['ህa', '', 'ሃ'], // ha
 339+['(ሃ|ሀ|ሂ)e', '', 'ሄ'], // hae,hee,hie
 340+['ህo', '', 'ሆ'], // ho
 341+
 342+['ውe', '', 'ወ'], // we
 343+['ውu', '', 'ዉ'], // wu
 344+['ውi', '', 'ዊ'], // wi
 345+['ውa', '', 'ዋ'], // wa
 346+['(ዋ|ወ|ዊ)e', '', 'ዌ'], // wae,wee,wie
 347+['ውo', '', 'ዎ'], // wo
 348+
 349+['አa', '', 'ኣ'], // aa
 350+['(አ|እ|ኢ)e', '', 'ኤ'], // ae or ee or ie
 351+['(እ|አ)h', '', 'ኧ'], // eh or eeh
 352+
 353+['ህh', '', 'ሕ'], // hh
 354+['ስ(s|z)', '', 'ሥ'], // ss or sz
 355+['ስh', '', 'ሽ'], // sh
 356+['ቅh', '', 'ቕ'], // qh
 357+['ክx', '', 'ኽ'], // kx
 358+['ዝ(h|z)', '', 'ዥ'], // zh or zz
 359+['ድd', '', 'ዽ'], // dd
 360+['ግg', '', 'ጝ'], // gg
 361+['ት(h|t)', '', 'ጥ'], // th or tt
 362+['ችh', '', 'ጭ'], // ch
 363+['ፕ(h|p)', '', 'ጵ'], // ph or pp
 364+['ትs', '', 'ጽ'], // ts
 365+['ትz', '', 'ፅ'], // tz
 366+['ቅw', '', 'ቍ'], // qw
 367+['ቕw', '', 'ቝ'], // qhw
 368+['ኅw', '', 'ኍ'], // xw
 369+['ክw', '', 'ኵ'], // kw
 370+['ኽw', '', 'ዅ'], // kxw
 371+['ግw', '', 'ጕ'], // gw
 372+
 373+['(N|ንn)', '', 'ኝ'], // nn or N
 374+
 375+['፩0', '', '፲'], // 10
 376+['፪0', '', '፳'], // 20
 377+['፫0', '', '፴'], // 30
 378+['፬0', '', '፵'], // 40
 379+['፭0', '', '፶'], // 50
 380+['፮0', '', '፷'], // 60
 381+['፯0', '', '፸'], // 70
 382+['፰0', '', '፹'], // 80
 383+['፱0', '', '፺'], // 90
 384+['፲0', '', '፻'], // 100
 385+
 386+['h', '', 'ህ'],
 387+['l', '', 'ል'],
 388+['m', '', 'ም'],
 389+['r', '', 'ር'],
 390+['s', '', 'ስ'],
 391+['q', '', 'ቅ'],
 392+['b', '', 'ብ'],
 393+['v', '', 'ቭ'],
 394+['t', '', 'ት'],
 395+['c', '', 'ች'],
 396+['x', '', 'ኅ'],
 397+['n', '', 'ን'],
 398+['k', '', 'ክ'],
 399+['w', '', 'ው'],
 400+['"', '', 'ዕ'],
 401+['z', '', 'ዝ'],
 402+['y', '', 'ይ'],
 403+['d', '', 'ድ'],
 404+['j', '', 'ጅ'],
 405+['g', '', 'ግ'],
 406+['f', '', 'ፍ'],
 407+['p', '', 'ፕ'],
 408+
 409+// vowels
 410+['a', '', 'አ'],
 411+["(e|')", '', 'እ'],
 412+['i', '', 'ኢ'],
 413+['o', '', 'ኦ'],
 414+['u', '', 'ኡ'],
 415+
 416+['\\;', '', '፥'],
 417+['\\.', '', '።'],
 418+[',', '', '፣'],
 419+['\\:', '', '፤'],
 420+['\\:', '', '፥'],
 421+['/', '', '፨'],
 422+['\\?', '', '፧'],
 423+['[ \\-]', '', '፡'], // space or -
 424+['\\!', '', '፦'],
 425+
 426+['1', '', '፩'],
 427+['2', '', '፪'],
 428+['3', '', '፫'],
 429+['4', '', '፬'],
 430+['5', '', '፭'],
 431+['6', '', '፮'],
 432+['7', '', '፯'],
 433+['8', '', '፰'],
 434+['9', '', '፱']
 435+];
 436+
 437+jQuery.narayam.addScheme( 'am', {
 438+ 'namemsg': 'narayam-am',
 439+ 'extended_keyboard': false,
 440+ 'lookbackLength': 2,
 441+ 'keyBufferLength': 1,
 442+ 'rules': rules
 443+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.am.js
___________________________________________________________________
Added: svn:eol-style
1444 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-inscript.js
@@ -0,0 +1,110 @@
 2+/**
 3+ * InScript regular expression rules table for Tamil
 4+ * @author Amir E. Aharoni ([[User:Amire80]])
 5+ * based on the Malayalam map by
 6+ * @author Junaid P V ([[User:Junaidpv]])
 7+ * and Fedora Tamil keyboard layout:
 8+ * http://fedoraproject.org/wiki/I18N/Indic/TamilKeyboardLayouts
 9+ * @date 2011-11-29
 10+ * License: GPLv3
 11+ */
 12+var rules = [
 13+['`', '', 'ொ'],
 14+['~', '', 'ஒ'],
 15+
 16+['&', '', 'க்ஷ்'],
 17+['\\*', '', 'ஷ்ர'],
 18+
 19+['\\(', '', '\u200D'], // ZWJ
 20+['\\)', '', '\u200C'], // ZWNJ
 21+
 22+['_', '', 'ஃ'],
 23+
 24+['q', '', 'ௌ'],
 25+['Q', '', 'ஔ'],
 26+['w', '', 'ை'],
 27+['W', '', 'ஐ'],
 28+['e', '', 'ா'],
 29+['E', '', 'ஆ'],
 30+['r', '', 'ீ'],
 31+['R', '', 'ஈ'],
 32+['t', '', 'ூ'],
 33+['T', '', 'ஊ'],
 34+['u', '', 'ஹ'],
 35+['U', '', 'ங'],
 36+['p', '', 'ஜ'],
 37+['\\}', '', 'ஞ'],
 38+
 39+['a', '', 'ோ'],
 40+['A', '', 'ஓ'],
 41+['s', '', 'ே'],
 42+['S', '', 'ஏ'],
 43+['d', '', '்'],
 44+['D', '', 'அ'],
 45+['f', '', 'ி'],
 46+['F', '', 'இ'],
 47+['g', '', 'ு'],
 48+['G', '', 'உ'],
 49+['h', '', 'ப'],
 50+['j', '', 'ர'],
 51+['J', '', 'ற'],
 52+['k', '', 'க'],
 53+['l', '', 'த'],
 54+[';', '', 'ச'],
 55+['\'', '', 'ட'],
 56+
 57+['z', '', 'ெ'],
 58+['Z', '', 'எ'],
 59+['x', '', 'ஂ'],
 60+['c', '', 'ம'],
 61+['C', '', 'ண'],
 62+['v', '', 'ந'],
 63+['V', '', 'ன'],
 64+['b', '', 'வ'],
 65+['B', '', 'ழ'],
 66+['n', '', 'ல'],
 67+['N', '', 'ள'],
 68+['m', '', 'ஸ'],
 69+['M', '', 'ஶ'],
 70+['<', '', 'ஷ'],
 71+['/', '', 'ய'],
 72+
 73+['\\.', '', '\u0BE4'],
 74+
 75+['1', '', '௧'],
 76+['2', '', '௨'],
 77+['3', '', '௩'],
 78+['4', '', '௪'],
 79+['5', '', '௫'],
 80+['6', '', '௬'],
 81+['7', '', '௭'],
 82+['8', '', '௮'],
 83+['9', '', '௯'],
 84+['0', '', '௦']
 85+];
 86+
 87+var rules_x = [
 88+['X', '', 'ௐ'],
 89+['\\.', '', '\u0BE5'],
 90+['\\)', '', '௰'],
 91+['-', '', '௱'],
 92+['=', '', '௲'],
 93+['n', '', '௳'],
 94+['c', '', '௴'],
 95+['b', '', '௵'],
 96+['h', '', '௶'],
 97+['y', '', '௷'],
 98+['C', '', '௸'],
 99+[',', '', '௹'],
 100+['V', '', '௺'],
 101+['4', '', '₹']
 102+];
 103+
 104+jQuery.narayam.addScheme( 'ta-inscript', {
 105+ 'namemsg': 'narayam-ta-inscript',
 106+ 'extended_keyboard': true,
 107+ 'lookbackLength': 0,
 108+ 'keyBufferLength': 0,
 109+ 'rules': rules,
 110+ 'rules_x': rules_x
 111+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-inscript.js
___________________________________________________________________
Added: svn:eol-style
1112 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.si-wijesekara.js
@@ -0,0 +1,98 @@
 2+/**
 3+ * Standard Wijesekara Keyboard Layout for Sinhala
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2011-03-01
 6+ * @credits Language Technology Research Laboratory - University of Colombo School of Computing
 7+ * http://www.ucsc.lk/ltrl/services/layout/
 8+ * License: GPLv3
 9+ */
 10+
 11+var rules = [
 12+['`', '', '්‍ර'],
 13+['~', '', 'ර්‍'],
 14+
 15+['q', '', 'ු'],
 16+['w', '', 'අ'],
 17+['e', '', 'ැ'],
 18+['r', '', 'ර'],
 19+['t', '', 'එ'],
 20+['y', '', 'හ'],
 21+['u', '', 'ම'],
 22+['i', '', 'ස'],
 23+['o', '', 'ද'],
 24+['p', '', 'ච'],
 25+['\\[', '', 'ඤ'],
 26+['\\]', '', ';'],
 27+['a', '', '්'],
 28+['s', '', 'ි'],
 29+['d', '', 'ා'],
 30+['f', '', 'ෙ'],
 31+['g', '', 'ට'],
 32+['h', '', 'ය'],
 33+['j', '', 'ව'],
 34+['k', '', 'න'],
 35+['l', '', 'ක'],
 36+[';', '', 'ත'],
 37+["'", '', '.'],
 38+['z', '', "'"],
 39+['x', '', 'ං'],
 40+['c', '', 'ජ'],
 41+['v', '', 'ඩ'],
 42+['b', '', 'ඉ'],
 43+['n', '', 'බ'],
 44+['m', '', 'ප'],
 45+[',', '', 'ල'],
 46+['\\.', '', 'ග'],
 47+
 48+['Q', '', 'ූ'],
 49+['W', '', 'උ'],
 50+['E', '', 'ෑ'],
 51+['R', '', 'ඍ'],
 52+['T', '', 'ඔ'],
 53+['Y', '', 'ශ'],
 54+['U', '', 'ඹ'],
 55+['I', '', 'ෂ'],
 56+['O', '', 'ධ'],
 57+['P', '', 'ඡ'],
 58+['\\{', '', 'ඥ'],
 59+['\\}', '', ':'],
 60+['A', '', 'ෟ'],
 61+['S', '', 'ී'],
 62+['D', '', 'ෘ'],
 63+['F', '', 'ෆ'],
 64+['G', '', 'ඨ'],
 65+['H', '', 'ය'],
 66+['J', '', 'ළ'],
 67+['K', '', 'ණ'],
 68+['L', '', 'ඛ'],
 69+['\\:', '', 'ථ'],
 70+['"', '', ','],
 71+['Z', '', '"'],
 72+['X', '', 'ඃ'],
 73+['C', '', 'ඣ'],
 74+['V', '', 'ඪ'],
 75+['B', '', 'ඊ'],
 76+['N', '', 'භ'],
 77+['M', '', 'ඵ'],
 78+['\\<', '', 'ළ'],
 79+['\\>', '', 'ඝ']
 80+];
 81+
 82+var rules_x = [
 83+['o', '', 'ඳ'],
 84+['v', '', 'ඬ'],
 85+["'", '', '෴'],
 86+['a', '', 'ෳ'],
 87+['\\.', '', 'ඟ'],
 88+['x', '', 'ඦ'],
 89+[',', '', 'ඏ']
 90+];
 91+
 92+jQuery.narayam.addScheme( 'si-wijesekara', {
 93+ 'namemsg': 'narayam-si-wijesekara',
 94+ 'extended_keyboard': true,
 95+ 'lookbackLength': 0,
 96+ 'keyBufferLength': 0,
 97+ 'rules': rules,
 98+ 'rules_x': rules_x
 99+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.si-wijesekara.js
___________________________________________________________________
Added: svn:eol-style
1100 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hi.js
@@ -0,0 +1,168 @@
 2+/**
 3+ * Transliteration regular expression rules table for Devanagari script for Hindi
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-11-20
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['क्h', 'c', 'च्'],
 13+['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
 14+
 15+['([क-ह]़?)्a', '', '$1'],
 16+['([क-ह]़?)्A', '', '$1ा'],
 17+['([क-ह]़?)a', '', '$1ा'],
 18+['([क-ह]़?)्i', '', '$1ि'],
 19+['([क-ह]़?)(्I|िi|ॆe)', '', '$1ी'],
 20+['([क-ह]़?)्u', '', '$1ु'],
 21+['([क-ह]़?)(ुu|्U|ॊo)', '', '$1ू'],
 22+['([क-ह]़?)्R', '', '$1ृ'],
 23+['([क-ह]़?)ृR', '', '$1ॄ'],
 24+['([क-ह]़?)्ळ्l', '', '$1ॢ'],
 25+['([क-ह]़?)ॢl', '', '$1ॣ'],
 26+['([क-ह]़?)ॆ\\^', '', '$1ॅ'],
 27+['([क-ह]़?)्e', '', '$1े'],
 28+['([क-ह]़?)्E', '', '$1े'],
 29+['([क-ह]़?)ॊ\\^', '', '$1ॉ'],
 30+['([क-ह]़?)i', '', '$1ै'],
 31+['([क-ह]़?)्o', '', '$1ो'],
 32+['([क-ह]़?)्O', '', '$1ो'],
 33+['([क-ह]़?)u', '', '$1ौ'],
 34+['([क-ह]़?)ृa', '', '$1्ऱ'],
 35+['([क-ह]़?)ृA', '', '$1्ऱा'],
 36+['([क-ह]़?)ृi', '', '$1्ऱि'],
 37+['([क-ह]़?)ृI', '', '$1्ऱी'],
 38+['([क-ह]़?)ृu', '', '$1्ऱु'],
 39+['([क-ह]़?)ृU', '', '$1्ऱू'],
 40+['([क-ह]़?)ृ\\^', '', '$1्ऱॅ'],
 41+['([क-ह]़?)ृe', '', '$1्ऱॆ'],
 42+['([क-ह]़?)ृE', '', '$1्ऱे'],
 43+['([क-ह]़?)ृo', '', '$1्ऱॊ'],
 44+['([क-ह]़?)ृO', '', '$1्ऱो'],
 45+['([क-ह]़?)ृ\\~', '', '$1्ऱ्'],
 46+['([क-ह])्\\`', '', '$1़्'],
 47+
 48+['अa', '', 'आ'],
 49+['(ऒo|उu)', '', 'ऊ'],
 50+['ऎ\\^', '', 'ऍ'],
 51+['अi', '', 'ऐ'],
 52+['अ\\^', '', 'ॲ'],
 53+['(इi|ऎe)', '', 'ई'],
 54+['ऒ\\^', '', 'ऑ'],
 55+['अu', '', 'औ'],
 56+['ऋR', '', 'ॠ'],
 57+['ळ्l', '', 'ऌ'],
 58+['ऌl', '', 'ॡ'],
 59+['ं\\^', '', 'ँ'],
 60+['ंm', '', 'ँ'],
 61+['ंM', '', 'ँ'],
 62+['ओM', '', 'ॐ'],
 63+
 64+['क्h', '', 'ख्'],
 65+['ग्h', '', 'घ्'],
 66+['न्g', '', 'ङ्'],
 67+['च्h', '', 'छ्'],
 68+['ज्h', '', 'झ्'],
 69+['न्j', '', 'ञ्'],
 70+['ट्h', '', 'ठ्'],
 71+['ड्h', '', 'ढ्'],
 72+['त्h', '', 'थ्'],
 73+['द्h', '', 'ध्'],
 74+['प्h', '', 'फ्'],
 75+['ब्h', '', 'भ्'],
 76+['ऋa', '', 'ऱ'],
 77+['ऋA', '', 'ऱा'],
 78+['ऋi', '', 'ऱि'],
 79+['ऋI', '', 'ऱी'],
 80+['ऋu', '', 'ऱु'],
 81+['ऋU', '', 'ऱू'],
 82+['ऋ\\^', '', 'ऱॅ'],
 83+['ऋe', '', 'ऱे'],
 84+['ऋE', '', 'ऱे'],
 85+['ऋo', '', 'ऱो'],
 86+['ऋO', '', 'ऱो'],
 87+['ऋ\\~', '', 'ऱ्'],
 88+
 89+['स्h', '', 'श्'],
 90+['श्h', '', 'ष्'],
 91+['क़्h', '', 'ख़्'],
 92+['ज़्h', '', 'ऴ्'],
 93+['।\\.', '', '॥'],
 94+
 95+['a', '', 'अ'],
 96+['b', '', 'ब्'],
 97+['c', '', 'च्'],
 98+['d', '', 'द्'],
 99+['e', '', 'ए'],
 100+['f', '', 'फ्'],
 101+['F', '', 'फ़्'],
 102+['g', '', 'ग्'],
 103+['h', '', 'ह्'],
 104+['i', '', 'इ'],
 105+['j', '', 'ज्'],
 106+['j', '', 'ज़्'],
 107+['k', '', 'क्'],
 108+['l', '', 'ल्'],
 109+['m', '', 'म्'],
 110+['n', '', 'न्'],
 111+['o', '', 'ओ'],
 112+['p', '', 'प्'],
 113+['q', '', '\u0951'],
 114+['r', '', 'र्'],
 115+['s', '', 'स्'],
 116+['t', '', 'त्'],
 117+['u', '', 'उ'],
 118+['(v|w)', '', 'व्'],
 119+['x', '', 'क्ष्'],
 120+['y', '', 'य्'],
 121+['(z|Z)', '', '.'],
 122+['A', '', 'आ'],
 123+['B', '', 'ब्ब्'],
 124+['C', '', 'क्क्'],
 125+['D', '', 'ड्'],
 126+['E', '', 'ऍ'],
 127+//'F', '', 'फ्'],
 128+['G', '', 'ग्ग्'],
 129+['H', '', 'ः'],
 130+['I', '', 'ई'],
 131+['J', '', 'ज्ज्'],
 132+['K', '', 'क्क्'],
 133+['L', '', 'ळ्'],
 134+['M', '', 'ं'],
 135+['N', '', 'ण्'],
 136+['O', '', 'ओ'],
 137+['P', '', 'प्प्'],
 138+//'Q', '', 'अ'],
 139+['R', '', 'ऋ'],
 140+['S', '', 'श्'],
 141+['T', '', 'ट्'],
 142+['U', '', 'ऊ'],
 143+['(V|W)', '', 'व्व्'],
 144+['X', '', 'क्ष्'],
 145+['Y', '', 'ञ्'],
 146+//'z', '', 'अ'
 147+['0', '', '०'],
 148+['1', '', '१'],
 149+['2', '', '२'],
 150+['3', '', '३'],
 151+['4', '', '४'],
 152+['5', '', '५'],
 153+['6', '', '६'],
 154+['7', '', '७'],
 155+['8', '', '८'],
 156+['9', '', '९'],
 157+['~', '', '्'],
 158+['\\.', '', '।'],
 159+['//', '', 'ऽ'],
 160+['\\`', '', '़']
 161+];
 162+
 163+jQuery.narayam.addScheme( 'hi', {
 164+ 'namemsg': 'narayam-hi',
 165+ 'extended_keyboard': false,
 166+ 'lookbackLength': 3,
 167+ 'keyBufferLength': 1,
 168+ 'rules': rules
 169+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hi.js
___________________________________________________________________
Added: svn:eol-style
1170 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.te-inscript.js
@@ -0,0 +1,118 @@
 2+/**
 3+ * InScript regular expression rules table for Telugu script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Veeven ([[user:Veeven]])
 6+ * @date 2011-02-27
 7+ * License: GPLv3, CC-BY-SA 3.0
 8+ */
 9+var rules = [
 10+['X', '', 'ఁ'],
 11+['x', '', 'ం'],
 12+//['_', '', ''],
 13+['D', '', 'అ'],
 14+['E', '', 'ఆ'],
 15+['F', '', 'ఇ'],
 16+['R', '', 'ఈ'],
 17+['G', '', 'ఉ'],
 18+['T', '', 'ఊ'],
 19+['\\+', '', 'ఋ'],
 20+['Z', '', 'ఎ'],
 21+['S', '', 'ఏ'],
 22+['W', '', 'ఐ'],
 23+
 24+['~', '', 'ఒ'],
 25+['A', '', 'ఓ'],
 26+['Q', '', 'ఔ'],
 27+['k', '', 'క'],
 28+['K', '', 'ఖ'],
 29+['i', '', 'గ'],
 30+['I', '', 'ఘ'],
 31+['U', '', 'ఙ'],
 32+['\\;', '', 'చ'],
 33+['\\:', '', 'ఛ'],
 34+['p', '', 'జ'],
 35+['P', '', 'ఝ'],
 36+['\\}', '', 'ఞ'],
 37+["'", '', 'ట'],
 38+['"', '', 'ఠ'],
 39+['\\[', '','డ'],
 40+['\\{', '','ఢ'],
 41+['C', '', 'ణ'],
 42+['l', '', 'త'],
 43+['L', '', 'థ'],
 44+['o', '', 'ద'],
 45+['O', '', 'ధ'],
 46+['v', '', 'న'],
 47+['h', '', 'ప'],
 48+['H', '', 'ఫ'],
 49+['y', '', 'బ'],
 50+['Y', '', 'భ'],
 51+['c', '', 'మ'],
 52+['\\?', '','య'],
 53+['j', '', 'ర'],
 54+['n', '', 'ల'],
 55+['N', '', 'ళ'],
 56+['b', '', 'వ'],
 57+['M', '', 'శ'],
 58+['\\<', '','ష'],
 59+['m', '', 'స'],
 60+['u', '', 'హ'],
 61+['\\]', '','ఞ'],
 62+['e', '', 'ా'],
 63+['f', '', 'ి'],
 64+['r', '', 'ీ'],
 65+['g', '', 'ు'],
 66+['t', '', 'ూ'],
 67+['\\=', '', 'ృ'],
 68+['\\\\', '', ''],
 69+['s', '', 'ే'],
 70+['w', '', 'ై'],
 71+['a', '', 'ో'],
 72+['q', '', 'ౌ'],
 73+['d', '', '్'],
 74+//['\\|', '', 'ॠ'],
 75+['/', '', 'య'],
 76+//['\\>', '', '.'],
 77+['0', '','౦'],
 78+['1', '','౧'],
 79+['2', '', '౨'],
 80+['3', '', '౩'],
 81+['4', '', '౪'],
 82+['5', '', '౫'],
 83+['6', '', '౬'],
 84+['7', '', '౭'],
 85+['8', '', '౮'],
 86+['9', '', '౯'],
 87+//['\\@', '', 'ॅ'],
 88+['\\#', '', '్ర'],
 89+['\\$', '', 'ర్'],
 90+['\\%', '', 'జ్ఞ'],
 91+['\\^', '', 'త్ర'],
 92+['\\&', '', 'క్ష'],
 93+['\\*', '', 'శ్ర'],
 94+['\\(', '', '\u200D'],
 95+['\\)', '', '\u200C']
 96+];
 97+
 98+// Extended layout for InScript. Works in Firefox only
 99+var rules_x = [
 100+//['F', '', 'ऌ'],
 101+//['\\>', '','ऽ'],
 102+['X', '', 'ॐ'],
 103+//['e', '', '\0951'],
 104+//['d', '', '\u0952'],
 105+//['R', '', 'ॡ'],
 106+//['f', '', 'ॢ'],
 107+//['r', '', 'ॣ'],
 108+//['\\.', '', '॥'],
 109+//['\\@', '','ॅ'],
 110+['4', '', '₹']
 111+];
 112+
 113+jQuery.narayam.addScheme( 'te-inscript', {
 114+ 'namemsg': 'narayam-te-inscript',
 115+ 'extended_keyboard': true,
 116+ 'lookbackLength': 0,
 117+ 'rules': rules,
 118+ 'rules_x': rules_x
 119+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.te-inscript.js
___________________________________________________________________
Added: svn:eol-style
1120 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ne.js
@@ -0,0 +1,164 @@
 2+/**
 3+ * Transliteration regular expression rules table for Nepali
 4+ * @author Junaid P V ([[user:Junaidpv]]) and Bhawani Gautam ([[user:Bhawani Gautam]])
 5+ * @date 2011-07-22
 6+ * License: GPLv3
 7+ */
 8+
 9+ // Normal rules
 10+var rules = [
 11+['क्h','c','च्'],
 12+['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
 13+
 14+['([क-ह]़?)्a', '','$1'],
 15+['([क-ह]़?)्A', '','$1ा'],
 16+['([क-ह]़?)्a', '','$1ा'],
 17+['([क-ह]़?)्i', '','$1ि'],
 18+['([क-ह]़?)(्I|िi|ेe)', '','$1ी'],
 19+['([क-ह]़?)्u', '','$1ु'],
 20+['([क-ह]़?)(ुu|्U|ोo)', '','$1ू'],
 21+['([क-ह]़?)्R', '','$1ृ'],
 22+['([क-ह]़?)ृR', '','$1ॄ'],
 23+['([क-ह]़?)्ळ्l', '','$1ॢ'],
 24+['([क-ह]़?)ॢl', '','$1ॣ'],
 25+['([क-ह]़?)ॆ\\^', '','$1ॅ'],
 26+['([क-ह]़?)्e', '','$1े'],
 27+['([क-ह]़?)्E', '','$1े'],
 28+['([क-ह]़?)ॊ\\^', '','$1ॉ'],
 29+['([क-ह]़?)i', '','$1ै'],
 30+['([क-ह]़?)्o', '','$1ो'],
 31+['([क-ह]़?)्O', '','$1ो'],
 32+['([क-ह]़?)u', '','$1ौ'],
 33+['([क-ह]़?)ृa', '','$1्ऱ'],
 34+['([क-ह]़?)ृA', '','$1्ऱा'],
 35+['([क-ह]़?)ृi', '','$1्ऱि'],
 36+['([क-ह]़?)ृI', '','$1्ऱी'],
 37+['([क-ह]़?)ृu', '','$1्ऱु'],
 38+['([क-ह]़?)ृU', '','$1्ऱू'],
 39+['([क-ह]़?)ृ\\^', '','$1्ऱॅ'],
 40+['([क-ह]़?)ृe', '','$1्ऱे'],
 41+['([क-ह]़?)ृE', '','$1्ऱे'],
 42+['([क-ह]़?)ृo', '','$1्ऱो'],
 43+['([क-ह]़?)ृO', '','$1्ऱो'],
 44+['([क-ह]़?)ृ\\~', '','$1्ऱ्'],
 45+['([क-ह])्\\`', '','$1़्'],
 46+
 47+['अa', '','आ'],
 48+['(ओo|उu)', '','ऊ'],
 49+['ऎ\\^', '','ए'],
 50+['अi', '','ऐ'],
 51+['अ\\^', '','अ'],
 52+['(इi|एe)', '','ई'],
 53+['ऒ\\^', '','ओ'],
 54+['अu', '','औ'],
 55+['र्र्r', '','र्‍'],
 56+['ड़्h', '','ढ्'],
 57+['ऋR', '','ॠ'],
 58+['ळ्l', '','ऌ'],
 59+['ऌl', '','ॡ'],
 60+['ं\\^', '','ँ'],
 61+['ंM', '','ँ'],
 62+['ओM', '','ॐ'],
 63+['ड्D', '','ड्'],
 64+['क्h', '','ख्'],
 65+['ग्h', '','घ्'],
 66+['G', '','ङ्'],
 67+['च्h', '','छ्'],
 68+['ज्h', '','झ्'],
 69+['न्j', '','ञ्'],
 70+['ट्h', '','ठ्'],
 71+['ड्h', '','ढ्'],
 72+['त्h', '','थ्'],
 73+['द्h', '','ध्'],
 74+['प्h', '','फ्'],
 75+['ब्h', '','भ्'],
 76+['ऋa', '','र'],
 77+['ऋA', '','रा'],
 78+['ऋi', '','रि'],
 79+['ऋI', '','री'],
 80+['ऋu', '','रु'],
 81+['ऋU', '','रू'],
 82+['ऋ\\^', '','ऋ'],
 83+['ऋe', '','रे'],
 84+['ऋE', '','रे'],
 85+['ऋo', '','रो'],
 86+['ऋO', '','रो'],
 87+['ऋ\\~', '','र्'],
 88+
 89+['स्h', '','श्'],
 90+['श्h', '','ष्'],
 91+['क़्h', '','ख्'],
 92+['ज़्h', '','ऴ्'],
 93+['।\\.', '','॥'],
 94+
 95+['a', '','अ'],
 96+['b', '','ब्'],
 97+['c', '','क्'],
 98+['d', '','द्'],
 99+['e', '','ए'],
 100+['(f|F)', '','फ्'],
 101+['g', '','ग्'],
 102+['h', '','ह्'],
 103+['i', '','इ'],
 104+['j', '','ज्'],
 105+['k', '','क्'],
 106+['l', '','ल्'],
 107+['m', '','म्'],
 108+['n', '','न्'],
 109+['o', '','ओ'],
 110+['p', '','प्'],
 111+['q', '','क़्'],
 112+['r', '','र्'],
 113+['s', '','स्'],
 114+['t', '','त्'],
 115+['u', '','उ'],
 116+['v', '','भ्'],
 117+['w', '','व्'],
 118+['x', '','क्ष्'],
 119+['y', '','य्'],
 120+['(z|Z)', '','ज़्'],
 121+['A', '','आ'],
 122+['B', '','ब्ब्'],
 123+['C', '','क्क्'],
 124+['D', '','ड्'],
 125+['E', '','ए'],
 126+['H', '','ः'],
 127+['I', '','ई'],
 128+['J', '','ज्ज्'],
 129+['K', '','क्क्'],
 130+['L', '','ळ्'],
 131+['M', '','ं'],
 132+['N', '','ण्'],
 133+['O', '','ओ'],
 134+['P', '','प्प्'],
 135+['Q', '','अ'],
 136+['R', '','ऋ'],
 137+['S', '','श्'],
 138+['T', '','ट्'],
 139+['U', '','ऊ'],
 140+['V', '','झ्'],
 141+['W', '','औ'],
 142+['X', '','क्ष्'],
 143+['Y', '','य्य्'],
 144+['0', '','०'],
 145+['1', '','१'],
 146+['2', '','२'],
 147+['3', '','३'],
 148+['4', '','४'],
 149+['5', '','५'],
 150+['6', '','६'],
 151+['7', '','७'],
 152+['8', '','८'],
 153+['9', '','९'],
 154+['\\.', '','।'],
 155+['//', '','ऽ'],
 156+['\\`', '','्']
 157+];
 158+
 159+jQuery.narayam.addScheme( 'ne', {
 160+ 'namemsg': 'narayam-ne',
 161+ 'extended_keyboard': false,
 162+ 'lookbackLength': 4,
 163+ 'keyBufferLength': 1,
 164+ 'rules': rules
 165+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ne.js
___________________________________________________________________
Added: svn:eol-style
1166 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sa.js
@@ -0,0 +1,165 @@
 2+/**
 3+ * Transliteration regular expression rules table for Sanskrit
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-10-12
 6+ * @credits With help from Naveen Shankar
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['क्h','c','च्'],
 13+['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
 14+
 15+['([क-ह]़?)्a', '','$1'],
 16+['([क-ह]़?)्A', '','$1ा'],
 17+['([क-ह]़?)a', '','$1ा'],
 18+['([क-ह]़?)्i', '','$1ि'],
 19+['([क-ह]़?)(्I|िi|ॆe)', '','$1ी'],
 20+['([क-ह]़?)्u', '','$1ु'],
 21+['([क-ह]़?)(ुu|्U|ॊo)', '','$1ू'],
 22+['([क-ह]़?)्R', '','$1ृ'],
 23+['([क-ह]़?)ृR', '','$1ॄ'],
 24+['([क-ह]़?)्ळ्l', '','$1ॢ'],
 25+['([क-ह]़?)ॢl', '','$1ॣ'],
 26+['([क-ह]़?)ॆ\\^', '','$1ॅ'],
 27+['([क-ह]़?)्e', '','$1ॆ'],
 28+['([क-ह]़?)्E', '','$1े'],
 29+['([क-ह]़?)ॊ\\^', '','$1ॉ'],
 30+['([क-ह]़?)i', '','$1ै'],
 31+['([क-ह]़?)्o', '','$1ॊ'],
 32+['([क-ह]़?)्O', '','$1ो'],
 33+['([क-ह]़?)u', '','$1ौ'],
 34+['([क-ह]़?)ृa', '','$1्ऱ'],
 35+['([क-ह]़?)ृA', '','$1्ऱा'],
 36+['([क-ह]़?)ृi', '','$1्ऱि'],
 37+['([क-ह]़?)ृI', '','$1्ऱी'],
 38+['([क-ह]़?)ृu', '','$1्ऱु'],
 39+['([क-ह]़?)ृU', '','$1्ऱू'],
 40+['([क-ह]़?)ृ\\^', '','$1्ऱॅ'],
 41+['([क-ह]़?)ृe', '','$1्ऱॆ'],
 42+['([क-ह]़?)ृE', '','$1्ऱे'],
 43+['([क-ह]़?)ृo', '','$1्ऱॊ'],
 44+['([क-ह]़?)ृO', '','$1्ऱो'],
 45+['([क-ह]़?)ृ\\~', '','$1्ऱ्'],
 46+['([क-ह])्\\`', '','$1़्'],
 47+
 48+['अa', '','आ'],
 49+['(ऒo|उu)', '','ऊ'],
 50+['ऎ\\^', '','ऍ'],
 51+['अi', '','ऐ'],
 52+['अ\\^', '','ॲ'],
 53+['(इi|ऎe)', '','ई'],
 54+['ऒ\\^', '','ऑ'],
 55+['अu', '','औ'],
 56+['ऋR', '','ॠ'],
 57+['ळ्l', '','ऌ'],
 58+['ऌl', '','ॡ'],
 59+['ं\\^', '','ँ'],
 60+['ंm', '','ँ'],
 61+['ओM', '','ॐ'],
 62+
 63+['क्h', '','ख्'],
 64+['ग्h', '','घ्'],
 65+['न्g', '','ङ्'],
 66+['च्h', '','छ्'],
 67+['ज्h', '','झ्'],
 68+['न्j', '','ञ्'],
 69+['ट्h', '','ठ्'],
 70+['ड्h', '','ढ्'],
 71+['त्h', '','थ्'],
 72+['द्h', '','ध्'],
 73+['प्h', '','फ्'],
 74+['ब्h', '','भ्'],
 75+['ऋa', '','ऱ'],
 76+['ऋA', '','ऱा'],
 77+['ऋi', '','ऱि'],
 78+['ऋI', '','ऱी'],
 79+['ऋu', '','ऱु'],
 80+['ऋU', '','ऱू'],
 81+['ऋ\\^', '','ऱॅ'],
 82+['ऋe', '','ऱॆ'],
 83+['ऋE', '','ऱे'],
 84+['ऋo', '','ऱॊ'],
 85+['ऋO', '','ऱो'],
 86+['ऋ\\~', '','ऱ्'],
 87+
 88+['स्h', '','ष्'],
 89+['क़्h', '','ख़्'],
 90+['ज़्h', '','ऴ्'],
 91+['।\\.', '','॥'],
 92+
 93+['a', '','अ'],
 94+['b', '','ब्'],
 95+['c', '','क्'],
 96+['d', '','द्'],
 97+['e', '','ऎ'],
 98+['(f|F)', '','फ़्'],
 99+['g', '','ग्'],
 100+['h', '','ह्'],
 101+['i', '','इ'],
 102+['j', '','ज्'],
 103+['k', '','क्'],
 104+['l', '','ल्'],
 105+['m', '','म्'],
 106+['n', '','न्'],
 107+['o', '','ऒ'],
 108+['p', '','प्'],
 109+['q', '','क़्'],
 110+['r', '','र्'],
 111+['s', '','स्'],
 112+['t', '','त्'],
 113+['u', '','उ'],
 114+['(v|w)', '','व्'],
 115+['x', '','क्ष्'],
 116+['y', '','य्'],
 117+['(z|Z)', '','ज़्'],
 118+['A', '','आ'],
 119+['B', '','ब्ब्'],
 120+['C', '','क्क्'],
 121+['D', '','ड्'],
 122+['E', '','ए'],
 123+//'F', '','फ्'],
 124+['G', '','ग्ग्'],
 125+['H', '','ः'],
 126+['I', '','ई'],
 127+['J', '','ज्ज्'],
 128+['K', '','क्क्'],
 129+['L', '','ळ्'],
 130+['M', '','ं'],
 131+['N', '','ण्'],
 132+['O', '','ओ'],
 133+['P', '','प्प्'],
 134+//'Q', '','अ'],
 135+['R', '','ऋ'],
 136+['S', '','श्'],
 137+['T', '','ट्'],
 138+['U', '','ऊ'],
 139+['(V|W)', '','व्व्'],
 140+['X', '','क्ष्'],
 141+['Y', '','य्य्'],
 142+//'z', '','अ'
 143+['0', '','०'],
 144+['1', '','१'],
 145+['2', '','२'],
 146+['3', '','३'],
 147+['4', '','४'],
 148+['5', '','५'],
 149+['6', '','६'],
 150+['7', '','७'],
 151+['8', '','८'],
 152+['9', '','९'],
 153+['~', '','्'],
 154+['\\.', '','।'],
 155+['//', '','ऽ'],
 156+['\\`', '','़'],
 157+['(\u200C)*_', '', '\u200c']
 158+];
 159+
 160+jQuery.narayam.addScheme( 'sa', {
 161+ 'namemsg': 'narayam-sa',
 162+ 'extended_keyboard': false,
 163+ 'lookbackLength': 4,
 164+ 'keyBufferLength': 2,
 165+ 'rules': rules
 166+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sa.js
___________________________________________________________________
Added: svn:eol-style
1167 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.as.js
@@ -0,0 +1,112 @@
 2+/**
 3+ * Transliteration regular expression rules table for Assamese script
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-12-01, updated 2011-11-10
 6+ * @credits W Chaipau and Prabhakar Sarma Neog and Assameses Wikimedia community
 7+ * License: GPLv3
 8+ */
 9+
 10+var rules = [
 11+['([ক-হড়-য়ৰৱ])(্ড়্ড়্i|্q)', '', '$1ৃ'], // <consonant>RRi or <consonant>q
 12+
 13+['(ড়্ড়্i|q)', '', 'ঋ'], // RRi or q
 14+
 15+['([ক-হড়-য়ৰৱ])্o', '', '$1'], // <consonant>o
 16+['([ক-হড়-য়ৰৱ])্a', '', '$1া'], // <consonant>a
 17+['([ক-হড়-য়ৰৱ])্i', '', '$1ি'], // <consonant>i
 18+['([ক-হড়-য়ৰৱ])(িi|্I)', '', '$1ী'], // <consonant>ii or <consonant>I
 19+['([ক-হড়-য়ৰৱ])্u', '', '$1ু'], // <consonant>u
 20+['([ক-হড়-য়ৰৱ])(ুu|্U)', '', '$1ূ'], // <consonant>uu or <consonant>U
 21+
 22+['([ক-হড়-য়ৰৱ])্e', '', '$1ে'], // <consonant>e
 23+['([ক-হড়-য়ৰৱ])i', '', '$1ৈ'], // <consonant>oi
 24+['([ক-হড়-য়ৰৱ])্O', '', '$1ো'], // <consonant>O
 25+['([ক-হড়-য়ৰৱ])u', '', '$1ৌ'], // <consonant>ou
 26+
 27+['(খ্y|c)', '', 'ক্ষ্'], // khy or c
 28+
 29+['ইi', '', 'ঈ'], // ii
 30+['উu', '', 'ঊ'], // uu
 31+['অi', '', 'ঐ'], // oi
 32+['অu', '', 'ঔ'], // ou
 33+['ত~', '', 'ৎ'], // t~
 34+
 35+['ক্h', '', 'খ্'], // kh
 36+['গ্h', '', 'ঘ্'], // gh
 37+['ন্g', '', 'ঙ্'], // ng
 38+['জ্h', '', 'ঝ্'], // jh
 39+['(ন্~|Y)', '', 'ঞ্'], // n~ or Y
 40+['ট্h', '', 'ঠ্'], // Th
 41+['ড্h', '', 'ঢ্'], // Dh
 42+['ত্h', '', 'থ্'], // th
 43+['দ্h', '', 'ধ্'], // dh
 44+['(প্h|f)', '', 'ফ্'], // ph or f
 45+['(ব্h|v)', '', 'ভ্'], // bh or v
 46+['শ্h', '', 'ষ্'], // Xh
 47+['ড়্h', '', 'ঢ়্'], // Rh
 48+
 49+['(M|ন্G)', '', 'ং'], // M or nG
 50+
 51+['o', '', 'অ'],
 52+['a', '', 'আ'],
 53+['i', '', 'ই'],
 54+['I', '', 'ঈ'],
 55+['u', '', 'উ'],
 56+['U', '', 'ঊ'],
 57+['e', '', 'এ'],
 58+['O', '', 'ও'],
 59+
 60+['H', '', 'ঃ'],
 61+['\\^', '', 'ঁ'],
 62+['C', '', '৺'],
 63+
 64+['k', '', 'ক্'],
 65+['g', '', 'গ্'],
 66+['s', '', 'চ্'],
 67+['S', '', 'ছ্'],
 68+['j', '', 'জ্'],
 69+['T', '', 'ট্'],
 70+['D', '', 'ড্'],
 71+['N', '', 'ণ্'],
 72+['t', '', 'ত্'],
 73+['d', '', 'দ্'],
 74+['n', '', 'ন্'],
 75+['p', '', 'প্'],
 76+['b', '', 'ব্'],
 77+['m', '', 'ম্'],
 78+['z', '', 'য্'],
 79+['r', '', 'ৰ্'],
 80+['l', '', 'ল্'],
 81+['w', '', 'ৱ্'],
 82+['X', '', 'শ্'],
 83+['x', '', 'স্'],
 84+['h', '', 'হ্'],
 85+['R', '', 'ড়্'],
 86+['y', '', 'য়্'],
 87+
 88+['\\\\\\.', '', '.'],
 89+['।\\.', '', '॥'],
 90+['\\.', '', '।'],
 91+
 92+['0','', '০'],
 93+['1','', '১'],
 94+['2','', '২'],
 95+['3','', '৩'],
 96+['4','', '৪'],
 97+['5','', '৫'],
 98+['6','', '৬'],
 99+['7','', '৭'],
 100+['8','', '৮'],
 101+['9','', '৯'],
 102+
 103+['(\u200C)*_', '', '\u200C'],
 104+['(\u200D)*`', '', '\u200D']
 105+];
 106+
 107+jQuery.narayam.addScheme( 'as', {
 108+ 'namemsg': 'narayam-as',
 109+ 'extended_keyboard': false,
 110+ 'lookbackLength': 8,
 111+ 'keyBufferLength': 0,
 112+ 'rules': rules
 113+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.as.js
___________________________________________________________________
Added: svn:eol-style
1114 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.eo.js
@@ -0,0 +1,26 @@
 2+/**
 3+ * Rule tables for Esperanto x-code transcription.
 4+ * @author Brion Vibber ([[user:Brion VIBBER]])
 5+ * @date 2011-04-05
 6+ * License: GPLv3
 7+ */
 8+
 9+(function() {
 10+
 11+var rules = [];
 12+var chars = {C: 'Ĉ', G: 'Ĝ', H: 'Ĥ', J: 'Ĵ', S: 'Ŝ', U: 'Ŭ',
 13+ c: 'ĉ', g: 'ĝ', h: 'ĥ', j: 'ĵ', s: 'ŝ', u: 'ŭ'};
 14+jQuery.each(chars, function(ascii, accented) {
 15+ rules.push([ascii + '[Xx]', ascii, accented]);
 16+ rules.push([accented + '([Xx])', '[Xx]', ascii + '$1']);
 17+});
 18+
 19+jQuery.narayam.addScheme( 'eo', {
 20+ 'namemsg': 'narayam-eo',
 21+ 'extended_keyboard': false,
 22+ 'lookbackLength': 1,
 23+ 'keyBufferLength': 1,
 24+ 'rules': rules
 25+} );
 26+
 27+})(jQuery);
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.eo.js
___________________________________________________________________
Added: svn:eol-style
128 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hne-inscript.js
@@ -0,0 +1,13 @@
 2+/**
 3+ * InScript regular expression rules table for Chhattisgarhi language
 4+ * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi
 5+ * @author Santhosh Thottingal
 6+ * @date 2011-12-02
 7+ * License: GPLv3
 8+ */
 9+
 10+// copy the rules from hi_inscript.
 11+hne_inscript_scheme = $.narayam.getScheme( 'hi-inscript' );
 12+hne_inscript_scheme.namemsg = 'narayam-hne-inscript';
 13+jQuery.narayam.addScheme( 'hne-inscript', hne_inscript_scheme );
 14+
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.hne-inscript.js
___________________________________________________________________
Added: svn:eol-style
115 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta.js
@@ -0,0 +1,118 @@
 2+/**
 3+ * Transliteration regular expression rules table for Tamil
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-11-21
 6+ * License: GPLv3
 7+ */
 8+
 9+// Normal rules
 10+var rules = [
 11+['ச்h','h','ச்ஹ்',],
 12+['ழ்h','h','ழ்ஹ்',],
 13+
 14+ //'(ஸ்ரிi|ஸ்ர்I)', '','',
 15+
 16+['([க-ஹ])்a', '','$1'],
 17+['([க-ஹ])(்A|a)', '','$1ா'],
 18+['([க-ஹ])்i', '','$1ி'],
 19+['([க-ஹ])(்I|ிi)', '','$1ீ'],
 20+['([க-ஹ])்u', '','$1ு'],
 21+['([க-ஹ])(்U|ுu)', '','$1ூ'],
 22+['([க-ஹ])்e', '','$1ெ'],
 23+['([க-ஹ])(்E|ெe)', '','$1ே'],
 24+['([க-ஹ])i', '','$1ை'],
 25+['([க-ஹ])்o', '','$1ொ'],
 26+['([க-ஹ])(்O|ொo)', '','$1ோ'],
 27+['([க-ஹ])u', '','$1ௌ'],
 28+
 29+['([அ-ஹ][ெ-்]?)n', '','$1ன்'],
 30+
 31+['அa', '','ஆ'],
 32+['இi', '','ஈ'],
 33+['உu', '','ஊ'],
 34+['எe', '','ஏ'],
 35+['அi', '','ஐ'],
 36+['ஒo', '','ஓ'],
 37+['அu', '','ஔ'],
 38+
 39+['(ந்|ன்)g', '','ங்'],
 40+['(ந்|ன்)j', '','ஞ்'],
 41+['ச்h', '','ஷ்'],
 42+['ழ்h', '','ழ்'],
 43+['ட்h', '','த்'],
 44+['ஸ்h', '','ஷ்'],
 45+['ஸ்r', '','ஸ்ரீ'],
 46+
 47+['a', '','அ'],
 48+['b', '','ப்'],
 49+['c', '','ச்'],
 50+['d', '','ட்'],
 51+['e', '','எ'],
 52+['f','','ஃப்'],
 53+['g', '','க்'],
 54+['h', '','ஹ்'],
 55+['i', '','இ'],
 56+['j', '','ஜ்'],
 57+['k', '','க்'],
 58+['l', '','ல்'],
 59+['m', '','ம்'],
 60+['n', '','ன்'],
 61+['o', '','ஒ'],
 62+['p', '','ப்'],
 63+['q', '','ஃ'],
 64+['r', '','ர்'],
 65+['s', '','ச்'],
 66+['t', '','ட்'],
 67+['u', '','உ'],
 68+['v', '','வ்'],
 69+['w', '','ந்'],
 70+['y', '','ய்'],
 71+['z', '','ழ்'],
 72+['A', '','ஆ'],
 73+['B', '','ப்'],
 74+['C', '','க்க்'],
 75+['E', '','ஏ'],
 76+['F','','ஃப்'],
 77+['G', '','க்'],
 78+['H', '','ஃ'],
 79+['I', '','ஈ'],
 80+['J', '','ஜ்ஜ்'],
 81+['K', '','க்'],
 82+['L', '','ள்'],
 83+['M', '','ம்ம்'],
 84+['N', '','ண்'],
 85+['O', '','ஓ'],
 86+['P', '','ப்ப்'],
 87+['Q', '','ஃ'],
 88+['R', '','ற்'],
 89+['S', '','ஸ்'],
 90+['T', '','ட்'],
 91+['U', '','ஊ'],
 92+['(V|W)', '','வ்வ்'],
 93+['Y', '','ய்ய்'],
 94+['Z', '','ஶ்'],
 95+
 96+['~', '','்'],
 97+
 98+['\\\\0', '','\u0be6'],
 99+['\\\\1', '','௧'],
 100+['\\\\2', '','௨'],
 101+['\\\\3', '','௩'],
 102+['\\\\4', '','௪'],
 103+['\\\\5', '','௫'],
 104+['\\\\6', '','௬'],
 105+['\\\\7', '','௭'],
 106+['\\\\8', '','௮'],
 107+['\\\\9', '','௯'],
 108+['10\\\\', '','\u0BF0'],
 109+['100\\\\', '','\u0BF1'],
 110+['1000\\\\', '','\u0BF2']
 111+];
 112+
 113+jQuery.narayam.addScheme( 'ta', {
 114+ 'namemsg': 'narayam-ta',
 115+ 'extended_keyboard': false,
 116+ 'lookbackLength': 4,
 117+ 'keyBufferLength': 1,
 118+ 'rules': rules
 119+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta.js
___________________________________________________________________
Added: svn:eol-style
1120 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ber-tfng.js
@@ -0,0 +1,51 @@
 2+/**
 3+ * Transliteration regular expression rules table for Tifinagh script
 4+ * Based on Moroccan keyboards: http://www.ircam.ma/fr/index.php?soc=telec&rd=2
 5+ * @date 2011-11-22
 6+ */
 7+
 8+var rules = [
 9+['a', '', 'ⴰ'],
 10+['b', '', 'ⴱ'],
 11+['c', '', 'ⵛ'],
 12+['d', '', 'ⴷ'],
 13+['D', '', 'ⴹ'],
 14+['e', '', 'ⴻ'],
 15+['f', '', 'ⴼ'],
 16+['F', '', 'ⴼⵯ'],
 17+['g', '', 'ⴳ'],
 18+['G', '', 'ⴳⵯ'],
 19+['h', '', 'ⵀ'],
 20+['i', '', 'ⵉ'],
 21+['j', '', 'ⵊ'],
 22+['k', '', 'ⴽ'],
 23+['K', '', 'ⴽⵯ'],
 24+['l', '', 'ⵍ'],
 25+['m', '', 'ⵎ'],
 26+['n', '', 'ⵏ'],
 27+['o', '', 'ⵄ'],
 28+['p', '', 'ⵃ'],
 29+['q', '', 'ⵇ'],
 30+['Q', '', 'ⵈ'],
 31+['r', '', 'ⵔ'],
 32+['R', '', 'ⵕ'],
 33+['s', '', 'ⵙ'],
 34+['S', '', 'ⵚ'],
 35+['t', '', 'ⵜ'],
 36+['T', '', 'ⵟ'],
 37+['v', '', 'ⵖ'],
 38+['u', '', 'ⵓ'],
 39+['w', '', 'ⵡ'],
 40+['y', '', 'ⵢ'],
 41+['x', '', 'ⵅ'],
 42+['z', '', 'ⵣ'],
 43+['Z', '', 'ⵥ'],
 44+];
 45+
 46+jQuery.narayam.addScheme( 'ber-tfng', {
 47+ 'namemsg': 'narayam-ber-tfng',
 48+ 'extended_keyboard': false,
 49+ 'lookbackLength': 0,
 50+ 'keyBufferLength': 0,
 51+ 'rules': rules
 52+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ber-tfng.js
___________________________________________________________________
Added: svn:eol-style
153 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.pa-phonetic.js
@@ -0,0 +1,99 @@
 2+/**
 3+ * Phonetic keyboard regular expression rules table for Punjabi
 4+ * @date 2011-11-19
 5+ * Based on http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts
 6+ */
 7+
 8+ // Normal rules
 9+var rules = [
 10+['!', '','੧'],
 11+['1', '','1'],
 12+['@', '','੨'],
 13+['2', '','2'],
 14+['#', '','੩'],
 15+['3', '','3'],
 16+['\\$', '','੪'],
 17+['4', '','4'],
 18+['5', '','5'],
 19+['6', '','6'],
 20+['7', '','7'],
 21+['8', '','8'],
 22+['\\)', '','੯'],
 23+['9', '','9'],
 24+['\\),', '','੦'],
 25+['0', '','0'],
 26+['Q', '','ਥ'],
 27+['q', '','ਤ'],
 28+['w', '','ਾ'],
 29+['E', '','ਓ'],
 30+['e', '','ੲ'],
 31+['r', '','ਰ'],
 32+['T', '','ਠ'],
 33+['t', '','ਟ'],
 34+['Y', '','ੈ'],
 35+['y', '','ੇ'],
 36+['U', '','ੂ'],
 37+['u', '','ੁ'],
 38+['I', '','ੀ'],
 39+['i', '','ਿ'],
 40+['O', '','ੌ'],
 41+['o', '','ੋ'],
 42+['P', '','ਫ'],
 43+['p', '','ਪ'],
 44+['\\{', '','('],
 45+['\\}', '',')'],
 46+['A', '','ਅ'],
 47+['a', '','ੳ'],
 48+['S', '','ਸ਼'],
 49+['s', '','ਸ'],
 50+['D', '','ਧ'],
 51+['d', '','ਦ'],
 52+['F', '','ਢ'],
 53+['f', '','ਡ'],
 54+['G', '','ਘ'],
 55+['g', '','ਗ'],
 56+['h', '','ਹ'],
 57+['J', '','ਝ'],
 58+['j', '','ਜ'],
 59+['K', '','ਖ'],
 60+['k', '','ਕ'],
 61+['L', '','ਲ਼'],
 62+['l', '','ਲ'],
 63+['\\', '','ਙ'],
 64+['\\~', '','?ੱ'],
 65+['\\`', '','?੍ '],
 66+['Z', '','ਗ਼'],
 67+['z', '','ਜ਼'],
 68+['X', '','ਯ'],
 69+['x', '','ਣ'],
 70+['C', '','ਛ'],
 71+['c', '','ਚ'],
 72+['V', '','ੜ'],
 73+['v', '','ਵ'],
 74+['B', '','ਭ'],
 75+['b', '','ਬ'],
 76+['N', '','ਂ'],
 77+['n', '','ਨ'],
 78+['M', '','ੰ'],
 79+['m', '','ਮ'],
 80+['\\<', '','ਖ਼'],
 81+['\\>', '','ੴ'],
 82+['\\.', '','?਼'],
 83+['\\?', '','?'],
 84+['\\/', '','ਞ'],
 85+['%', '','੫'],
 86+['\\^', '','੬'],
 87+['&', '','੭'],
 88+['\\*', '','੮'],
 89+['R', '','੍ਰ'],
 90+['H', '','੍ਹ'],
 91+['W', '','ਾਂ']
 92+];
 93+
 94+jQuery.narayam.addScheme( 'pa-phonetic', {
 95+ 'namemsg': 'narayam-pa-phonetic',
 96+ 'extended_keyboard': false,
 97+ 'lookbackLength': 0,
 98+ 'keyBufferLength': 0,
 99+ 'rules': rules
 100+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.pa-phonetic.js
___________________________________________________________________
Added: svn:eol-style
1101 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-nkb.js
@@ -0,0 +1,138 @@
 2+/**
 3+ * Regular expression rules table for Bengali National Keyboard
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-12-13
 6+ * @credits From the standard developed by Bangladesh Computer Council,
 7+ * Ministry of Science and Information & Communication Technology, Govt. of Bangladesh
 8+ * License: GPLv3
 9+ */
 10+
 11+// Normal rules
 12+var rules = [
 13+['1', '', '১'],
 14+['2', '', '২'],
 15+['3', '', '৩'],
 16+['4', '', '৪'],
 17+['5', '', '৫'],
 18+['6', '', '৬'],
 19+['7', '', '৭'],
 20+['8', '', '৮'],
 21+['9', '', '৯'],
 22+['0', '', '০'],
 23+
 24+['q', '', 'ঙ'],
 25+['w', '', 'য'],
 26+['e', '', 'ড'],
 27+['r', '', 'প'],
 28+['t', '', 'ট'],
 29+['y', '', 'চ'],
 30+['u', '', 'জ'],
 31+['i', '', 'হ'],
 32+['o', '', 'গ'],
 33+['p', '', 'ড়'],
 34+
 35+['a', '', 'ৃ'],
 36+['s', '', 'ু'],
 37+['d', '', 'ি'],
 38+['f', '', 'ব'],
 39+['g', '', '্'],
 40+['h', '', 'া'],
 41+['j', '', 'ক'],
 42+['k', '', 'ত'],
 43+['l', '', 'দ'],
 44+
 45+['z', '', 'ঁ'],
 46+['x', '', 'ো'],
 47+['c', '', 'ে'],
 48+['v', '', 'র'],
 49+['b', '', 'ন'],
 50+['n', '', 'স'],
 51+['m', '', 'ম'],
 52+
 53+['Q', '', 'ং'],
 54+['W', '', 'য়'],
 55+['E', '', 'ঢ'],
 56+['R', '', 'ফ'],
 57+['T', '', 'ঠ'],
 58+['Y', '', 'ছ'],
 59+['U', '', 'ঝ'],
 60+['I', '', 'ঞ'],
 61+['O', '', 'ঘ'],
 62+['P', '', 'ঢ়'],
 63+
 64+['A', '', 'ৗ'],
 65+['S', '', 'ূ'],
 66+['D', '', 'ী'],
 67+['F', '', 'ভ'],
 68+['G', '', '।'],
 69+['H', '', 'অ'],
 70+['J', '', 'খ'],
 71+['K', '', 'থ'],
 72+['L', '', 'ধ'],
 73+
 74+['Z', '', 'ঃ'],
 75+['X', '', 'ৌ'],
 76+['C', '', 'ৈ'],
 77+['V', '', 'ল'],
 78+['B', '', 'ণ'],
 79+['N', '', 'ষ'],
 80+['M', '', 'শ']
 81+];
 82+
 83+// Extended layout for National Keyboard. Works in Firefox only
 84+var rules_x = [
 85+['1', '', '৴'],
 86+['2', '', '৵'],
 87+['3', '', '৶'],
 88+['4', '', '৳'],
 89+['5', '', '৷'],
 90+['6', '', '৸'],
 91+['7', '', 'ं'],
 92+['0', '', '৹'],
 93+['\\-', '', '\u200C'],
 94+['\\=', '', '\u200D'],
 95+
 96+['q', '', 'ৢ'],
 97+['w', '', '্য'],
 98+['e', '', 'ৄ'],
 99+['i', '', 'ঽ'],
 100+
 101+['a', '', 'ঋ'],
 102+['s', '', 'উ'],
 103+['d', '', 'ই'],
 104+['f', '', 'ৰ'],
 105+['g', '', '॥'],
 106+['h', '', 'আ'],
 107+['j', '', '঱'],
 108+['k', '', 'ঢ'],
 109+['l', '', 'ঌ'],
 110+
 111+['z', '', '৺'],
 112+['x', '', 'ও'],
 113+['c', '', 'এ'],
 114+['v', '', '্র'],
 115+['\\.', '', '়'],
 116+
 117+['\\$', '', '৲'],
 118+['\\^', '', '঳'],
 119+
 120+['Q', '', 'ৣ'],
 121+
 122+['A', '', 'ৠ'],
 123+['S', '', 'ঊ'],
 124+['D', '', 'ঈ'],
 125+['F', '', 'ৱ'],
 126+['L', '', 'ৡ'],
 127+
 128+['X', '', 'ঔ'],
 129+['C', '', 'ঐ']
 130+];
 131+
 132+jQuery.narayam.addScheme( 'bn-nkb', {
 133+ 'namemsg': 'narayam-bn-nkb',
 134+ 'extended_keyboard': true,
 135+ 'lookbackLength': 0,
 136+ 'keyBufferLength': 0,
 137+ 'rules': rules,
 138+ 'rules_x': rules_x
 139+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-nkb.js
___________________________________________________________________
Added: svn:eol-style
1140 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/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
 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.18wmf1/extensions/Narayam/resources/ext.narayam.rules.as-avro.js
___________________________________________________________________
Added: svn:eol-style
1170 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.js
@@ -0,0 +1,7 @@
 2+/**
 3+ * Narayam startup script
 4+ */
 5+jQuery( function( $ ) {
 6+ $.narayam.addInputs( 'input:text, input[type=search], textarea' );
 7+ $.narayam.setup();
 8+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.js
___________________________________________________________________
Added: svn:eol-style
19 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/narayam-active.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/narayam-active.png
___________________________________________________________________
Added: svn:mime-type
210 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/open.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/open.png
___________________________________________________________________
Added: svn:mime-type
311 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/closed-ltr.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/closed-ltr.png
___________________________________________________________________
Added: svn:mime-type
412 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/closed-rtl.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/closed-rtl.png
___________________________________________________________________
Added: svn:mime-type
513 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/help.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/help.png
___________________________________________________________________
Added: svn:mime-type
614 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/narayam-inactive.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/images/narayam-inactive.png
___________________________________________________________________
Added: svn:mime-type
715 + image/png
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core.css
@@ -0,0 +1,132 @@
 2+.narayam-input {
 3+ /* FIXME: needed to add !important because WikiEditor overrides border for #wpTextbox1
 4+ * and SimpleSearch overrides background-color for the search box. Talk to Trevor
 5+ * about styling this nicely
 6+ */
 7+ background-color: #EAF3F8 !important;
 8+}
 9+
 10+li#pt-narayam {
 11+ padding-left: 15px !important;
 12+}
 13+
 14+/* Variants and Actions */
 15+/* @noflip */
 16+div#narayam-menu {
 17+ direction: ltr;
 18+ float: left;
 19+}
 20+
 21+/* @noflip */
 22+body.rtl div#narayam-menu {
 23+ direction: rtl;
 24+}
 25+div#narayam-menu div.menu-items {
 26+ position: absolute;
 27+ display: block;
 28+ clear: both;
 29+ text-align: left;
 30+ z-index: 99999;
 31+ width: 200px;
 32+ top: 20px;
 33+ font-size: 0.8em;
 34+}
 35+
 36+div#narayam-menu-items li {
 37+ margin: 0;
 38+ padding: 5px;
 39+ font-size: 100%;
 40+ float: none;
 41+ z-index: 99999;
 42+
 43+}
 44+ul#imelist{
 45+ padding: 5px;
 46+}
 47+/* OVERRIDDEN BY COMPLIANT BROWSERS */
 48+/* @noflip */
 49+body.rtl div#narayam-menu div.menu-items {
 50+ margin-left: 24px;
 51+}
 52+/* IGNORED BY IE6 */
 53+/* @noflip */
 54+body.rtl div#narayam-menu > div.menu-items {
 55+ margin-left: auto;
 56+}
 57+/* IGNORED BY IE6 */
 58+/* Also fixes old versions of FireFox */
 59+/* @noflip */
 60+body.rtl div#narayam-menu > div.menu-items,
 61+x:-moz-any-link {
 62+ margin-left: 23px;
 63+}
 64+
 65+div#narayam-menu ul {
 66+ position: absolute;
 67+ background-color: white;
 68+ border: solid 1px silver;
 69+ -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
 70+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
 71+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
 72+ border-top-width: 0;
 73+ list-style: none;
 74+ list-style-image: none;
 75+ list-style-type: none;
 76+ padding: 10px; /* Space for scrollbars etc. */
 77+ margin: 0;
 78+ margin-left: -1px;
 79+ text-align: left;
 80+ max-height: 360px;
 81+ overflow-y: auto;
 82+ width: 100%;
 83+}
 84+
 85+div#narayam-menu li {
 86+ margin: 0;
 87+ text-align: left;
 88+ line-height: 1em;
 89+}
 90+
 91+div#narayam-menu li.selected a,
 92+div#narayam-menu li.selected a:visited {
 93+ color: #333333;
 94+ text-decoration: none;
 95+}
 96+div#narayam-menu a {
 97+ display: block;
 98+ padding-left: 5px;
 99+ padding-right: 5px;
 100+}
 101+
 102+div#narayam-menu-items li.narayam-help-link a {
 103+ /* @embed */
 104+ background: url('images/help.png') no-repeat scroll left center transparent;
 105+ padding-left: 15px;
 106+}
 107+
 108+li#pt-narayam.narayam-active {
 109+ /* @embed */
 110+ background: url('images/narayam-active.png') no-repeat scroll left top transparent;
 111+}
 112+
 113+li#pt-narayam.narayam-inactive {
 114+ /* @embed */
 115+ background: url('images/narayam-inactive.png') no-repeat scroll left top transparent;
 116+}
 117+
 118+li.narayam-more-imes-link {
 119+ /* @embed */
 120+ background: url('images/closed-ltr.png') no-repeat scroll left center transparent;
 121+}
 122+
 123+li.narayam-more-imes-link.open {
 124+ /* @embed */
 125+ background: url('images/open.png') no-repeat scroll left center transparent;
 126+}
 127+li.narayam-more-imes-link a {
 128+ padding-left: 10px;
 129+}
 130+
 131+div#narayam-menu label:hover, input:hover {
 132+ cursor: pointer;
 133+}
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core.css
___________________________________________________________________
Added: svn:eol-style
1134 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gu.js
@@ -0,0 +1,170 @@
 2+/**
 3+ * Transliteration regular expression rules table for Gujarati
 4+ * @author Jaldeep R Vasavada ([[User:JaldeepVasavada]])
 5+ * @author Amir E. Aharoni ([[User:Amire80]])
 6+ * @date 2011-11-19
 7+ * License: GPLv3, CC-BY-SA 3.0
 8+ */
 9+
 10+// Normal rules
 11+var rules = [
 12+['ક્h', 'c', 'ચ'],
 13+['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
 14+
 15+['([ક-હ]઼?)્a', '', '$1'],
 16+['([ક-હ]઼?)્A', '', '$1ા'],
 17+['([ક-હ]઼?)a', '', '$1ા'],
 18+['([ક-હ]઼?)્i', '', '$1િ'],
 19+['([ક-હ]઼?)(્I|િi|ેe)', '', '$1ી'],
 20+['([ક-હ]઼?)્u', '', '$1ુ'],
 21+['([ક-હ]઼?)(ુu|્U|ોo)', '', '$1ૂ'],
 22+['([ક-હ]઼?)્R', '', '$1ૃ'],
 23+['([ક-હ]઼?)ૃR', '', '$1ૄ'],
 24+// ['([ક-હ]઼?)્ળl', '', '$1ॢ'],
 25+// ['([ક-હ]઼?)ॢl', '', '$1ॣ'],
 26+['([ક-હ]઼?)ે\\^', '', '$1ૅ'],
 27+['([ક-હ]઼?)્e', '', '$1ે'],
 28+['([ક-હ]઼?)્E', '', '$1ૅ'],
 29+['([ક-હ]઼?)ો\\^', '', '$1ૉ'],
 30+['([ક-હ]઼?)i', '', '$1ૈ'],
 31+['([ક-હ]઼?)્o', '', '$1ો'],
 32+['([ક-હ]઼?)્O', '', '$1ો'],
 33+['([ક-હ]઼?)u', '', '$1ૌ'],
 34+
 35+['([ક-હ]઼?)ૃa', '', '$1્ર'],
 36+['([ક-હ]઼?)ૃA', '', '$1્રા'],
 37+['([ક-હ]઼?)ૃi', '', '$1્રિ'],
 38+['([ક-હ]઼?)ૃI', '', '$1્રી'],
 39+['([ક-હ]઼?)ૃu', '', '$1્રુ'],
 40+['([ક-હ]઼?)ૃU', '', '$1્રૂ'],
 41+['([ક-હ]઼?)ૃ\\^', '', '$1્રૅ'],
 42+['([ક-હ]઼?)ૃe', '', '$1્રે'],
 43+['([ક-હ]઼?)ૃE', '', '$1્રૅ'],
 44+['([ક-હ]઼?)ૃo', '', '$1્રો'],
 45+['([ક-હ]઼?)ૃO', '', '$1્રો'],
 46+['([ક-હ]઼?)ૃ\\~', '', '$1્ર્'],
 47+
 48+['([ક-હ])્\\`', '', '$1઼્'],
 49+
 50+['અa', '', 'આ'],
 51+['(ઑo|ઉu)', '', 'ઊ'],
 52+['ઍ\\^', '', 'એ'],
 53+['અi', '', 'એ'],
 54+['અ\\^', '', 'ઍ'],
 55+['(ઇi|ઍe)', '', 'ઈ'],
 56+['ઑ\\^', '', 'ઓ'],
 57+['અu', '', 'ઔ'],
 58+['ઋR', '', 'ૠ'],
 59+['ળ્l', '', 'ઌ'],
 60+['ઌl', '', 'ૡ'], //problem
 61+['ં\\^', '', 'ઁ'],
 62+['ંm', '', 'ઁ'],
 63+['ઓM', '', 'ૐ'],
 64+
 65+['રY', '', 'ર્ય'],
 66+
 67+['ક્h', '', 'ખ્'],//kh
 68+['ગ્h', '', 'ઘ્'],
 69+['ન્g', '', 'ઙ્'],
 70+['ચ્h', '', 'છ્'],
 71+['જ્h', '', 'ઝ્'],
 72+['ન્j', '', 'ઞ્'],
 73+['ટ્h', '', 'ઠ્'],
 74+['ડ્h', '', 'ઢ્'],
 75+['ત્h', '', 'થ્'],
 76+['દ્h', '', 'ધ્'],
 77+['પ્h', '', 'ફ્'],
 78+['બ્h', '', 'ભ્'],
 79+
 80+['ઋa', '', 'ર'],
 81+['ઋA', '', 'રા'],
 82+['ઋi', '', 'રિ'],
 83+['ઋI', '', 'રી'],
 84+['ઋu', '', 'રુ'],
 85+['ઋU', '', 'રૂ'],
 86+['ઋ\\^', '', 'રૅ'],
 87+['ઋe', '', 'રે'],
 88+['ઋE', '', 'રૅ'],
 89+['ઋo', '', 'રો'],
 90+['ઋO', '', 'રો'],
 91+['ઋ\\~', '', 'ર્'],
 92+
 93+['સ્h', '', 'શ્'],
 94+['ક઼્h', '', 'ખ'],
 95+// ['જ્h', '', 'ऴ્'],
 96+// ['।\\.', '', '॥'],
 97+
 98+['a', '', 'અ'],
 99+['b', '', 'બ્'],
 100+['c', '', 'ચ્'],
 101+['d', '', 'દ્'],
 102+['e', '', 'ઍ'],
 103+['f', '', 'ફ્'],
 104+['g', '', 'ગ્'],
 105+['h', '', 'હ્'],
 106+['i', '', 'ઇ'],
 107+['j', '', 'જ્'],
 108+['k', '', 'ક્'],
 109+['l', '', 'લ્'],
 110+['m', '', 'મ્'],
 111+['n', '', 'ન્'],
 112+['o', '', 'ઑ'],
 113+['p', '', 'પ્'],
 114+//['q', '', 'ક઼્'], // XXX?
 115+['r', '', 'ર્'],
 116+['s', '', 'સ્'],
 117+['t', '', 'ત્'],
 118+['u', '', 'ઉ'],
 119+['(v|w)', '', 'વ્'],
 120+['x', '', 'ક્ષ'],
 121+['y', '', 'ય્'],
 122+['(z|Z)', '', 'જ'],
 123+['A', '', 'આ'],
 124+//['B', '', 'બ્'], //double
 125+//['C', '', 'ક્ક્'],
 126+['D', '', 'ડ્'],
 127+['E', '', 'એ'],
 128+['F', '', 'ફ્'],
 129+['G', '', 'ગ'],//double
 130+['H', '', 'ઃ'],
 131+['I', '', 'ઈ'],
 132+['J', '', 'જ'],//double
 133+// ['K', '', 'ક્ક્'],
 134+['L', '', 'ળ્'],
 135+['M', '', 'ં'],
 136+['N', '', 'ણ્'],
 137+['O', '', 'ઓ'],
 138+['P', '', 'પ'],//double
 139+//'Q', '', 'અ'],
 140+['R', '', 'ઋ'],
 141+['S', '', 'ષ્'],
 142+['T', '', 'ટ્'],
 143+['U', '', 'ઊ'],
 144+['(V|W)', '', 'વ'],//double
 145+['X', '', 'ક્ષ'],
 146+['Y', '', 'ય'],//double
 147+//'z', '', 'અ'
 148+['0', '', '૦'],
 149+['1', '', '૧'],
 150+['2', '', '૨'],
 151+['3', '', '૩'],
 152+['4', '', '૪'],
 153+['5', '', '૫'],
 154+['6', '', '૬'],
 155+['7', '', '૭'],
 156+['8', '', '૮'],
 157+['9', '', '૯'],
 158+['~', '', '્'],
 159+// ['\\.', '', '।'],
 160+['//', '', 'ઽ'],
 161+['\\`', '', '઼'],
 162+['(\u200C)*_', '', '\u200c']
 163+];
 164+
 165+jQuery.narayam.addScheme( 'gu', {
 166+ 'namemsg': 'narayam-gu',
 167+ 'extended_keyboard': false,
 168+ 'lookbackLength': 4,
 169+ 'keyBufferLength': 2,
 170+ 'rules': rules
 171+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gu.js
___________________________________________________________________
Added: svn:eol-style
1172 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ru-standard.js
@@ -0,0 +1,97 @@
 2+/**
 3+ * Transliteration rules table for standard Russian keyboard
 4+ * @author Amir (Алексей) Aharoni ([[User:Amire80]])
 5+ * @date 2011-11-21
 6+ * License: GPLv3, CC-BY-SA 3.0
 7+ */
 8+
 9+ // Normal rules
 10+var rules = [
 11+['Q', '', 'Й'],
 12+['W', '', 'Ц'],
 13+['E', '', 'У'],
 14+['R', '', 'К'],
 15+['T', '', 'Е'],
 16+['Y', '', 'Н'],
 17+['U', '', 'Г'],
 18+['I', '', 'Ш'],
 19+['O', '', 'Щ'],
 20+['P', '', 'З'],
 21+['{', '', 'Х'],
 22+['}', '', 'Ъ'],
 23+['A', '', 'Ф'],
 24+['S', '', 'Ы'],
 25+['D', '', 'В'],
 26+['F', '', 'А'],
 27+['G', '', 'П'],
 28+['H', '', 'Р'],
 29+['J', '', 'О'],
 30+['K', '', 'Л'],
 31+['L', '', 'Д'],
 32+[':', '', 'Ж'],
 33+['"', '', 'Э'],
 34+['Z', '', 'Я'],
 35+['X', '', 'Ч'],
 36+['C', '', 'С'],
 37+['V', '', 'М'],
 38+['B', '', 'И'],
 39+['N', '', 'Т'],
 40+['M', '', 'Ь'],
 41+['<', '', 'Б'],
 42+['>', '', 'Ю'],
 43+['\\?', '', ','],
 44+
 45+['q', '', 'й'],
 46+['w', '', 'ц'],
 47+['e', '', 'у'],
 48+['r', '', 'к'],
 49+['t', '', 'е'],
 50+['y', '', 'н'],
 51+['u', '', 'г'],
 52+['i', '', 'ш'],
 53+['o', '', 'щ'],
 54+['p', '', 'з'],
 55+['\\[', '', 'х'],
 56+['\\]', '', 'ъ'],
 57+['a', '', 'ф'],
 58+['s', '', 'ы'],
 59+['d', '', 'в'],
 60+['f', '', 'а'],
 61+['g', '', 'п'],
 62+['h', '', 'р'],
 63+['j', '', 'о'],
 64+['k', '', 'л'],
 65+['l', '', 'д'],
 66+[';', '', 'ж'],
 67+['\'', '', 'э'],
 68+['z', '', 'я'],
 69+['x', '', 'ч'],
 70+['c', '', 'с'],
 71+['v', '', 'м'],
 72+['b', '', 'и'],
 73+['n', '', 'т'],
 74+['m', '', 'ь'],
 75+[',', '', 'б'],
 76+['\\.', '', 'ю'],
 77+['/', '', '.'],
 78+
 79+['`', '', 'ё'],
 80+['~', '', 'Ё'],
 81+
 82+// ! is the same // 1
 83+['@', '', '"'], // 2
 84+['#', '', '№'], // 3
 85+['\\$', '', ';'], // 4
 86+// '%' is the same // 5
 87+['^', '', ':'], // 6
 88+['&', '', '?'], // 7
 89+// '*', '(' and ')' are the same // 8, 9, 0
 90+];
 91+
 92+jQuery.narayam.addScheme( 'ru-standard', {
 93+ 'namemsg': 'narayam-ru-standard',
 94+ 'extended_keyboard': false,
 95+ 'lookbackLength': 0,
 96+ 'keyBufferLength': 0,
 97+ 'rules': rules
 98+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ru-standard.js
___________________________________________________________________
Added: svn:eol-style
199 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.brx-inscript.js
@@ -0,0 +1,115 @@
 2+/**
 3+ * InScript regular expression rules table for Devanagari script for Bodo
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-11-20
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['X', '', '\u0901'],
 13+['x', '', '\u0902'],
 14+['_', '', '\u0903'],
 15+['D', '', '\u0905'],
 16+['E', '', '\u0906'],
 17+['F', '', '\u0907'],
 18+['R', '', '\u0908'],
 19+['G', '', '\u0909'],
 20+['T', '', '\u090A'],
 21+['\\+', '', '\u090B'],
 22+['S', '', '\u090F'],
 23+['W', '', '\u0910'],
 24+['A', '', '\u0913'],
 25+['Q', '', '\u0914'],
 26+['k', '', '\u0915'],
 27+['K', '', '\u0916'],
 28+['i', '', '\u0917'],
 29+['I', '', '\u0918'],
 30+['U', '', '\u0919'],
 31+[';', '', '\u091A'],
 32+['\\:', '', '\u091B'],
 33+['p', '', '\u091C'],
 34+['P', '', '\u091D'],
 35+['\\}', '', '\u091E'],
 36+["'", '', '\u091F'],
 37+['"', '', '\u0920'],
 38+['\\[', '', '\u0921'],
 39+['\\{', '', '\u0922'],
 40+['C', '', '\u0923'],
 41+['l', '', '\u0924'],
 42+['L', '', '\u0925'],
 43+['o', '', '\u0926'],
 44+['O', '', '\u0927'],
 45+['v', '', '\u0928'],
 46+['h', '', '\u092A'],
 47+['H', '', '\u092B'],
 48+['y', '', '\u092C'],
 49+['Y', '', '\u092D'],
 50+['c', '', '\u092E'],
 51+['/', '', '\u092F'],
 52+['j', '', '\u0930'],
 53+['n', '', '\u0932'],
 54+['b', '', '\u0935'],
 55+['M', '', '\u0936'],
 56+['\\<', '', '\u0937'],
 57+['m', '', '\u0938'],
 58+['u', '', '\u0939'],
 59+['\\]', '', '\u093C'],
 60+['e', '', '\u093E'],
 61+['f', '', '\u093F'],
 62+['r', '', '\u0940'],
 63+['g', '', '\u0941'],
 64+['t', '', '\u0942'],
 65+['\\=', '', '\u0943'],
 66+['s', '', '\u0947'],
 67+['w', '', '\u0948'],
 68+['a', '', '\u094B'],
 69+['q', '', '\u094C'],
 70+['d', '', '\u094D'],
 71+['\\>', '', '\u0964'],
 72+['0', '', '\u0966'],
 73+['1', '', '\u0967'],
 74+['2', '', '\u0968'],
 75+['3', '', '\u0969'],
 76+['4', '', '\u096A'],
 77+['5', '', '\u096B'],
 78+['6', '', '\u096C'],
 79+['7', '', '\u096D'],
 80+['8', '', '\u096E'],
 81+['9', '', '\u096F'],
 82+['\\#', '', '\u094D\u0930'],
 83+['\\$', '', '\u0930\u094D'],
 84+['\\%', '', '\u091C\u094D\u091E'],
 85+['\\^', '', '\u0924\u094D\u0930'],
 86+['\\&', '', '\u0915\u094D\u0937'],
 87+['\\*', '', '\u0936\u094D\u0930'],
 88+['\\(', '', '\u200D'],
 89+['\\)', '', '\u200C']
 90+];
 91+
 92+var rules_x = [
 93+['F', '', '\u090C'],
 94+['N', '', '\u0933'],
 95+['\\>', '', '\u093D'],
 96+['\\=', '', '\u0944'],
 97+['X', '', '\u0950'],
 98+['e', '', '\u0951'],
 99+['d', '', '\u0952'],
 100+['\\+', '', '\u0960'],
 101+['R', '', '\u0961'],
 102+['f', '', '\u0962'],
 103+['r', '', '\u0963'],
 104+['\\.', '', '\u0965'],
 105+[',', '', '\u0970'],
 106+['\\$', '', '\u20B9']
 107+];
 108+
 109+jQuery.narayam.addScheme( 'brx-inscript', {
 110+ 'namemsg': 'narayam-brx-inscript',
 111+ 'extended_keyboard': true,
 112+ 'lookbackLength': 0,
 113+ 'keyBufferLength': 0,
 114+ 'rules': rules,
 115+ 'rules_x': rules_x
 116+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.brx-inscript.js
___________________________________________________________________
Added: svn:eol-style
1117 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or-lekhani.js
@@ -0,0 +1,155 @@
 2+/**
 3+ * Lekhani regular expression rules table for Oriya
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2011-11-20
 6+ * @credit With help from Subhashish Panigrahi
 7+ * License: GPLv3
 8+ */
 9+// Normal rules
 10+var rules = [
 11+['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'],
 12+
 13+['([କ-ହୟୱ])a', '','$1ା'],
 14+['([କ-ହୟୱ])i', '','$1\u0b3f'],
 15+['([କ-ହୟୱ])I', '','$1ୀ'],
 16+['([କ-ହୟୱ])u', '','$1\u0b41'],
 17+['([କ-ହୟୱ])(U|\u0b41u)', '','$1\u0b42'],
 18+['([କ-ହୟୱ])R', '','$1\u0b43'],
 19+['([କ-ହୟୱ])\u0b43R', '','$1\u0b44'],
 20+['([କ-ହୟୱ])୍ଳ୍l', '','$1ୢ'],
 21+['([କ-ହୟୱ])ୢl', '','$1ୣ'],
 22+['([କ-ହୟୱ])e', '','$1େ'],
 23+['([କ-ହୟୱ])ାi', '','$1ୈ'],
 24+['([କ-ହୟୱ])o', '','$1ୋ'],
 25+['([କ-ହୟୱ])(ାu|ୋu)', '','$1ୌ'],
 26+['([କ-ହୟୱ])E', '','$1\u0B48'],
 27+
 28+['([କ-ହୟୱ])y', '', '$1୍ୟ'], // <consonant>y
 29+
 30+['ଅa', '','ଆ'],
 31+['(ଅi|ଏe)', '','ଐ'],
 32+['(ଅu|ଓo|ଓO)', '','ଔ'],
 33+['ଋR', '','ୠ'], // RR
 34+['ଳl', '','ଌ'], // Ll
 35+['ଌl', '','ୡ'], // Lll
 36+['ଞ୍ଚh', '', 'ଞ୍ଛ'], // nch
 37+['ଞ୍ଜh', '', 'ଞ୍ଝ'], // njh
 38+['ଙ୍କh', '', 'ଙ୍ଖ'], // nkh
 39+['ଙ୍ଗh', '', 'ଙ୍ଘ'], // ngh
 40+['ମ୍ବh', '', 'ମ୍ଭ'], // mbh or nbh
 41+['ଜ୍ଜh', '', 'ଜ୍ଝ'], // jjh
 42+
 43+['ଚ୍ଚh', '', 'ଚ୍ଛ'], // cch
 44+
 45+['ଣG', '', 'ଙ'], // NG
 46+['ଣg', '', 'ଞ'], // Ng
 47+['କh', '','ଖ'], // kh
 48+['ଗh', '','ଘ'], // gh
 49+['ନc', '', 'ଞ୍ଚ'], // nc
 50+['ନg', '', 'ଙ୍ଗ'], // ng
 51+['ଚh', '','ଛ'], // ch
 52+['ଜh', '','ଝ'], // jh
 53+['ନj', '', 'ଞ୍ଜ'], // nj
 54+['ନk', '', 'ଙ୍କ'], // nk
 55+['ଟh', '','ଠ'], // Th
 56+['ଡh', '','ଢ'], // Dh
 57+['ତh', '','ଥ'], // th
 58+['ଦh', '','ଧ'], // dh
 59+['(f|ପh)', '','ଫ'], // ph or f
 60+['ବh', '','ଭ'], // bh
 61+['ସh', '','ଷ'], // sh
 62+['(ମb|ନb)', '', 'ମ୍ବ'], // mb or nb
 63+['ଂM', '', 'ଁ'], // MM
 64+
 65+['କk', '', 'କ୍କ'], // kk
 66+['ଗg', '', 'ଗ୍ଗ'], // gg
 67+['ଚc', '', 'ଚ୍ଚ'], // cc
 68+['ଜj', '', 'ଜ୍ଜ'], // jj
 69+['ଟT', '', 'ଟ୍ଟ'], // TT
 70+['ଡD', '', 'ଡ୍ଡ'], // DD
 71+['ତt', '', 'ତ୍ତ'], // tt
 72+
 73+
 74+['ଆ\\\\', '', '\u0B3E'], // aa sign
 75+['ଇ\\\\', '', '\u0B3F'], // i sign
 76+['ଈ\\\\', '', '\u0B40'],// I sign
 77+['ଉ\\\\', '', '\u0B41'], // u sign
 78+['ଉ\\\\', '', '\u0B42'], // U sign
 79+['ଋ\\\\', '', '\u0B43'], // R sign
 80+['ୠ\\\\', '', '\u0B44'], // RR sign
 81+['ଌ\\\\', '', '\u0B62'], // L sign
 82+['ୡ\\\\', '', '\u0B63'], // LL sign
 83+['ଏ\\\\', '', '\u0B47'], // e sign
 84+['ଐ\\\\', '', '\u0B48'], // ai sign
 85+['ଓ\\\\', '', '\u0B4B'], // o sign
 86+['ଔ\\\\', '', '\u0B4C'], // au sign
 87+
 88+['\u200c?a', '','ଅ'],
 89+['b', '','ବ'],
 90+['c','','ଚ'],
 91+['d', '','ଦ'],
 92+['\u200c?e', '','ଏ'],
 93+['g', '','ଗ'],
 94+['h', '','ହ'],
 95+['\u200c?i', '','ଇ'],
 96+['j', '','ଜ'],
 97+['k', '','କ'],
 98+['l', '','ଲ'],
 99+['m', '','ମ'],
 100+['n', '','ନ'],
 101+['\u200c?o', '','ଓ'],
 102+['p', '','ପ'],
 103+['q', '', 'ଡ଼'],
 104+['r', '','ର'],
 105+['s', '','ସ'],
 106+['t', '','ତ'],
 107+['\u200c?u', '','ଉ'],
 108+['[vwVW]', '', 'ୱ'],
 109+['x', '','କ୍ଷ'],
 110+['[yY]', '', 'ୟ'],
 111+['z', '','\u0B3C'],
 112+['\u200c?A', '','ଆ'],
 113+['B', '','ବ'],
 114+['C', '','ଛ'],
 115+['D', '','ଡ'],
 116+['\u200c?E', '','ଐ'],
 117+['F', '','ଫ'],
 118+['G', '','ଗ'],
 119+['H', '','ଃ'],
 120+['\u200c?I', '','ଈ'],
 121+['J', '','ଯ'],
 122+['K', '','କ୍କ'],
 123+['L', '','ଳ'],
 124+['M', '','ଂ'],
 125+['N', '','ଣ'],
 126+['\u200c?O', '', 'ଔ'],
 127+['P', '','ପ୍ପ'],
 128+['Q', '', 'ଢ଼'],
 129+['R', '','ଋ'],
 130+['S', '','ଶ'],
 131+['T', '','ଟ'],
 132+['\u200c?U', '','ଊ'],
 133+['X', '', 'ଁ'],
 134+['Z', '', 'ଜ୍ଞ'],
 135+['\\~', '','୍'],
 136+['//', '','ଽ'],
 137+['_', '', '\u200c'],
 138+['0', '','୦'],
 139+['1', '','୧'],
 140+['2', '','୨'],
 141+['3', '','୩'],
 142+['4', '','୪'],
 143+['5', '','୫'],
 144+['6', '','୬'],
 145+['7', '','୭'],
 146+['8', '','୮'],
 147+['9', '','୯']
 148+];
 149+
 150+jQuery.narayam.addScheme( 'or-lekhani', {
 151+ 'namemsg': 'narayam-or-lekhani',
 152+ 'extended_keyboard': false,
 153+ 'lookbackLength': 4,
 154+ 'keyBufferLength': 2,
 155+ 'rules': rules
 156+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or-lekhani.js
___________________________________________________________________
Added: svn:eol-style
1157 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/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
 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.18wmf1/extensions/Narayam/resources/ext.narayam.rules.as-inscript.js
___________________________________________________________________
Added: svn:eol-style
1128 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sa-inscript.js
@@ -0,0 +1,116 @@
 2+/**
 3+ * InScript regular expression rules table for Sanskrit script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2010-12-26
 7+ * License: GPLv3
 8+ */
 9+var rules = [
 10+['X', '', 'ँ'],
 11+['x', '', 'ं'],
 12+['_', '', 'ः'],
 13+['D', '', 'अ'],
 14+['E', '', 'आ'],
 15+['F', '', 'इ'],
 16+['R', '', 'ई'],
 17+['G', '', 'उ'],
 18+['T', '', 'ऊ'],
 19+['\\+', '', 'ृ'],
 20+['S', '', 'ए'],
 21+['W', '', 'ऐ'],
 22+['A', '', 'ओ'],
 23+['Q', '', 'औ'],
 24+['k', '', 'क'],
 25+['K', '', 'ख'],
 26+['i', '', 'ग'],
 27+['I', '', 'घ'],
 28+['U', '', 'ङ'],
 29+['\\;', '', 'च'],
 30+['\\:', '', 'छ'],
 31+['p', '', 'ज'],
 32+['P', '', 'झ'],
 33+['\\}', '', 'ञ'],
 34+["'", '', 'ट'],
 35+['"', '', 'ठ'],
 36+['\\[', '','ड'],
 37+['\\{', '','ढ'],
 38+['C', '', 'ण'],
 39+['l', '', 'त'],
 40+['L', '', 'थ'],
 41+['o', '', 'द'],
 42+['O', '', 'ध'],
 43+['v', '', 'न'],
 44+['h', '', 'प'],
 45+['H', '', 'फ'],
 46+['y', '', 'ब'],
 47+['Y', '', 'भ'],
 48+['c', '', 'म'],
 49+['\\?', '','य'],
 50+['j', '', 'र'],
 51+['n', '', 'ल'],
 52+['N', '', 'ळ'],
 53+['b', '', 'व'],
 54+['M', '', 'श'],
 55+['\\<', '','ष'],
 56+['m', '', 'स'],
 57+['u', '', 'ह'],
 58+['\\]', '','़'],
 59+['e', '', 'ा'],
 60+['f', '', 'ि'],
 61+['r', '', 'ी'],
 62+['g', '', 'ु'],
 63+['t', '', 'ू'],
 64+['\\=', '','ृ'],
 65+['\\\\', '', 'ॄ'],
 66+['s', '', 'े'],
 67+['w', '', 'ै'],
 68+['a', '', 'ो'],
 69+['q', '', 'ौ'],
 70+['d', '', '्'],
 71+['\\|', '', 'ॠ'],
 72+['/', '', 'य'],
 73+['\\>', '', '।'],
 74+['0', '','०'],
 75+['1', '','१'],
 76+['2', '', '२'],
 77+['3', '', '३'],
 78+['4', '', '४'],
 79+['5', '', '५'],
 80+['6', '', '६'],
 81+['7', '', '७'],
 82+['8', '', '८'],
 83+['9', '', '९'],
 84+['\\@', '', 'ॅ'],
 85+['\\#', '','्र'],
 86+['\\$', '','र्'],
 87+['\\%', '','ज्ञ'],
 88+['\\^', '','त्र'],
 89+['\\&', '', 'क्ष'],
 90+['\\*', '', 'श्र'],
 91+['\\(', '', '\u200D'],
 92+['\\)', '', '\u200C']
 93+];
 94+
 95+// Extended layout for InScript. Works in Firefox only
 96+var rules_x = [
 97+['F', '', 'ऌ'],
 98+['\\>', '','ऽ'],
 99+['X', '', 'ॐ'],
 100+['e', '', '\0951'],
 101+['d', '', '\u0952'],
 102+['R', '', 'ॡ'],
 103+['f', '', 'ॢ'],
 104+['r', '', 'ॣ'],
 105+['\\.', '', '॥'],
 106+['\\@', '','ॅ'],
 107+['4', '', '₹']
 108+];
 109+
 110+jQuery.narayam.addScheme( 'sa-inscript', {
 111+ 'namemsg': 'narayam-sa-inscript',
 112+ 'extended_keyboard': true,
 113+ 'lookbackLength': 0,
 114+ 'keyBufferLength': 0,
 115+ 'rules': rules,
 116+ 'rules_x': rules_x
 117+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sa-inscript.js
___________________________________________________________________
Added: svn:eol-style
1118 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mai-inscript.js
@@ -0,0 +1,14 @@
 2+/**
 3+ * InScript regular expression rules table for Maithili language
 4+ * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Maithili
 5+ * @author Amir Aharoni ([[User:Amire80]])
 6+ * @date 2011-12-02
 7+ * License: GPLv3
 8+ */
 9+
 10+// copy the rules from hi_inscript.
 11+mai_inscript_scheme = $.narayam.getScheme( 'hi-inscript' );
 12+mai_inscript_scheme.namemsg = 'narayam-mai-inscript';
 13+$.extend( mai_inscript_scheme.rules, [ [ 'z', '', '\u02BC' ] ]); // apostrophe
 14+jQuery.narayam.addScheme( 'mai-inscript', mai_inscript_scheme );
 15+
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mai-inscript.js
___________________________________________________________________
Added: svn:eol-style
116 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gom-deva.js
@@ -0,0 +1,11 @@
 2+/**
 3+ * Transliteration regular expression rules table for Goan Konkani- Devanagari language
 4+ * @author Santhosh Thottingal
 5+ * @date 2011-02-12
 6+ * License: GPLv3
 7+ */
 8+
 9+//copy the rules from hindi transliteration.
 10+gom_deva_scheme = $.narayam.getScheme( 'hi' );
 11+gom_deva_scheme.namemsg ='narayam-gom-deva';
 12+jQuery.narayam.addScheme( 'gom-deva', gom_deva_scheme );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gom-deva.js
___________________________________________________________________
Added: svn:eol-style
113 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core.js
@@ -0,0 +1,686 @@
 2+/**
 3+ * Narayam
 4+ * Input field rewriter tool for web pages
 5+ * @author Junaid P V ([[user:Junaidpv]])(http://junaidpv.in)
 6+ * @date 2010-12-18 (Based on naaraayam transliteration tool I first wrote on 2010-05-19)
 7+ * @version 3.0
 8+ * Last update: 2010-11-28
 9+ * License: GPLv3
 10+ */
 11+
 12+/**
 13+ * NOTE: For documentation on writing schemes and rulesets, see the
 14+ * documentation for addScheme().
 15+ */
 16+
 17+( function( $ ) {
 18+$.narayam = new ( function() {
 19+ /* Private members */
 20+
 21+ // Reference to this object
 22+ var that = this;
 23+ // jQuery array holding all text inputs Narayam applies to
 24+ var $inputs = $( [] );
 25+ // Whether Narayam is enabled
 26+ var enabled = false;
 27+ // Registered schemes
 28+ var schemes = {};
 29+ // List of scheme names, ordered for presentation purposes
 30+ // Schemes not in this list won't be allowed to register
 31+ // This object is formatted as { 'schemename': '', 'schemename2': '', ... }
 32+ // for easy searching
 33+ var availableSchemes = mw.config.get( 'wgNarayamAvailableSchemes' ) || {};
 34+ // All input methods. This will be used for selecting input methods from languages
 35+ // other than uselang- optionally
 36+ var allImes = mw.config.get( 'wgNarayamAllSchemes' ) || {};
 37+ // Currently selected scheme
 38+ var currentScheme = null;
 39+ // Shortcut key for turning Narayam on and off
 40+ var shortcutKey = getShortCutKey();
 41+ // Number of recent input methods to be shown
 42+ var recentItemsLength = mw.config.get( 'wgNarayamRecentItemsLength' );
 43+ /* Private functions */
 44+
 45+ /**
 46+ * Transliterate a string using the current scheme
 47+ * @param str String to transliterate
 48+ * @param keyBuffer The key buffer
 49+ * @param useExtended Whether to use the extended part of the scheme
 50+ * @return Transliterated string, or str if no applicable transliteration found.
 51+ */
 52+ function transliterate( str, keyBuffer, useExtended ) {
 53+ var rules = currentScheme.extended_keyboard && useExtended ?
 54+ currentScheme.rules_x : currentScheme.rules;
 55+ for ( var i = 0; i < rules.length; i++ ) {
 56+ var regex = new RegExp( rules[i][0] + '$' );
 57+ if ( regex.test( str ) // Input string match
 58+ &&
 59+ (
 60+ rules[i][1].length == 0 // Keybuffer match not required
 61+ ||
 62+ ( // Keybuffer match specified, so it should be met
 63+ rules[i][1].length > 0
 64+ && rules[i][1].length <= keyBuffer.length
 65+ && new RegExp( rules[i][1] + '$' ).test( keyBuffer )
 66+ )
 67+ )
 68+ ) {
 69+ return str.replace( regex, rules[i][2] );
 70+ }
 71+ }
 72+ // No matches, return the input
 73+ return str;
 74+ }
 75+
 76+ /**
 77+ * Get the n characters in str that immediately precede pos
 78+ * Example: lastNChars( "foobarbaz", 5, 2 ) == "ba"
 79+ * @param str String to search in
 80+ * @param pos Position in str
 81+ * @param n Number of characters to go back from pos
 82+ * @return Substring of str, at most n characters long, immediately preceding pos
 83+ */
 84+ function lastNChars( str, pos, n ) {
 85+ if ( n === 0 ) {
 86+ return '';
 87+ } else if ( pos <= n ) {
 88+ return str.substr( 0, pos );
 89+ } else {
 90+ return str.substr( pos - n, n );
 91+ }
 92+ }
 93+
 94+ /**
 95+ * Find the point at which a and b diverge, i.e. the first position
 96+ * at which they don't have matching characters.
 97+ * @param a String
 98+ * @param b String
 99+ * @return Position at which a and b diverge, or -1 if a == b
 100+ */
 101+ function firstDivergence( a, b ) {
 102+ var minLength = a.length < b.length ? a.length : b.length;
 103+ for ( var i = 0; i < minLength; i++ ) {
 104+ if ( a.charCodeAt( i ) !== b.charCodeAt( i ) ) {
 105+ return i;
 106+ }
 107+ }
 108+ return -1;
 109+ }
 110+
 111+ /**
 112+ * Check whether a keypress event corresponds to the shortcut key
 113+ * @param e Event object
 114+ * @return bool
 115+ */
 116+ function isShortcutKey( e ) {
 117+ return e.altKey == shortcutKey.altKey &&
 118+ e.ctrlKey == shortcutKey.ctrlKey &&
 119+ e.shiftKey == shortcutKey.shiftKey &&
 120+ String.fromCharCode( e.which ).toLowerCase() == shortcutKey.key.toLowerCase();
 121+ }
 122+
 123+ /**
 124+ * Get the shortcut key for the tool, depending on OS, browser
 125+ * @return shortcutKey
 126+ */
 127+ function getShortCutKey() {
 128+ var defaultShortcut = {
 129+ altKey: false,
 130+ ctrlKey: true,
 131+ shiftKey: false,
 132+ cmdKey: false,
 133+ key: 'm'
 134+ }
 135+ // Browser sniffing to determine the available shortcutKey
 136+ // Refer: mediawiki.util.js and en.wikipedia.org/wiki/Access_key
 137+ var profile = $.client.profile();
 138+ // Safari/Konqueror on any platform, but not Safari on Windows
 139+ // or any browser on Mac except chrome and opera
 140+ if ( !( profile.platform == 'win' && profile.name == 'safari' ) &&
 141+ ( profile.name == 'safari'|| profile.platform == 'mac' || profile.name == 'konqueror' )
 142+ && !( profile.name == 'opera' || profile.name == 'chrome' ) ) {
 143+ defaultShortcut.key = 'g';
 144+ }
 145+ // For Opera in OSX, shortcut is control+command+m.
 146+ if ( profile.name == 'opera' && profile.platform == 'mac' ) {
 147+ defaultShortcut.cmdKey = true;
 148+ }
 149+ return defaultShortcut;
 150+ }
 151+
 152+ /**
 153+ * Get a description of the shortcut key, e.g. "Ctrl-M"
 154+ * @return string
 155+ */
 156+ function shortcutText() {
 157+ var text = '';
 158+ // TODO: Localize these things (in core, too)
 159+ if ( shortcutKey.ctrlKey ) {
 160+ text += 'Ctrl-';
 161+ }
 162+ if ( shortcutKey.shiftKey ) {
 163+ text += 'Shift-';
 164+ }
 165+ if ( shortcutKey.altKey ) {
 166+ text += 'Alt-';
 167+ }
 168+ if ( shortcutKey.cmdKey ) {
 169+ text += 'Command-';
 170+ }
 171+ text += shortcutKey.key.toUpperCase();
 172+ return text;
 173+ }
 174+
 175+ /**
 176+ * Change visual appearance of element (text input, textarea) according
 177+ * current state of Narayam
 178+ */
 179+ function changeVisual( $element ) {
 180+ if ( enabled ) {
 181+ $element.addClass( 'narayam-input' );
 182+ } else {
 183+ $element.removeClass( 'narayam-input' );
 184+ }
 185+ }
 186+
 187+ /**
 188+ * Replace text part from startPos to endPos with peri
 189+ * It function is specifically for webkit browsers,
 190+ * because of bug: https://bugs.webkit.org/show_bug.cgi?id=66630
 191+ * TODO: remove when webkit bug is handled in jQuery.textSelection.js
 192+ *
 193+ * @param $element jQuery object to wich replacement to be taked place
 194+ * @param startPos Starting position of text range to be replaced
 195+ * @param endPos Ending position of text range to be replaced
 196+ * @param peri String to be substituted
 197+ */
 198+ function replaceString( $element, startPos, endPos, peri ) {
 199+ // Take entire text of the element
 200+ var text = $element.val();
 201+ var pre = text.substring( 0, startPos );
 202+ var post = text.substring( endPos, text.length );
 203+
 204+ // Then replace
 205+ $element.val( pre + peri + post );
 206+ }
 207+
 208+ /**
 209+ * Keydown event handler. Handles shortcut key presses
 210+ * @param e Event object
 211+ */
 212+ function onkeydown( e ) {
 213+ // If the current scheme uses the alt key, ignore keydown for Alt+? combinations
 214+ if ( enabled && currentScheme.extended_keyboard && e.altKey && !e.ctrlKey ) {
 215+ e.stopPropagation();
 216+ return false; // Not in original code -- does this belong here?
 217+ } else if ( isShortcutKey( e ) ) {
 218+ that.toggle();
 219+ changeVisual( $( this ) );
 220+ e.stopPropagation();
 221+ return false;
 222+ }
 223+ return true;
 224+ }
 225+
 226+ /**
 227+ * Keypress event handler. This is where the real work happens
 228+ * @param e Event object
 229+ */
 230+ function onkeypress( e ) {
 231+ if ( !enabled ) {
 232+ return true;
 233+ }
 234+
 235+ if ( e.which == 8 ) { // Backspace
 236+ // Blank the keybuffer
 237+ $( this ).data( 'narayamKeyBuffer', '' );
 238+ return true;
 239+ }
 240+
 241+ // Leave non-ASCII stuff alone, as well as anything involving
 242+ // Alt (except for extended keymaps), Ctrl and Meta
 243+ if ( e.which < 32 || ( e.altKey && !currentScheme.extended_keyboard ) || e.ctrlKey || e.metaKey ) {
 244+ return true;
 245+ }
 246+
 247+ var $this = $( this );
 248+ var c = String.fromCharCode( e.which );
 249+ // Get the current caret position. The user may have selected text to overwrite,
 250+ // so get both the start and end position of the selection. If there is no selection,
 251+ // startPos and endPos will be equal.
 252+ var pos = $this.textSelection( 'getCaretPosition', { 'startAndEnd': true } );
 253+ var startPos = pos[0];
 254+ var endPos = pos[1];
 255+ // Get the last few characters before the one the user just typed,
 256+ // to provide context for the transliteration regexes.
 257+ // We need to append c because it hasn't been added to $this.val() yet
 258+ var input = lastNChars( $this.val(), startPos, currentScheme.lookbackLength ) + c;
 259+ var keyBuffer = $this.data( 'narayamKeyBuffer' );
 260+ var replacement = transliterate( input, keyBuffer, e.altKey );
 261+
 262+ // Update the key buffer
 263+ keyBuffer += c;
 264+ if ( keyBuffer.length > currentScheme.keyBufferLength ) {
 265+ // The buffer is longer than needed, truncate it at the front
 266+ keyBuffer = keyBuffer.substring( keyBuffer.length - currentScheme.keyBufferLength );
 267+ }
 268+ $this.data( 'narayamKeyBuffer', keyBuffer );
 269+
 270+ // textSelection() magic is expensive, so we avoid it as much as we can
 271+ if ( replacement == input ) {
 272+ return true;
 273+ }
 274+ // Drop a common prefix, if any
 275+ // TODO: Profile this, see if it's any faster
 276+ var divergingPos = firstDivergence( input, replacement );
 277+ input = input.substring( divergingPos );
 278+ replacement = replacement.substring( divergingPos );
 279+
 280+ $this.textSelection( 'encapsulateSelection', {
 281+ peri: replacement,
 282+ replace: true,
 283+ selectPeri: false,
 284+ selectionStart: startPos - input.length + 1,
 285+ selectionEnd: endPos
 286+ } );
 287+
 288+ e.stopPropagation();
 289+ return false;
 290+ }
 291+
 292+ /**
 293+ * Focus event handler.
 294+ * @param e Event object
 295+ */
 296+ function onfocus( e ) {
 297+ if ( !$( this ).data( 'narayamKeyBuffer' ) ) {
 298+ // First-time focus on the input field
 299+ // So, initialise a key buffer for it
 300+ $( this ).data( 'narayamKeyBuffer', '' );
 301+ }
 302+ changeVisual( $( this ) );
 303+ }
 304+
 305+ /**
 306+ * Blur event handler.
 307+ * @param e Event object
 308+ */
 309+ function onblur( e ) {
 310+ $( this ).removeClass( 'narayam-input' );
 311+ }
 312+
 313+
 314+ /* Public functions */
 315+
 316+ /**
 317+ * Add more inputs to apply Narayam to
 318+ * @param inputs A jQuery object holding one or more input or textarea elements,
 319+ * or an array of DOM elements, or a single DOM element, or a selector
 320+ */
 321+ this.addInputs = function( inputs ) {
 322+ if ( typeof( inputs ) === "string" ) {
 323+ // If a string is passed, it is CSS selector
 324+ // We can use jQuery's .live() instead of .bind()
 325+ // So Narayam can work on elements added later to DOM too
 326+ $( inputs )
 327+ .live( 'keydown', onkeydown )
 328+ .live( 'keypress', onkeypress )
 329+ .live( 'focus', onfocus )
 330+ .live( 'blur', onblur );
 331+ } else {
 332+ var $newInputs = $( inputs );
 333+ $inputs = $inputs.add( $newInputs );
 334+ $newInputs
 335+ .bind( 'keydown.narayam', onkeydown )
 336+ .bind( 'keypress.narayam', onkeypress )
 337+ .bind( 'focus', onfocus )
 338+ .bind( 'blur', onblur );
 339+ }
 340+ };
 341+
 342+ /**
 343+ * Enable Narayam
 344+ */
 345+ this.enable = function() {
 346+ if ( !enabled ) {
 347+ $.cookie( 'narayam-enabled', '1', { path: '/', expires: 30 } );
 348+ $( '#narayam-toggle' ).prop( 'checked', true );
 349+ $( 'li#pt-narayam' )
 350+ .removeClass( 'narayam-inactive' )
 351+ .addClass( 'narayam-active' );
 352+ enabled = true;
 353+ }
 354+ };
 355+
 356+ /**
 357+ * Disable Narayam
 358+ */
 359+ this.disable = function() {
 360+ if ( enabled ) {
 361+ $.cookie( 'narayam-enabled', '0', { path: '/', expires: 30 } );
 362+ $( '#narayam-toggle' ).prop( 'checked', false );
 363+ $( 'li#pt-narayam' )
 364+ .removeClass( 'narayam-active' )
 365+ .addClass( 'narayam-inactive' );
 366+ enabled = false;
 367+ }
 368+ };
 369+
 370+ /**
 371+ * Toggle the enabled/disabled state
 372+ */
 373+ this.toggle = function() {
 374+ if ( enabled ) {
 375+ that.disable();
 376+ } else {
 377+ that.enable();
 378+ }
 379+ };
 380+
 381+ /**
 382+ * Add a transliteration scheme. Schemes whose name is not in
 383+ * wgNarayamAvailableSchemes will be ignored.
 384+ *
 385+ * A scheme consists of rules used for transliteration. A rule is an
 386+ * array of three strings. The first string is a regex that is matched
 387+ * against the input string (the last few characters before the cursor
 388+ * followed by the character the user entered), the second string is a
 389+ * regex that is matched against the end of the key buffer (the last
 390+ * few keys the user pressed), and the third string is the replacement
 391+ * string (may contain placeholders like $1 for subexpressions). You do
 392+ * not need to add $ to the end of either of the regexes so they match
 393+ * at the end, this is done automagically.
 394+ *
 395+ * The transliteration algorithm processes the rules in the order they
 396+ * are specified, and applies the first rule that matches. For a rule
 397+ * to match, both the first and second regex have to match (the first
 398+ * for the input, the second for the key buffer). Most rules do not use
 399+ * the keybuffer and specify an empty string as the second regex.
 400+ *
 401+ * The scheme data object must have the following keys:
 402+ * namemsg: Message key for the name of the scheme
 403+ * extended_keyboard: Whether this scheme has an extended ruleset (bool)
 404+ * lookbackLength: Number of characters before the cursor to include
 405+ * when matching the first regex of each rule. This is
 406+ * usually the maximum number of characters a rule
 407+ * regex can match minus one.
 408+ * keyBufferLength: Length of the key buffer. May be zero if not needed
 409+ * rules: Array of rules, which themselves are arrays of three strings.
 410+ * rules_x: Extended ruleset. This is used instead of the normal
 411+ * ruleset when Alt is held. This key is only required if
 412+ * extended_keyboard is true
 413+ *
 414+ * NOTE: All keys are REQUIRED (except rules_x when not used). Missing
 415+ * keys may result in JS errors.
 416+ *
 417+ * @param name Name of the scheme, must be unique
 418+ * @param data Object with scheme data.
 419+ * @return True if added, false if not
 420+ */
 421+ this.addScheme = function( name, data ) {
 422+ schemes[name] = data;
 423+ return true;
 424+ };
 425+
 426+ /**
 427+ * Get the transliteration rules for the given input method name.
 428+ * @param name String
 429+ */
 430+ this.getScheme = function( name ) {
 431+ return schemes[name];
 432+ }
 433+
 434+ /**
 435+ * Change the current transliteration scheme
 436+ * @param name String
 437+ */
 438+ this.setScheme = function( name ) {
 439+ var recent = $.cookie( 'narayam-scheme' ) || [];
 440+ if ( typeof recent === "string" ) {
 441+ recent = recent.split( "," );
 442+ };
 443+ recent = $.grep( recent, function( value ) {
 444+ return value != name;
 445+ } );
 446+ recent.unshift( name );
 447+ recent = recent.slice( 0, recentItemsLength );
 448+ recent = recent.join( "," );
 449+ $.cookie( 'narayam-scheme', recent, { path: '/', expires: 30 } );
 450+ if ( name in schemes ) {
 451+ currentScheme = schemes[name];
 452+ } else {
 453+ // load the rules dynamically.
 454+ mw.loader.using( "ext.narayam.rules." + name, function() {
 455+ currentScheme = schemes[name];
 456+ } );
 457+ }
 458+ return true;
 459+ };
 460+
 461+ /**
 462+ * Set up Narayam. This adds the scheme dropdown, binds the handlers
 463+ * and initializes the enabled/disabled state and selected scheme
 464+ * from a cookie or wgNarayamEnableByDefault
 465+ */
 466+ this.setup = function() {
 467+ that.buildMenu();
 468+ // Restore state from cookies
 469+ var recentSchemes = $.cookie( 'narayam-scheme' );
 470+ var lastScheme = null;
 471+ if ( typeof recent === "string" ) {
 472+ lastScheme = recent.split( "," )[0];
 473+ }
 474+ if ( lastScheme ) {
 475+ that.setScheme( lastScheme );
 476+ $( '#narayam-' + lastScheme ).prop( 'checked', true );
 477+ } else {
 478+ //if no saved input scheme, select the first.
 479+ var $firstScheme = $( 'input.narayam-scheme:first' );
 480+ that.setScheme( $firstScheme.val() );
 481+ $firstScheme.prop( 'checked', true );
 482+
 483+ }
 484+ var enabledCookie = $.cookie( 'narayam-enabled' );
 485+ if ( enabledCookie == '1' || ( mw.config.get( 'wgNarayamEnabledByDefault' ) && enabledCookie !== '0' ) ) {
 486+ that.enable();
 487+ } else {
 488+ $( 'li#pt-narayam' ).addClass( 'narayam-inactive' );
 489+ }
 490+ // Renew the narayam-enabled cookie. narayam-scheme is renewed by setScheme()
 491+ if ( enabledCookie ) {
 492+ $.cookie( 'narayam-enabled', enabledCookie, { path: '/', expires: 30 } );
 493+ }
 494+
 495+ };
 496+ /**
 497+ * Construct the menu item, for the given scheme name.
 498+ */
 499+ this.buildMenuItem = function( scheme ) {
 500+ var $input = $( '<input type="radio" name="narayam-input-method" class="narayam-scheme" />' );
 501+ $input.attr( 'id', 'narayam-' + scheme ).val( scheme );
 502+
 503+ var $narayamMenuItemLabel = $( '<label>' )
 504+ .attr( 'for' ,'narayam-' + scheme )
 505+ .append( $input )
 506+ .append( mw.message( "narayam-"+ scheme ).escaped() );
 507+
 508+ var $narayamMenuItem = $( '<li>' )
 509+ .append( $input )
 510+ .append( $narayamMenuItemLabel );
 511+ return $narayamMenuItem;
 512+ };
 513+
 514+ /**
 515+ * prepare the menu list for all the input methods.
 516+ * @return The div containing the constructed menu.
 517+ */
 518+ this.buildMenuItems = function() {
 519+ var haveSchemes = false;
 520+ // Build schemes option list
 521+ var $narayamMenuItems = $( '<ul>' );
 522+ var count = 1;
 523+ var seen = [];
 524+
 525+ var recent = $.cookie( "narayam-scheme" ) || [];
 526+ if ( typeof recent === "string" ) {
 527+ recent = recent.split( "," );
 528+ }
 529+ // Prepare the recent inputmethods menu items
 530+ for ( var i = 0; i < recent.length; i++ ) {
 531+ var scheme = recent[i];
 532+ if ( $.inArray( scheme, seen ) > -1 ) { continue; }
 533+ seen.push( scheme );
 534+ if ( count++ > recentItemsLength ) { break; }
 535+ $narayamMenuItem = that.buildMenuItem( scheme );
 536+ $narayamMenuItem.addClass( 'narayam-recent-menu-item' );
 537+ $narayamMenuItems.append( $narayamMenuItem );
 538+ }
 539+ // menu items for the language of wiki.
 540+ var requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), mw.config.get( 'wgUserLanguage' )];
 541+ $( 'textarea[lang]' ).each( function( index ) {
 542+ requested.push( this.lang );
 543+ });
 544+ for ( var i = 0; i < requested.length; i++ ) {
 545+ var lang = requested[i];
 546+ var langschemes = allImes[lang];
 547+ if ( !langschemes ) continue;
 548+ for ( var scheme in langschemes ) {
 549+ haveSchemes = true;
 550+ if ( $.inArray( scheme, seen ) !== -1 ) { continue; }
 551+ seen.push( scheme );
 552+ $narayamMenuItem = that.buildMenuItem( scheme );
 553+ $narayamMenuItems.append( $narayamMenuItem );
 554+ }
 555+ }
 556+
 557+ if ( !haveSchemes ) {
 558+ // No schemes available, don't show the tool
 559+ return null;
 560+ }
 561+
 562+ // Event listener for scheme selection.
 563+ $( '.narayam-scheme', $( '#narayam-menu-items > ul')[0] ).live( 'click', function() {
 564+ that.setScheme( $( this ).val() );
 565+ } );
 566+
 567+ // Build enable/disable checkbox and label
 568+ var $checkbox = $( '<input type="checkbox" id="narayam-toggle" />' );
 569+ $checkbox
 570+ .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) )
 571+ .click( that.toggle );
 572+
 573+ var $label = $( '<label>' ).attr( 'for', 'narayam-toggle' );
 574+ $label
 575+ .text( mw.msg( 'narayam-toggle-ime', shortcutText() ) )
 576+ .prepend( $checkbox )
 577+ .prop( 'title', mw.msg( 'narayam-checkbox-tooltip' ) );
 578+
 579+ var $moreLink = $( '<a>' )
 580+ .text( mw.msg( 'narayam-more-imes' ) )
 581+ .prop( 'href', '#' )
 582+ .click( function() {
 583+ $('.narayam-scheme-dynamic-item').toggle( 'fast' );
 584+ if ( $('li.narayam-more-imes-link').hasClass( 'open' ) ) {
 585+ $('li.narayam-more-imes-link').removeClass( 'open' );
 586+ } else {
 587+ $('li.narayam-more-imes-link').addClass( 'open' );
 588+ }
 589+ } );
 590+
 591+ $narayamMenuItems.append( $( '<li>' )
 592+ .addClass( 'narayam-more-imes-link' )
 593+ .append( $moreLink )
 594+ );
 595+
 596+ for ( var lang in allImes ) {
 597+ var langschemes = allImes[lang];
 598+ for ( var langscheme in langschemes ) {
 599+ // Donot repeat the input methods in more input methods section.
 600+ // If already shown on recent items.
 601+ if ( $.inArray( langscheme, seen ) > -1 ) { continue; }
 602+ $narayamMenuItem = that.buildMenuItem( langscheme );
 603+ $narayamMenuItem.addClass( 'narayam-scheme-dynamic-item' );
 604+ $narayamMenuItems.append( $narayamMenuItem );
 605+
 606+ }
 607+ }
 608+
 609+ // Event listener for scheme selection - dynamic loading of rules.
 610+ $( '.narayam-scheme', $('.narayam-scheme-dynamic-item') ).live( 'click', function() {
 611+ that.setScheme( $( this ).val() );
 612+ // rebuild the menu items with recent items.
 613+ $( '#narayam-menu' ).html( $.narayam.buildMenuItems() );
 614+ $( '#narayam-menu-items' ).css( 'left', $('li#pt-narayam').offset().left );
 615+ $( '#narayam-' + $( this ).val() ).prop( 'checked', true );
 616+ if ( enabled ) {
 617+ $( '#narayam-toggle' ).prop( 'checked', true );
 618+ }
 619+ } );
 620+
 621+ var helppage = mw.config.get( 'wgNarayamHelpPage' );
 622+ if ( helppage ) {
 623+ var $link = $( '<a>' )
 624+ .text( mw.msg( 'narayam-help' ) )
 625+ .prop( 'href', mw.util.wikiGetlink( helppage ) );
 626+ var $li = $( '<li>' ).addClass( 'narayam-help-link' );
 627+ $narayamMenuItems.append( $li.append( $link ) );
 628+ }
 629+
 630+ $narayamMenuItems.prepend( $( '<li>' ).append( $label ) );
 631+ return $( '<div>' )
 632+ .attr( 'id', 'narayam-menu-items' )
 633+ .addClass( 'menu-items' )
 634+ .append( $narayamMenuItems );
 635+ }
 636+
 637+
 638+ /**
 639+ * Construct the menu for Narayam
 640+ */
 641+ this.buildMenu = function() {
 642+ var $menuItemsDiv = that.buildMenuItems();
 643+ if( $menuItemsDiv == null ) {
 644+ return;
 645+ }
 646+ var $menu = $( '<div>' )
 647+ .attr( 'id', 'narayam-menu' )
 648+ .addClass( 'narayam-menu' );
 649+ var $link = $( '<a>' )
 650+ .prop( 'href', '#' )
 651+ .text( mw.msg( 'narayam-menu' ) )
 652+ .attr( 'title', mw.msg( 'narayam-menu-tooltip' ) );
 653+
 654+ $menu.append( $menuItemsDiv );
 655+ var $li = $( '<li>' ).attr( 'id', 'pt-narayam' ).append( $link );
 656+
 657+ // If rtl, add to the right of top personal links. Else, to the left
 658+ var fn = $( 'body' ).hasClass( 'rtl' ) ? "append" : "prepend";
 659+ $( '#p-personal ul:first' )[fn]( $li );
 660+ $( 'body' ).prepend( $menu );
 661+ $menu.hide();
 662+ $li.hover( function() {
 663+ $menuItemsDiv.css( 'left', $li.offset().left );
 664+ $menu.show();
 665+ });
 666+ $menu.hover( function() {
 667+ }, function() {
 668+ $menu.hide();
 669+ });
 670+
 671+ // Workaround for IE bug - activex components like input fields
 672+ // coming on top of everything.
 673+ // TODO: is there a better solution other than hiding it on hover?
 674+ if ( $.browser.msie ) {
 675+ $( '#narayam-menu' ).hover( function() {
 676+ $( '#searchform' ).css( 'visibility', 'hidden' );
 677+ }, function() {
 678+ $( '#searchform' ).css( 'visibility', 'visible' );
 679+ });
 680+ }
 681+ $('.narayam-scheme-dynamic-item').hide();
 682+ // Narayam controls setup complete, returns true
 683+ return true;
 684+ };
 685+} )();
 686+
 687+} )( jQuery );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core.js
___________________________________________________________________
Added: svn:eol-style
1688 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/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
 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.18wmf1/extensions/Narayam/resources/ext.narayam.rules.as-bornona.js
___________________________________________________________________
Added: svn:eol-style
184 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ml-inscript.js
@@ -0,0 +1,88 @@
 2+/**
 3+ * Inscript regular expression rules table for Malayalam
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-09-08
 6+ * License: GPLv3
 7+ */
 8+var rules = [
 9+['`', '', 'ൊ'],
 10+['~', '', 'ഒ'],
 11+['_', '', 'ഃ'],
 12+['=', '', 'ൃ'],
 13+['\\+', '', 'ഋ'],
 14+['\\\\', '', '\u200C'],
 15+['q', '', 'ൗ'],
 16+['Q', '', 'ഔ'],
 17+['w', '', 'ൈ'],
 18+['W', '', 'ഐ'],
 19+['e', '', 'ാ'],
 20+['E', '', 'ആ'],
 21+['r', '', 'ീ'],
 22+['R', '', 'ഈ'],
 23+['t', '', 'ൂ'],
 24+['T', '', 'ഊ'],
 25+['y', '', 'ബ'],
 26+['Y', '', 'ഭ'],
 27+['u', '', 'ഹ'],
 28+['U', '', 'ങ'],
 29+['i', '', 'ഗ'],
 30+['I', '', 'ഘ'],
 31+['o', '', 'ദ'],
 32+['O', '', 'ധ'],
 33+['p', '', 'ജ'],
 34+['P', '', 'ഝ'],
 35+['\\[', '', 'ഡ'],
 36+['\\{', '', 'ഢ'],
 37+//['\\]', '', '\u200d'],
 38+['ണ്\\]', '', 'ൺ'],
 39+['ന്\\]', '', 'ൻ'],
 40+['ര്\\]', '', 'ർ'],
 41+['ല്\\]', '', 'ൽ'],
 42+['ള്\\]', '', 'ൾ'],
 43+['ക്\\]', '', 'ൿ'],
 44+['\\}', '', 'ഞ'],
 45+['a', '', 'ോ'],
 46+['A', '', 'ഓ'],
 47+['s', '', 'േ'],
 48+['S', '', 'ഏ'],
 49+['d', '', '്'],
 50+['D', '', 'അ'],
 51+['f', '', 'ി'],
 52+['F', '', 'ഇ'],
 53+['g', '', 'ു'],
 54+['G', '', 'ഉ'],
 55+['h', '', 'പ'],
 56+['H', '', 'ഫ'],
 57+['j', '', 'ര'],
 58+['J', '', 'റ'],
 59+['k', '', 'ക'],
 60+['K', '', 'ഖ'],
 61+['l', '', 'ത'],
 62+['L', '', 'ഥ'],
 63+[';', '', 'ച'],
 64+[':', '', 'ഛ'],
 65+['\'', '', 'ട'],
 66+['"', '', 'ഠ'],
 67+['z', '', 'െ'],
 68+['Z', '', 'എ'],
 69+['x', '', 'ം'],
 70+['c', '', 'മ'],
 71+['C', '', 'ണ'],
 72+['v', '', 'ന'],
 73+['b', '', 'വ'],
 74+['B', '', 'ഴ'],
 75+['n', '', 'ല'],
 76+['N', '', 'ള'],
 77+['m', '', 'സ'],
 78+['M', '', 'ശ'],
 79+['<', '', 'ഷ'],
 80+['/', '', 'യ']
 81+];
 82+
 83+jQuery.narayam.addScheme( 'ml-inscript', {
 84+ 'namemsg': 'narayam-ml-inscript',
 85+ 'extended_keyboard': false,
 86+ 'lookbackLength': 2,
 87+ 'keyBufferLength': 0,
 88+ 'rules': rules
 89+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ml-inscript.js
___________________________________________________________________
Added: svn:eol-style
190 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.kn-inscript.js
@@ -0,0 +1,116 @@
 2+/**
 3+ * InScript regular expression rules table for Kannada script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-02-27
 7+ * License: GPLv3
 8+ */
 9+ // Normal
 10+ var rules = [
 11+['x', '', '\u0C82'],
 12+['_', '', '\u0C83'],
 13+['D', '', '\u0C85'],
 14+['E', '', '\u0C86'],
 15+['F', '', '\u0C87'],
 16+['R', '', '\u0C88'],
 17+['G', '', '\u0C89'],
 18+['T', '', '\u0C8A'],
 19+['\\+', '', '\u0C8B'],
 20+['Z', '', '\u0C8E'],
 21+['S', '', '\u0C8F'],
 22+['W', '', '\u0C90'],
 23+['~', '', '\u0C92'],
 24+['A', '', '\u0C93'],
 25+['Q', '', '\u0C94'],
 26+['k', '', '\u0C95'],
 27+['K', '', '\u0C96'],
 28+['i', '', '\u0C97'],
 29+['I', '', '\u0C98'],
 30+['U', '', '\u0C99'],
 31+[';', '', '\u0C9A'],
 32+['\\:', '', '\u0C9B'],
 33+['p', '', '\u0C9C'],
 34+['P', '', '\u0C9D'],
 35+['\\}', '', '\u0C9E'],
 36+["'", '', '\u0C9F'],
 37+['"', '', '\u0CA0'],
 38+['\\[', '', '\u0CA1'],
 39+['\\{', '', '\u0CA2'],
 40+['C', '', '\u0CA3'],
 41+['l', '', '\u0CA4'],
 42+['L', '', '\u0CA5'],
 43+['o', '', '\u0CA6'],
 44+['O', '', '\u0CA7'],
 45+['v', '', '\u0CA8'],
 46+['h', '', '\u0CAA'],
 47+['H', '', '\u0CAB'],
 48+['y', '', '\u0CAC'],
 49+['Y', '', '\u0CAD'],
 50+['c', '', '\u0CAE'],
 51+['/', '', '\u0CAF'],
 52+['j', '', '\u0CB0'],
 53+['J', '', '\u0CB1'],
 54+['n', '', '\u0CB2'],
 55+['N', '', '\u0CB3'],
 56+['b', '', '\u0CB5'],
 57+['M', '', '\u0CB6'],
 58+[',', '', '\u0CB7'],
 59+['m', '', '\u0CB8'],
 60+['u', '', '\u0CB9'],
 61+['\\]', '', '\u0CBC'],
 62+['e', '', '\u0CBE'],
 63+['f', '', '\u0CBF'],
 64+['r', '', '\u0CC0'],
 65+['g', '', '\u0CC1'],
 66+['t', '', '\u0CC2'],
 67+['\\=', '', '\u0CC3'],
 68+['z', '', '\u0CC6'],
 69+['s', '', '\u0CC7'],
 70+['w', '', '\u0CC8'],
 71+['`', '', '\u0CCA'],
 72+['a', '', '\u0CCB'],
 73+['q', '', '\u0CCC'],
 74+['d', '', '\u0CCD'],
 75+['t', '', '\u0CC2'],
 76+['0', '', '\u0CE6'],
 77+['1', '', '\u0CE7'],
 78+['2', '', '\u0CE8'],
 79+['3', '', '\u0CE9'],
 80+['4', '', '\u0CEA'],
 81+['5', '', '\u0CEB'],
 82+['6', '', '\u0CEC'],
 83+['7', '', '\u0CED'],
 84+['8', '', '\u0CEE'],
 85+['9', '', '\u0CEF'],
 86+['\\#', '', '\u0CCD\u0CB0'],
 87+['\\%', '', '\u0C9C\u0CCD\u0C9E'],
 88+['\\^', '', '\u0CA4\u0CCD\u0CB0'],
 89+['\\&', '', '\u0C95\u0CCD\u0CB0'],
 90+['\\(', '', '\u200D'],
 91+['\\)', '', '\u200C']
 92+];
 93+// Extended
 94+var rules_x = [
 95+['F', '', '\uC88C'],
 96+['\\>', '', '\u0CBD'],
 97+['\\=', '', '\u0CC4'],
 98+['H', '', '\u0CDE'],
 99+['\\+', '', '\u0CE0'],
 100+['R', '', '\u0CE1'],
 101+['f', '', '\u0CE2'],
 102+['r', '', '\u0CE3'],
 103+['\\>', '', '\u0CE4'],
 104+['\\.', '', '\u0CE5'],
 105+['u', '', '\u0CF1'],
 106+['j', '', '\u0CF2'],
 107+['\\$', '', '\u20B9']
 108+];
 109+
 110+jQuery.narayam.addScheme( 'kn-inscript', {
 111+ 'namemsg': 'narayam-kn-inscript',
 112+ 'extended_keyboard': true,
 113+ 'lookbackLength': 0,
 114+ 'keyBufferLength': 0,
 115+ 'rules': rules,
 116+ 'rules_x': rules_x
 117+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.kn-inscript.js
___________________________________________________________________
Added: svn:eol-style
1118 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-bamini.js
@@ -0,0 +1,85 @@
 2+/**
 3+ * Regular expression rules table for Tamil Bamini Keyboard layout.
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2011-10-13
 6+ * @credits http://help.keymandesktop.com/keyboards/keyboard_ekwbamuni.php
 7+ * License: GPLv3
 8+ */
 9+
 10+var rules = [
 11+['`', '', 'ஹ'],
 12+['q', '', 'ங'],
 13+['w', '', 'ற'],
 14+['e', '', 'ந'],
 15+['r', '', 'ச'],
 16+['t', '', 'வ'],
 17+['y', '', 'ல'],
 18+['u', '', 'ர'],
 19+//['i', '', ''],
 20+['o', '', 'ழ'],
 21+['p', '', 'ி'],
 22+['\\[', '', 'ஜ'],
 23+['\\]', '', 'ஸ'],
 24+['\\\\', '', 'ஷ'],
 25+['a', '', 'ய'],
 26+['s', '', 'ள'],
 27+['d', '', 'ன'],
 28+['f', '', 'க'],
 29+['g', '', 'ப'],
 30+['h', '', 'ா'],
 31+['j', '', 'த'],
 32+['k', '', 'ம'],
 33+['l', '', 'ட'],
 34+[';', '', '்'],
 35+['z', '', 'ண'],
 36+['x', '', 'ஒ'],
 37+['c', '', 'உ'],
 38+['v', '', 'எ'],
 39+['b', '', 'டி'],
 40+['m', '', 'அ'],
 41+[',', '', 'இ'],
 42+['/', '', 'ஃ'],
 43+
 44+['@', '', ';'],
 45+['#', '', 'சூ'],
 46+['\\$', '', 'கூ'],
 47+['%', '', 'மூ'],
 48+['\\^', '', 'டூ'],
 49+['&', '', 'ரூ'],
 50+['Q', '', 'ஞ'],
 51+['W', '', 'று'],
 52+['E', '', 'நு'],
 53+['R', '', 'சு'],
 54+['T', '', 'வு'],
 55+['Y', '', 'லு'],
 56+['U', '', 'ரு'],
 57+['I', '', 'ஐ'],
 58+['O', '', 'ழு'],
 59+['P', '', 'ீ'],
 60+['\\|', '', "'"],
 61+['A', '', 'யு'],
 62+['S', '', 'ளு'],
 63+['D', '', 'னு'],
 64+['F', '', 'கு'],
 65+['G', '', 'பு'],
 66+['H', '', 'ர்'],
 67+['J', '', 'து'],
 68+['K', '', 'மு'],
 69+['L', '', 'டு'],
 70+['Z', '', 'ணு'],
 71+['X', '', 'ஓ'],
 72+['C', '', 'ஊ'],
 73+['V', '', 'ஏ'],
 74+['B', '', 'டீ'],
 75+['M', '', 'ஆ'],
 76+['\\<', '', 'ஈ'],
 77+['\\>', '', ',']
 78+];
 79+
 80+jQuery.narayam.addScheme( 'ta-bamini', {
 81+ 'namemsg': 'narayam-ta-bamini',
 82+ 'extended_keyboard': false,
 83+ 'lookbackLength': 0,
 84+ 'keyBufferLength': 0,
 85+ 'rules': rules
 86+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-bamini.js
___________________________________________________________________
Added: svn:eol-style
187 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-99.js
@@ -0,0 +1,191 @@
 2+/**
 3+ * Regular expression rules table for Tamil 99 input method
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-11-20
 6+ * License: GPLv3
 7+ */
 8+
 9+ // Normal rules
 10+var rules = [
 11+['([க-ஹ])h','a', '$1க'],
 12+['([க-ஹ])b','a', '$1ங'],
 13+['([க-ஹ])\\[','a', '$1ச'],
 14+['([க-ஹ])E','a', '$1ஜ'],
 15+['([க-ஹ])\\]','a', '$1ஞ'],
 16+['([க-ஹ])o','a', '$1ட'],
 17+['([க-ஹ])p','a', '$1ண'],
 18+['([க-ஹ])l','a', '$1த'],
 19+['([க-ஹ]);','a', '$1ந'],
 20+['([க-ஹ])i','a', '$1ன'],
 21+['([க-ஹ])j','a', '$1ப'],
 22+['([க-ஹ])k','a', '$1ம'],
 23+["([க-ஹ])'",'a', '$1ய'],
 24+['([க-ஹ])m','a', '$1ர'],
 25+['([க-ஹ])u','a', '$1ற'],
 26+['([க-ஹ])n','a', '$1ல'],
 27+['([க-ஹ])y','a', '$1ள'],
 28+['([க-ஹ])/','a', '$1ழ'],
 29+['([க-ஹ])v','a', '$1வ'],
 30+// void
 31+['([க-ஹ])W','a', '$1ஷ'],
 32+['([க-ஹ])Q','a', '$1ஸ'],
 33+['([க-ஹ])R','a', '$1ஹ'],
 34+
 35+
 36+['க்கh', '','க்கக'],
 37+['ங்ஙb', '','ங்ஙங'],
 38+['ச்ச\\[', '','ச்சச'],
 39+['ஜ்ஜE', '','ஜ்ஜஜ'],
 40+['ஞ்ஞ\\]', '','ஞ்ஞஞ'],
 41+['ட்டo', '','ட்டட'],
 42+['ண்ணp', '','ண்ணண'],
 43+['த்தl', '','த்தத'],
 44+['ந்ந;', '','ந்நந'],
 45+['ன்னi', '','ன்னன'],
 46+['ப்பj', '','ப்பப'],
 47+['ம்மk', '','ம்மம'],
 48+["ய்ய'", '','ய்யய'],
 49+['ர்ரm', '','ர்ரர'],
 50+['ற்றu', '','ற்றற'],
 51+['ல்லn', '','ல்லல'],
 52+['ள்ளy', '','ள்ளள'],
 53+['ழ்ழ/', '','ழ்ழழ'],
 54+['வ்வv', '','வ்வவ'],
 55+// void
 56+['ஷ்ஷW', '','ஷ்ஷஷ'],
 57+['ஸ்ஸQ', '','ஸ்ஸஸ'],
 58+['ஹ்ஹR', '','ஹ்ஹஹ'],
 59+
 60+['([க-ஹ])q', '','$1ா'],
 61+['([க-ஹ])s', '','$1ி'],
 62+['([க-ஹ])w', '','$1ீ'],
 63+['([க-ஹ])d', '','$1ு'],
 64+['([க-ஹ])e', '','$1ூ'],
 65+['([க-ஹ])g', '','$1ெ'],
 66+['([க-ஹ])t', '','$1ே'],
 67+['([க-ஹ])r', '','$1ை'],
 68+['([க-ஹ])c', '','$1ொ'],
 69+['([க-ஹ])x', '','$1ோ'],
 70+['([க-ஹ])z', '','$1ௌ'],
 71+
 72+['([க-ஹ])a', '','$1'],
 73+
 74+['கh', '','க்க'],
 75+['ஙb', '','ங்ங'],
 76+['ச\\[', '','ச்ச'],
 77+['ஜE', '','ஜ்ஜ'],
 78+['ஞ\\]', '','ஞ்ஞ'],
 79+['டo', '','ட்ட'],
 80+['ணp', '','ண்ண'],
 81+['தl', '','த்த'],
 82+['ந;', '','ந்ந'],
 83+['னi', '','ன்ன'],
 84+['பj', '','ப்ப'],
 85+['மk', '','ம்ம'],
 86+["ய'", '','ய்ய'],
 87+['ரm', '','ர்ர'],
 88+['றu', '','ற்ற'],
 89+['லn', '','ல்ல'],
 90+['ளy', '','ள்ள'],
 91+['ழ/', '','ழ்ழ'],
 92+['வv', '','வ்வ'],
 93+// void
 94+['ஷW', '','ஷ்ஷ'],
 95+['ஸQ', '','ஸ்ஸ'],
 96+['ஹR', '','ஹ்ஹ'],
 97+
 98+['நl', '','ந்த'],
 99+['ஙh', '','ங்க'],
 100+['னu', '','ன்ற'],
 101+['ணo', '','ண்ட'],
 102+['ஞ\\[', '','ஞ்ச'],
 103+['மj', '','ம்ப'],
 104+
 105+['q', '','ஆ'],
 106+['w', '','ஈ'],
 107+['e', '','ஊ'],
 108+['r', '','ஐ'],
 109+['t', '','ஏ'],
 110+['y', '','ள'],
 111+['u', '','ற'],
 112+['i', '','ன'],
 113+['o', '','ட'],
 114+['p', '','ண'],
 115+['\\[', '','ச'],
 116+['\\]', '','ஞ'],
 117+
 118+['a', '','அ'],
 119+['s', '','இ'],
 120+['d', '','உ'],
 121+['f', '','்'],
 122+['g', '','எ'],
 123+['h', '','க'],
 124+['j', '','ப'],
 125+['k', '','ம'],
 126+['l', '','த'],
 127+[';', '','ந'],
 128+["'", '','ய'],
 129+
 130+['z', '','ஔ'],
 131+['x', '','ஓ'],
 132+['c', '','ஒ'],
 133+['v', '','வ'],
 134+['b', '','ங'],
 135+['n', '','ல'],
 136+['m', '','ர'],
 137+//',', '','ஆ'],
 138+//'\\.', '','ஆ'],
 139+['/', '','ழ'],
 140+
 141+['Q', '','ஸ'],
 142+['W', '','ஷ'],
 143+['E', '','ஜ'],
 144+['R', '','ஹ'],
 145+['T', '','க்ஷ'],
 146+['Y', '','ஸ்ரீ'],
 147+['U', '','ற'],
 148+['I', '','ன'],
 149+['O', '','['],
 150+['P', '',']'],
 151+//'\\{', '','ஆ'],
 152+//'\\}', '','ஆ'],
 153+
 154+['A', '','௹'],
 155+['S', '','௺'],
 156+['D', '','௸'],
 157+['F', '','ஃ'],
 158+['G', '','எ'],
 159+['H', '','க'],
 160+['J', '','ப'],
 161+['K', '','"'],
 162+['L', '',':'],
 163+['\\:', '',';'],
 164+['"', '',"'"],
 165+
 166+['Z', '','௳'],
 167+['X', '','௴'],
 168+['C', '','௵'],
 169+['V', '','௶'],
 170+['B', '','௷'],
 171+['N', '','ல'],
 172+['M', '','/'],
 173+
 174+['\\\\0', '','\u0be6'],
 175+['\\\\1', '','௧'],
 176+['\\\\2', '','௨'],
 177+['\\\\3', '','௩'],
 178+['\\\\4', '','௪'],
 179+['\\\\5', '','௫'],
 180+['\\\\6', '','௬'],
 181+['\\\\7', '','௭'],
 182+['\\\\8', '','௮'],
 183+['\\\\9', '','௯']
 184+];
 185+
 186+jQuery.narayam.addScheme( 'ta-99', {
 187+ 'namemsg': 'narayam-ta-99',
 188+ 'extended_keyboard': false,
 189+ 'lookbackLength': 4,
 190+ 'keyBufferLength': 1,
 191+ 'rules': rules
 192+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ta-99.js
___________________________________________________________________
Added: svn:eol-style
1193 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gu-inscript.js
@@ -0,0 +1,117 @@
 2+/**
 3+ * InScript regular expression rules table for Gujarati
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-11-20
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['X', '', '\u0A81'],
 13+['x', '', '\u0A82'],
 14+['_', '', '\u0A83'],
 15+['D', '', '\u0A85'],
 16+['E', '', '\u0A86'],
 17+['F', '', '\u0A87'],
 18+['R', '', '\u0A88'],
 19+['G', '', '\u0A89'],
 20+['T', '', '\u0A8A'],
 21+['\\+', '', '\u0A8B'],
 22+['!', '', '\u0A8D'],
 23+['S', '', '\u0A8F'],
 24+['W', '', '\u0A90'],
 25+['\\|', '', '\u0A91'],
 26+['A', '', '\u0A93'],
 27+['Q', '', '\u0A94'],
 28+['k', '', '\u0A95'],
 29+['K', '', '\u0A96'],
 30+['i', '', '\u0A97'],
 31+['I', '', '\u0A98'],
 32+['U', '', '\u0A99'],
 33+[';', '', '\u0A9A'],
 34+['\\:', '', '\u0A9B'],
 35+['p', '', '\u0A9C'],
 36+['P', '', '\u0A9D'],
 37+['\\}', '', '\u0A9E'],
 38+["'", '', '\u0A9F'],
 39+['"', '', '\u0AA0'],
 40+['\\[', '', '\u0AA1'],
 41+['\\{', '', '\u0AA2'],
 42+['C', '', '\u0AA3'],
 43+['l', '', '\u0AA4'],
 44+['L', '', '\u0AA5'],
 45+['o', '', '\u0AA6'],
 46+['O', '', '\u0AA7'],
 47+['v', '', '\u0AA8'],
 48+['h', '', '\u0AAA'],
 49+['H', '', '\u0AAB'],
 50+['y', '', '\u0AAC'],
 51+['Y', '', '\u0AAD'],
 52+['c', '', '\u0AAE'],
 53+['/', '', '\u0AAF'],
 54+['j', '', '\u0AB0'],
 55+['n', '', '\u0AB2'],
 56+['N', '', '\u0AB3'],
 57+['b', '', '\u0AB5'],
 58+['M', '', '\u0AB6'],
 59+['\\<', '', '\u0AB7'],
 60+['m', '', '\u0AB8'],
 61+['u', '', '\u0AB9'],
 62+['\\}', '', '\u0ABC'],
 63+['e', '', '\u0ABE'],
 64+['f', '', '\u0ABF'],
 65+['r', '', '\u0AC0'],
 66+['g', '', '\u0AC1'],
 67+['t', '', '\u0AC2'],
 68+['\\=', '', '\u0AC3'],
 69+['\\@', '', '\u0AC5'],
 70+['s', '', '\u0AC7'],
 71+['w', '', '\u0AC8'],
 72+['\\\\', '', '\u0AC9'],
 73+['a', '', '\u0ACB'],
 74+['q', '', '\u0ACC'],
 75+['d', '', '\u0ACD'],
 76+['\\>', '', '\u0AE4'],
 77+['0', '', '\u0AE6'],
 78+['1', '', '\u0AE7'],
 79+['2', '', '\u0AE8'],
 80+['3', '', '\u0AE9'],
 81+['4', '', '\u0AEA'],
 82+['5', '', '\u0AEB'],
 83+['6', '', '\u0AEC'],
 84+['7', '', '\u0AED'],
 85+['8', '', '\u0AEE'],
 86+['9', '', '\u0AEF'],
 87+['\\#', '', '\u0ACD\u0AB0'],
 88+['\\$', '', '\u0AB0\u0ACD'],
 89+['\\%', '', '\u0A9C\u0ACD\u0A9E'],
 90+['\\^', '', '\u0AA4\u0ACD\u0AB0'],
 91+['\\&', '', '\u0A95\u0ACD\u0AB7'],
 92+['\\*', '', '\u0AB6\u0ACD\u0AB0'],
 93+['\\(', '', '\u200D'],
 94+['\\)', '', '\u200C']
 95+];
 96+
 97+var rules_x = [
 98+['F', '', '\u0A8C'],
 99+['\\>', '', '\u0ABD'],
 100+['\\=', '', '\u0AC4'],
 101+['X', '', '\u0AD0'],
 102+['\\+', '', '\u0AE0'],
 103+['R', '', '\u0AE1'],
 104+['f', '', '\u0AE2'],
 105+['r', '', '\u0AE3'],
 106+['\\.', '', '\u0AE5'],
 107+['\\<', '', '\u0AF1'],
 108+['$', '', '\u20B9']
 109+];
 110+
 111+jQuery.narayam.addScheme( 'gu-inscript', {
 112+ 'namemsg': 'narayam-gu-inscript',
 113+ 'extended_keyboard': true,
 114+ 'lookbackLength': 0,
 115+ 'keyBufferLength': 0,
 116+ 'rules': rules,
 117+ 'rules_x': rules_x
 118+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.gu-inscript.js
___________________________________________________________________
Added: svn:eol-style
1119 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-avro.js
@@ -0,0 +1,197 @@
 2+/**
 3+ * Avro layout regular expression rules table for Bengali script
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-12-05
 6+ * License: GPLv3
 7+ */
 8+
 9+var rules = [
 10+['([ক-হড়ঢ়য়])্?ররi','[^o`]', '$1ৃ'],
 11+['ররi','[^o`]', 'ঋ'],
 12+
 13+['ঙহo', '', 'ঙ্ঘ'],
 14+
 15+['([ক-হড়ঢ়য়])াZ', '[^o`]', '$1্যা'],
 16+
 17+['(([ক-হড়ঢ়য়])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK!
 18+['([ক-হড়ঢ়য়])a','[^o`]', '$1া'],
 19+['([ক-হড়ঢ়য়])i','[^o`]', '$1ি'],
 20+['([ক-হড়ঢ়য়])(I|েe)','[^o`]', '$1ী'],
 21+['([ক-হড়ঢ়য়])u','[^o`]', '$1ু'],
 22+['([ক-হড়ঢ়য়])U','[^o`]', '$1ূ'],
 23+['([ক-হড়ঢ়য়])o','[o`]', '$1ু'],
 24+['([ক-হড়ঢ়য়])e','[^o`]', '$1ে'],
 25+['([ক-হড়ঢ়য়])োI','[^o`]', '$1ৈ'],
 26+['([ক-হড়ঢ়য়])O','[^o`]', '$1ো'],
 27+['([ক-হড়ঢ়য়])োU','[^o`]', '$1ৌ'],
 28+
 29+['([ক-হড়ঢ়য়][িুেো]|[এইওউ])a','[^o`]', '$1য়া'],
 30+['([ক-হড়ঢ়য়][াে]|[আএ])o', '[^o`]', '$1ও'],
 31+//'চচh','[^o`]', 'চ্চ'],
 32+
 33+['([কঙলষস])(k|K)','[^o`]','$1্ক'],
 34+['([ঙদল])(g|G)','[^o`]','$1্গ'],
 35+['গg','[^o`]','জ্ঞ'],
 36+['([চশ])c','[^o`]','$1্চ'],
 37+['([জঞব])j','[^o`]','$1্জ'],
 38+['নj','[^o`]','ঞ্জ'],
 39+['([কটণনপলষস])T','[^o`]','$1্ট'],
 40+['([ডণনল])D','[^o`]','$1্ড'],
 41+['([গষহ])N','[^o`]','$1্ণ'],
 42+['([কতনপশসহ])t','[^o`]','$1্ত'],
 43+['([দনব])d','[^o`]','$1্দ'],
 44+['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'],
 45+['([পমলষস])p','[^o`]','$1্প'],
 46+['([স])f', '[^o`]', '$1্ফ'],
 47+['([বমল])b','[^o`]','$1্ব'],
 48+['([দম])(v|V)','[^o`]','$1্ভ'],
 49+['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'],
 50+['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্র'],
 51+['([কগপ-বমলশসহ])l','[^o`]','$1্ল'],
 52+['([কনপ])s','[^o`]','$1্স'],
 53+['([ক-হড়ঢ়য়])w','[^o`]','$1্ব'],
 54+['([ক-হড়ঢ়য়])y','[^o`]','$1্য'],
 55+['নc','[^o`]','ঞ্চ'],
 56+
 57+['ত`','`' ,'ৎ'],
 58+
 59+['ক্ক(h|H)','[^o`]','ক্ষ'],
 60+['কশ(h|H)','[^o`]','ক্ষ'],
 61+//'([অ-ঔা-ৌ])ররk','[^o]','$1র্ক'],
 62+
 63+['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'],
 64+['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'],
 65+['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'],
 66+['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'],
 67+['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'],
 68+['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'],
 69+['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'],
 70+['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'],
 71+['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'],
 72+['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'],
 73+['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'],
 74+['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'],
 75+['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'],
 76+['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'],
 77+['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'],
 78+['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'],
 79+['ররl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ল'],
 80+['ররS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্শ'],
 81+['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'],
 82+['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'],
 83+['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'],
 84+['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'],
 85+
 86+['ংo', '', 'ঙ্গ'],
 87+['ংi', '', 'ঙ্গি'],
 88+['ংI', '', 'ঙ্গী'],
 89+['(ংu|ঙ্গo)', '', 'ঙ্গু'],
 90+['ংU', '', 'ঙ্গূ'],
 91+['ং', '', 'ঙ্গি'],
 92+['ং', '', 'ঙ্গি'],
 93+
 94+['শ(h|H)','S', 'ষ'],
 95+
 96+['অo','[^`]', 'উ'],
 97+['এe','[^o`]', 'ঈ'],
 98+
 99+['ক(h|H)','[^o`]', 'খ'],
 100+['গ(h|H)','[^o`]', 'ঘ'],
 101+['ণg','[^o`]', 'ঙ'],
 102+['চ(h|H)','[^o`]', 'ছ'],
 103+['জ(h|H)','[^o`]', 'ঝ'],
 104+['ণG','[^o`]', 'ঞ'],
 105+['ট(h|H)','[^o`]', 'ঠ'],
 106+['ড(h|H)','[^o`]', 'ঢ'],
 107+['ত(h|H)','[^o`]', 'থ'],
 108+['দ(h|H)','[^o`]', 'ধ'],
 109+['প(h|H)','[^o`]', 'ফ'],
 110+['ব(h|H)','[^o`]', 'ভ'],
 111+['(স(h|H))','[^o`]', 'শ'],
 112+['ড়(h|H)','[^o`]', 'ঢ়'],
 113+['ত্`','[^o`]', 'ৎ'],
 114+['নg','[^o`]', 'ং'],
 115+['ঃ`','[^o`]', ':'],
 116+['ররi','[^o`]', 'ঋ'],
 117+['ওI','[^o`]', 'ঐ'],
 118+['ওU','[^o`]', 'ঔ'],
 119+
 120+['আ`', '', 'া'],
 121+['ই`', '', 'ি'],
 122+['ঈ`', '', 'ী'],
 123+['উ`', '', 'ু'],
 124+['ঊ`', '', 'ূ'],
 125+['এ`', '', 'ে'],
 126+['আ`', '', 'া'],
 127+['আ`', '', 'া'],
 128+['আ`', '', 'া'],
 129+['আ`', '', 'া'],
 130+['আ`', '', 'া'],
 131+['আ`', '', 'া'],
 132+
 133+['([kKqQ])','' ,'ক'],
 134+['(g|G)','' ,'গ'],
 135+['(c|C)','' ,'চ'],
 136+['(j|J)','' ,'জ'],
 137+['T','' ,'ট'],
 138+['D','' ,'ড'],
 139+['N','' ,'ণ'],
 140+['t','' ,'ত'],
 141+['d','' ,'দ'],
 142+['n','' ,'ন'],
 143+['(p|P)','' ,'প'],
 144+['f','' ,'ফ'],
 145+['(b|B)','' ,'ব'],
 146+['(v|V)','' ,'ভ'],
 147+['(m|M)','' ,'ম'],
 148+['z','' ,'য'],
 149+['r','' ,'র'],
 150+['(l|L)','' ,'ল'],
 151+['S','' ,'শ'],
 152+['s','' ,'স'],
 153+['(h|H)','' ,'হ'],
 154+['R','' ,'ড়'],
 155+['w', '', 'ও'],
 156+['x', '', 'ক্স'],
 157+['(y|Y)','' ,'য়'],
 158+
 159+['Z','' ,'্য'],
 160+
 161+['o','' ,'অ'],
 162+['(a|A)','' ,'আ'],
 163+['i','' ,'ই'],
 164+['I','' ,'ঈ'],
 165+['u','' ,'উ'],
 166+['U','' ,'ঊ'],
 167+['(e|E)','' ,'এ'],
 168+['O','' ,'ও'],
 169+
 170+['0','' ,'০'],
 171+['1','' ,'১'],
 172+['2','' ,'২'],
 173+['3','' ,'৩'],
 174+['4','' ,'৪'],
 175+['5','' ,'৫'],
 176+['6','' ,'৬'],
 177+['7','' ,'৭'],
 178+['8','' ,'৮'],
 179+['9','' ,'৯'],
 180+
 181+['\\\\\\.','' ,'.'],
 182+
 183+[',,','' ,'্'],
 184+['\\:','' ,'ঃ'],
 185+['\\^','' ,'ঁ'],
 186+['\\.','' ,'।'],
 187+['\\$','' ,'৳'],
 188+['ঃ`','' ,':'],
 189+['`','' ,'']
 190+];
 191+
 192+jQuery.narayam.addScheme( 'bn-avro', {
 193+ 'namemsg': 'narayam-bn-avro',
 194+ 'extended_keyboard': false,
 195+ 'lookbackLength': 3,
 196+ 'keyBufferLength': 5,
 197+ 'rules': rules
 198+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.bn-avro.js
___________________________________________________________________
Added: svn:eol-style
1199 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mr-inscript.js
@@ -0,0 +1,121 @@
 2+/**
 3+ * InScript regular expression rules table for Devanagari script for Marathi
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-11-20
 7+ * License: GPLv3
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['X', '', '\u0901'],
 13+['x', '', '\u0902'],
 14+['_', '', '\u0903'],
 15+['D', '', '\u0905'],
 16+['E', '', '\u0906'],
 17+['F', '', '\u0907'],
 18+['R', '', '\u0908'],
 19+['G', '', '\u0909'],
 20+['T', '', '\u090A'],
 21+['\\+', '', '\u090B'],
 22+['!', '', '\u090D'],
 23+['S', '', '\u090F'],
 24+['W', '', '\u0910'],
 25+['\\|', '', '\u0911'],
 26+['A', '', '\u0913'],
 27+['Q', '', '\u0914'],
 28+['k', '', '\u0915'],
 29+['K', '', '\u0916'],
 30+['i', '', '\u0917'],
 31+['I', '', '\u0918'],
 32+['U', '', '\u0919'],
 33+[';', '', '\u091A'],
 34+['\\:', '', '\u091B'],
 35+['p', '', '\u091C'],
 36+['P', '', '\u091D'],
 37+['\\}', '', '\u091E'],
 38+["'", '', '\u091F'],
 39+['"', '', '\u0920'],
 40+['\\[', '', '\u0921'],
 41+['\\{', '', '\u0922'],
 42+['C', '', '\u0923'],
 43+['l', '', '\u0924'],
 44+['L', '', '\u0925'],
 45+['o', '', '\u0926'],
 46+['O', '', '\u0927'],
 47+['v', '', '\u0928'],
 48+['h', '', '\u092A'],
 49+['H', '', '\u092B'],
 50+['y', '', '\u092C'],
 51+['Y', '', '\u092D'],
 52+['c', '', '\u092E'],
 53+['/', '', '\u092F'],
 54+['j', '', '\u0930'],
 55+['J', '', '\u0931'],
 56+['n', '', '\u0932'],
 57+['N', '', '\u0933'],
 58+['b', '', '\u0935'],
 59+['M', '', '\u0936'],
 60+['\\<', '', '\u0937'],
 61+['m', '', '\u0938'],
 62+['u', '', '\u0939'],
 63+['\\]', '', '\u093C'],
 64+['e', '', '\u093E'],
 65+['f', '', '\u093F'],
 66+['r', '', '\u0940'],
 67+['g', '', '\u0941'],
 68+['t', '', '\u0942'],
 69+['\\=', '', '\u0943'],
 70+['\\@', '', '\u0945'],
 71+['s', '', '\u0947'],
 72+['w', '', '\u0948'],
 73+['\\\\', '', '\u0949'],
 74+['a', '', '\u094B'],
 75+['q', '', '\u094C'],
 76+['d', '', '\u094D'],
 77+['\\>', '', '\u0964'],
 78+['0', '', '\u0966'],
 79+['1', '', '\u0967'],
 80+['2', '', '\u0968'],
 81+['3', '', '\u0969'],
 82+['4', '', '\u096A'],
 83+['5', '', '\u096B'],
 84+['6', '', '\u096C'],
 85+['7', '', '\u096D'],
 86+['8', '', '\u096E'],
 87+['9', '', '\u096F'],
 88+['\\!', '', '\u0972'],
 89+['\\#', '', '\u094D\u0930'],
 90+['\\$', '', '\u0930\u094D'],
 91+['\\%', '', '\u091C\u094D\u091E'],
 92+['\\^', '', '\u0924\u094D\u0930'],
 93+['\\&', '', '\u0915\u094D\u0937'],
 94+['\\*', '', '\u0936\u094D\u0930'],
 95+['\\(', '', '\u200D'],
 96+['\\)', '', '\u200C']
 97+];
 98+
 99+var rules_x = [
 100+['F', '', '\u090C'],
 101+['\\>', '', '\u093D'],
 102+['\\=', '', '\u0944'],
 103+['X', '', '\u0950'],
 104+['e', '', '\u0951'],
 105+['d', '', '\u0952'],
 106+['\\+', '', '\u0960'],
 107+['R', '', '\u0961'],
 108+['f', '', '\u0962'],
 109+['r', '', '\u0963'],
 110+['\\.', '', '\u0965'],
 111+[',', '', '\u0970'],
 112+['\\$', '', '\u20B9']
 113+];
 114+
 115+jQuery.narayam.addScheme( 'mr-inscript', {
 116+ 'namemsg': 'narayam-mr-inscript',
 117+ 'extended_keyboard': true,
 118+ 'lookbackLength': 0,
 119+ 'keyBufferLength': 0,
 120+ 'rules': rules,
 121+ 'rules_x': rules_x
 122+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mr-inscript.js
___________________________________________________________________
Added: svn:eol-style
1123 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ml.js
@@ -0,0 +1,336 @@
 2+/**
 3+ * Transliteration regular expression rules table for Malayalam
 4+ * @author Junaid P V ([[user:Junaidpv]]) with extensive advise from Thachan Makan ([[user:Thachan.makan]])
 5+ * @date 2010-05-19 (update: 2010-12-11)
 6+ * @credits Malayalam Wikimedia Community, especialy Thachan Makan ([[user:Thachan.makan]])
 7+ * License: GPLv3
 8+ */
 9+
 10+// Normal rules
 11+var rules = [
 12+['(\u200c)+a', '', 'അ'],
 13+['(\u200c)+A', '', 'ആ'],
 14+['(\u200c)+i', '', 'ഇ'],
 15+['(\u200c)+u', '', 'ഉ'],
 16+['(\u200c)+U', '', 'ഊ'],
 17+['(\u200c)+R', '', 'ഋ'],
 18+['(\u200c)+e', '', 'എ'],
 19+['(\u200c)+E', '', 'ഏ'],
 20+['(\u200c)+I', '', 'ഐ'],
 21+['(\u200c)+o', '', 'ഒ'],
 22+['(\u200c)+O', '', 'ഓ'],
 23+['(\u200c)+H', '', 'ഃ'],
 24+['ൻൿh','nc','ഞ്ച്'],
 25+['ൿh','c', 'ച്'],
 26+['ക്ക്h','cc', 'ച്ച്'],
 27+['ല്പ്p','lp','ൽപ്പ്'],
 28+
 29+['\\\\([A-Za-z\\>_~])','\\\\','$1'],
 30+
 31+['([ക-ഹ])്R', '', '$1ൃ'],
 32+['ന്ന്j', '', 'ഞ്ഞ്'],
 33+['ന്ന്g', '', 'ങ്ങ്'],
 34+['റ്റ്h', '', 'ത്'],
 35+['റ്റ്t', '', 'ട്ട്'],
 36+['ന്റ്h', '', 'ന്ത്'],
 37+['([ക-ഹ])്ല്l', 'L', '$1\u0d62'],
 38+['([ക-ഹ])\u0d62l', '', '$1\u0d63'],
 39+['([അ-ഊഌഎ-ഐഒ-ഹ])([ഽ-ൂെ-ൌൗ])+R', '', '$1$2റ്'],
 40+['([ക-ഹ])ൃa', '', '$1്ര'],
 41+['([ക-ഹ])ൃA', '', '$1്രാ'],
 42+['([ക-ഹ])ൃi', '', '$1്രി'],
 43+['([ക-ഹ])ൃI', '', '$1്രീ'],
 44+['([ക-ഹ])ൃu', '', '$1്രു'],
 45+['([ക-ഹ])ൃU', '', '$1്രൂ'],
 46+['([ക-ഹ])ൃe', '', '$1്രെ'],
 47+['([ക-ഹ])ൃE', '', '$1്രേ'],
 48+['([ക-ഹ])ൃo', '', '$1്രൊ'],
 49+['([ക-ഹ])ൃO', '', '$1്രോ'],
 50+['([ക-ഹ])്(l|L)', '', '$1്ല്'],
 51+['അa', '', 'ആ'],
 52+['അi', '', 'ഐ'],
 53+['അu', '', 'ഔ'],
 54+['ഇi', '', 'ഈ'],
 55+['ഉu', '', 'ഊ'],
 56+['ഊo', '', 'ഊഊ'],
 57+['ഋR', '', 'ൠ'],
 58+['ഋa', '', 'റ'],
 59+['ഋA', '', 'റാ'],
 60+['ഋi', '', 'റി'],
 61+['ഋI', '', 'റീ'],
 62+['ഋu', '', 'റു'],
 63+['ഋU', '', 'റൂ'],
 64+['ഋe', '', 'റെ'],
 65+['ഋE', '', 'റേ'],
 66+['ഋo', '', 'റൊ'],
 67+['ഋO', '', 'റോ'],
 68+['ഋ~', '', 'റ്'],
 69+['ഌl', '', 'ൡ'],
 70+['എe', '', 'ഈ'],
 71+['ഒo', '', 'ഊ'],
 72+['ാa', '', 'ാാ'],
 73+['ീi', '', 'ീീ'],
 74+['ൂu', '', 'ൂൂ'],
 75+['ൂo', '', 'ൂൂ'],
 76+['ൄR', '', 'ൄൄ'],
 77+['േE', '', 'േേ'],
 78+['ോO', '', 'ോോ'],
 79+['ൗu', '', 'ൗൗ'],
 80+['\u0d62\\^', '', '\u0d63'],
 81+['\u0d63\\^', '', '\u0d63\u0d63'],
 82+['ക്h', '', 'ഖ്'],
 83+['ഗ്h', '', 'ഘ്'],
 84+['ൻg', '', 'ങ്'],
 85+['ച്h', '', 'ഛ്'],
 86+['ജ്h', '', 'ഝ്'],
 87+['ട്h', '', 'ഠ്'],
 88+['ഡ്h', '', 'ഢ്'],
 89+['ത്h', '', 'ഥ്'],
 90+['ദ്h', '', 'ധ്'],
 91+['പ്h', '', 'ഫ്'],
 92+['ബ്h', '', 'ഭ്'],
 93+['ംa', '', 'മ'],
 94+['ംA', '', 'മാ'],
 95+['ംi', '', 'മി'],
 96+['ംI', '', 'മീ'],
 97+['ംu', '', 'മു'],
 98+['ംU', '', 'മൂ'],
 99+['ംR', '', 'മൃ'],
 100+['ംe', '', 'മെ'],
 101+['ംE', '', 'മേ'],
 102+['ംo', '', 'മൊ'],
 103+['ംO', '', 'മോ'],
 104+['ംm', '', 'മ്മ്'],
 105+['([^സ])ംr', '', '$1മ്ര്'],
 106+['ംp', '', 'മ്പ്'],
 107+['([^സ])ം(l|L)', '', '$1മ്ല്'],
 108+['ം~', '', 'മ്'],
 109+['([^സ])ംn', '', '$1മ്ന്'],
 110+['([^സ])ംy', '', '$1മ്യ്'],
 111+['സ്h', '', 'ഷ്'],
 112+['ശ്h', '', 'ഴ്'],
 113+['ൺ\\\\\\\\', '', 'ണ്\u200d'], // old style chillu N
 114+['ൺ~', '', 'ണ്'],
 115+['ൺR', '', 'ണൃ'],
 116+['ൺN', '', 'ണ്ണ്'],
 117+['ൺT', '', 'ണ്ട്'],
 118+['ൺD', '', 'ണ്ഡ്'],
 119+['ൺy', '', 'ണ്യ്'],
 120+['ൺv', '', 'ണ്വ്'],
 121+['ൺm', '', 'ണ്മ്'],
 122+['ൻ\\\\\\\\', '', 'ന്\u200d'], // old style chillu n
 123+['ൻ~', '', 'ന്'],
 124+['ൻr', '', 'ന്ര്'],
 125+['ൻR', '', 'നൃ'],
 126+['ൻk', '', 'ങ്ക്'],
 127+['ൻj', '', 'ഞ്'],
 128+['ൻn', '', 'ന്ന്'],
 129+['ൻd', '', 'ന്ദ്'],
 130+['ൻt', '', 'ന്റ്'],
 131+['ൻm', '', 'ന്മ്'],
 132+['ൻL', '', 'ന്ല്'],
 133+['ൻv', '', 'ന്വ്'],
 134+['ൻy', '', 'ന്യ്'],
 135+['ർ\\\\\\\\', '', 'ര്\u200d'], // old style chill r
 136+['ർ~', '', 'ര്'],
 137+['ർr', '', 'റ്'],
 138+['ർR', '', 'രൃ'],
 139+['ർy', '', 'ര്യ്'],
 140+['ൽ\\\\\\\\', '', 'ല്\u200d'], // old style chillu l
 141+['ൽ~', '', 'ല്'],
 142+['ൽR', '', 'ലൃ'],
 143+['ൽ(l|L)', '', 'ല്ല്'],
 144+['ൽp', '', 'ല്പ്'],
 145+['ൽy', '', 'ല്യ്'],
 146+['ൽv', '', 'ല്വ്'],
 147+['ൾ\\\\\\\\', '', 'ള്\u200d'], // old style chillu L
 148+['ൾ~', '', 'ള്'],
 149+['ൾR', '', 'ളൃ'],
 150+['ൾL', '', 'ള്ള്'],
 151+['ൾy', '', 'ള്യ്'],
 152+['ൾl', '', 'ഌ'],
 153+['ൿ\\\\\\\\', '', 'ക്\u200d'], // old style chillu k
 154+['ൿR', '', 'കൃ'],
 155+['ൿy', '', 'ക്യ്'],
 156+['ൿ(l|L)', '', 'ക്ല്'],
 157+['ൿv', '', 'ക്വ്'],
 158+['ൿ(k|c)', '', 'ക്ക്'],
 159+['([ക-ഹ])a', '', '$1ാ'],
 160+['([ക-ഹ])്a', '', '$1'],
 161+['ൺa', '', 'ണ'],
 162+['ൻa', '', 'ന'],
 163+['ർa', '', 'ര'],
 164+['ൽa', '', 'ല'],
 165+['ൾa', '', 'ള'],
 166+['ൿa', '', 'ക'],
 167+['([ക-ഹ])്A', '', '$1ാ'],
 168+['ൺA', '', 'ണാ'],
 169+['ൻA', '', 'നാ'],
 170+['ർA', '', 'രാ'],
 171+['ൽA', '', 'ലാ'],
 172+['ൾA', '', 'ളാ'],
 173+['ൿA', '', 'കാ'],
 174+['([ക-ഹ])്i', '', '$1ി'],
 175+['ൺi', '', 'ണി'],
 176+['ൻi', '', 'നി'],
 177+['ർi', '', 'രി'],
 178+['ൽi', '', 'ലി'],
 179+['ൾi', '', 'ളി'],
 180+['ൿi', '', 'കി'],
 181+['([ക-ഹ])്I', '', '$1ീ'],
 182+['ൺI', '', 'ണീ'],
 183+['ൻI', '', 'നീ'],
 184+['ർI', '', 'രീ'],
 185+['ൽI', '', 'ലീ'],
 186+['ൾI', '', 'ളീ'],
 187+['ൿI', '', 'കീ'],
 188+['([ക-ഹ])ിi', '', '$1ീ'],
 189+['([ക-ഹ])െe', '', '$1ീ'],
 190+['([ക-ഹ])്u', '', '$1ു'],
 191+['ൺu', '', 'ണു'],
 192+['ൻu', '', 'നു'],
 193+['ർu', '', 'രു'],
 194+['ൽu', '', 'ലു'],
 195+['ൾu', '', 'ളു'],
 196+['ൿu', '', 'കു'],
 197+['([ക-ഹ])്U', '', '$1ൂ'],
 198+['([ക-ഹ])ുu', '', '$1ൂ'],
 199+['ൺU', '', 'ണൂ'],
 200+['ൻU', '', 'നൂ'],
 201+['ർU', '', 'രൂ'],
 202+['ൽU', '', 'ലൂ'],
 203+['ൾU', '', 'ളൂ'],
 204+['ൿU', '', 'കൂ'],
 205+['([ക-ഹ])ൊo', '', '$1ൂ'],
 206+['([ക-ഹ])ൃR', '', '$1ൄ'],
 207+['([ക-ഹ])്e', '', '$1െ'],
 208+['ൺe', '', 'ണെ'],
 209+['ൻe', '', 'നെ'],
 210+['ർe', '', 'രെ'],
 211+['ൽe', '', 'ലെ'],
 212+['ൾe', '', 'ളെ'],
 213+['ൿe', '', 'കെ'],
 214+['([ക-ഹ])്E', '', '$1േ'],
 215+['ൺE', '', 'ണേ'],
 216+['ൻE', '', 'നേ'],
 217+['ർE', '', 'രേ'],
 218+['ൽE', '', 'ലേ'],
 219+['ൾE', '', 'ളേ'],
 220+['ൿE', '', 'കേ'],
 221+['([ക-ഹ])i', '', '$1ൈ'],
 222+['([ക-ഹ])്o', '', '$1ൊ'],
 223+['ൺo', '', 'ണൊ'],
 224+['ൻo', '', 'നൊ'],
 225+['ർo', '', 'രൊ'],
 226+['ൽo', '', 'ലൊ'],
 227+['ൾo', '', 'ളൊ'],
 228+['ൿo', '', 'കൊ'],
 229+['([ക-ഹ])്O', '', '$1ോ'],
 230+['ൺO', '', 'ണോ'],
 231+['ൻO', '', 'നോ'],
 232+['ർO', '', 'രോ'],
 233+['ൽO', '', 'ലോ'],
 234+['ൾO', '', 'ളോ'],
 235+['ൿO', '', 'കോ'],
 236+['([ക-ഹ])u', '', '$1ൗ'],
 237+['([ക-ഹ])U', '', '$1ൌ'],
 238+['([അ-്])m', '', '$1ം'],
 239+['\\\\0', '', '൦'], // escape to ml digit 0 by \0
 240+['\\\\1', '', '൧'], // escape to ml digit 1 by \1
 241+['\\\\2', '', '൨'], // escape to ml digit 2 by \2
 242+['\\\\3', '', '൩'], // escape to ml digit 3 by \3
 243+['\\\\4', '', '൪'], // escape to ml digit 4 by \4
 244+['\\\\5', '', '൫'], // escape to ml digit 5 by \5
 245+['\\\\6', '', '൬'], // escape to ml digit 6 by \6
 246+['\\\\7', '', '൭'], // escape to ml digit 7 by \7
 247+['\\\\8', '', '൮'], // escape to ml digit 8 by \8
 248+['\\\\9', '', '൯'], // escape to ml digit 9 by \9
 249+['മ്\\\\', '', 'ം'],
 250+['ആ\\\\', '', 'ാ'],
 251+['ഇ\\\\', '', 'ി'],
 252+['ഈ\\\\', '', 'ീ'],
 253+['ഉ\\\\', '', 'ു'],
 254+['ഊ\\\\', '', 'ൂ'],
 255+['ഋ\\\\', '', 'ൃ'],
 256+['ൠ\\\\', '', 'ൄ'],
 257+['എ\\\\', '', 'െ'],
 258+['ഏ\\\\', '', 'േ'],
 259+['ഐ\\\\', '', 'ൈ'],
 260+['ഒ\\\\', '', 'ൊ'],
 261+['ഓ\\\\', '', 'ോ'],
 262+['ഔ\\\\', '', 'ൗ'],
 263+['ൗ\\\\', '', 'ൌ'],
 264+['ഌ\\\\', '', 'ൢ'],
 265+['ൡ\\\\', '', 'ൣ'],
 266+['(([ൺ-ൿം])\u200c+)?A', '', '$2ആ'],
 267+['(([ൺ-ൿം])\u200c+)?B', '', '$2ബ്ബ്'],
 268+['(([ൺ-ൿം])\u200c+)?C', '', '$2ച്ച്'],
 269+['(([ൺ-ൿം])\u200c+)?D', '', '$2ഡ്'],
 270+['(([ൺ-ൿം])\u200c+)?E', '', '$2ഏ'],
 271+['(([ൺ-ൿം])\u200c+)?F', '', '$2ഫ്'],
 272+['(([ൺ-ൿം])\u200c+)?G', '', '$2ഗ്ഗ്'],
 273+['(([ൺ-ൿം])\u200c+)?H', '', '$2ഃ'],
 274+['(([ൺ-ൿം])\u200c+)?I', '', '$2ഐ'],
 275+['(([ൺ-ൿം])\u200c+)?J', '', '$2ജ്ജ്'],
 276+['(([ൺ-ൿം])\u200c+)?K', '', '$2ക്ക്'],
 277+['(([ൺ-ൿം])\u200c+)?L', '', '$2ൾ'],
 278+['(([ൺ-ൿം])\u200c+)?M', '', '$2മ്മ്'],
 279+['(([ൺ-ൿം])\u200c+)?N', '', '$2ൺ'],
 280+['(([ൺ-ൿം])\u200c+)?O', '', '$2ഓ'],
 281+['(([ൺ-ൿം])\u200c+)?P', '', '$2പ്പ്'],
 282+['(([ൺ-ൿം])\u200c+)?Q', '', '$2ക്യ്'],
 283+['(([ൺ-ൿം])\u200c+)?R', '', '$2ഋ'],
 284+['(([ൺ-ൿം])\u200c+)?(S|z)', '', '$2ശ്'],
 285+['(([ൺ-ൿം])\u200c+)?T', '', '$2ട്'],
 286+['(([ൺ-ൿം])\u200c+)?U', '', '$2ഊ'],
 287+['(([ൺ-ൿം])\u200c+)?(V|W)', '', '$2വ്വ്'],
 288+['(([ൺ-ൿം])\u200c+)?X', '', '$2ക്ഷ്'],
 289+['(([ൺ-ൿം])\u200c+)?Y', '', '$2യ്യ്'],
 290+['(([ൺ-ൿം])\u200c+)?Z', '', '$2ശ്ശ്'],
 291+['(([ൺ-ൿം])\u200c+)?a', '', '$2അ'],
 292+['(([ൺ-ൿം])\u200c+)?b', '', '$2ബ്'],
 293+['(([ൺ-ൿം])\u200c+)?c', '', '$2ൿ'],
 294+['(([ൺ-ൿം])\u200c+)?d', '', '$2ദ്'],
 295+['(([ൺ-ൿം])\u200c+)?e', '', '$2എ'],
 296+['(([ൺ-ൿം])\u200c+)?f', '', '$2ഫ്'],
 297+['(([ൺ-ൿം])\u200c+)?g', '', '$2ഗ്'],
 298+['(([ൺ-ൿം])\u200c+)?h', '', '$2ഹ്'],
 299+['(([ൺ-ൿം])\u200c+)?i', '', '$2ഇ'],
 300+['(([ൺ-ൿം])\u200c+)?j', '', '$2ജ്'],
 301+['(([ൺ-ൿം])\u200c+)?k', '', '$2ക്'],
 302+['(([ൺ-ൿം])\u200c+)?l', '', '$2ൽ'],
 303+['(([ൺ-ൿം])\u200c+)?m', '', '$2മ്'],
 304+['(([ൺ-ൿം])\u200c+)?n', '', '$2ൻ'],
 305+['(([ൺ-ൿം])\u200c+)?o', '', '$2ഒ'],
 306+['(([ൺ-ൿം])\u200c+)?p', '', '$2പ്'],
 307+['(([ൺ-ൿം])\u200c+)?q', '', '$2ക്ക്'],
 308+['(([ൺ-ൿം])\u200c+)?r', '', '$2ർ'],
 309+['(([ൺ-ൿം])\u200c+)?s', '', '$2സ്'],
 310+['(([ൺ-ൿം])\u200c+)?t', '', '$2റ്റ്'], // tta according to 5.1
 311+['(([ൺ-ൿം])\u200c+)?u', '', '$2ഉ'],
 312+['(([ൺ-ൿം])\u200c+)?(v|w)', '', '$2വ്'],
 313+['(([ൺ-ൿം])\u200c+)?x', '', '$2ക്ഷ്'],
 314+['(([ൺ-ൿം])\u200c+)?y', '', '$2യ്'],
 315+['(([ൺ-ൿം])\u200c+)?~', '', '$2്'],
 316+['(\u200C)*_', '', '\u200c'],
 317+['//', '', 'ऽ'],
 318+['1/4\\\\', '', '൳'],
 319+['1/2\\\\', '', '൴'],
 320+['3/4\\\\', '', '൵'],
 321+['10\\\\', '', '\u0D70'],
 322+['100\\\\', '', '\u0D71'],
 323+['1000\\\\', '', '\u0D72'],
 324+['\\-\\-\\-\\\\', '', '—'], // em dash
 325+['\\-\\-\\\\', '', '–'], // en dash
 326+['\\\\\\-', '', '−'],
 327+['\\\\\\*', '', '×'],
 328+['\\\\/', '', '÷']
 329+];
 330+
 331+jQuery.narayam.addScheme( 'ml', {
 332+ 'namemsg': 'narayam-ml',
 333+ 'extended_keyboard': false,
 334+ 'lookbackLength': 6,
 335+ 'keyBufferLength': 2,
 336+ 'rules': rules
 337+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.ml.js
___________________________________________________________________
Added: svn:eol-style
1338 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.kn.js
@@ -0,0 +1,149 @@
 2+/**
 3+ * Transliteration regular expression rules table for Kannada
 4+ * @author M G Harish [[user:M G Harish]]
 5+ * Modified by User:HPNadig (User:HPN on en)
 6+ * @date 2010-12-25
 7+ * License: GPLv3
 8+ */
 9+ var rules = [
 10+['ಕ್h','c','ಚ್'],
 11+['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
 12+// For users accustomed to Baraha
 13+['ಜ್್j', '','ಜ್ಞ್'],
 14+['([ಕ-ಹೞ]಼?)್a', '','$1'],
 15+['([ಕ-ಹೞ]಼?)್A', '','$1ಾ'],
 16+['([ಕ-ಹೞ]಼?)a', '','$1ಾ'],
 17+['([ಕ-ಹೞ]಼?)್i', '','$1ಿ'],
 18+['([ಕ-ಹೞ]಼?)(್I|ಿi|ೆe)', '','$1ೀ'],
 19+['([ಕ-ಹೞ]಼?)್u', '','$1ು'],
 20+['([ಕ-ಹೞ]಼?)(ುu|್U|ೊo)', '','$1ೂ'],
 21+['([ಕ-ಹೞ]಼?)್R', '','$1ೃ'],
 22+['([ಕ-ಹೞ]಼?)ೃR', '','$1ೄ'],
 23+['([ಕ-ಹೞ]಼?)್e', '','$1ೆ'],
 24+['([ಕ-ಹೞ]಼?)್E', '','$1ೇ'],
 25+['([ಕ-ಹೞ]಼?)i', '','$1ೈ'],
 26+['([ಕ-ಹೞ]಼?)್o', '','$1ೊ'],
 27+['([ಕ-ಹೞ]಼?)್O', '','$1ೋ'],
 28+['([ಕ-ಹೞ]಼?)u', '','$1ೌ'],
 29+['([ಕ-ಹೞ])್\\`', '','$1़್'],
 30+
 31+['ಅa', '','ಆ'],
 32+['(ಒo|ಉu)', '','ಊ'],
 33+['ಅi', '','ಐ'],
 34+['(ಇi|ಎe)', '','ಈ'],
 35+['ಅu', '','ಔ'],
 36+['ಋR', '','ೠ'],
 37+['ಓ~M', '','ॐ'],
 38+
 39+['~l', '','ೞ್'],
 40+['~r', '','ಱ್'],
 41+['q', '','ೞ್'],
 42+['Q', '','ಱ್'],
 43+['ಕ್h', '','ಖ್'],
 44+['ಗ್h', '','ಘ್'],
 45+['~g', '','ಙ್'],
 46+['~N', '','ಙ್'],
 47+['ಚ್h', '','ಛ್'],
 48+['ಜ್h', '','ಝ್'],
 49+['~j', '','ಞ್'],
 50+['~n', '','ಞ್'],
 51+['ಟ್h', '','ಠ್'],
 52+['ಡ್h', '','ಢ್'],
 53+['ತ್h', '','ಥ್'],
 54+['ದ್h', '','ಧ್'],
 55+['ಪ್h', '','ಫ್'],
 56+['ಬ್h', '','ಭ್'],
 57+['ಸ್h', '','ಶ್'],
 58+['ಶ್h', '','ಷ್'],
 59+
 60+
 61+['ಋa', '','ರ'],
 62+['ಋA', '','ರಾ'],
 63+['ಋi', '','ರಿ'],
 64+['ಋI', '','ರೀ'],
 65+['ಋu', '','ರು'],
 66+['ಋU', '','ರೂ'],
 67+['ಋe', '','ರೆ'],
 68+['ಋE', '','ರೇ'],
 69+
 70+['X', '','‌'], // 0x200C Zero width non-joiner
 71+['x', '','‍'], // 0x200D Zero width joiner
 72+
 73+['([ಕ-ಹೞ]಼?)ೃa', '','$1್ರ'],
 74+['([ಕ-ಹೞ]಼?)ೃA', '','$1್ರಾ'],
 75+['([ಕ-ಹೞ]಼?)ೃi', '','$1್ರಿ'],
 76+['([ಕ-ಹೞ]಼?)ೃI', '','$1್ರೀ'],
 77+['([ಕ-ಹೞ]಼?)ೃu', '','$1್ರು'],
 78+['([ಕ-ಹೞ]಼?)ೃU', '','$1್ರೂ'],
 79+['([ಕ-ಹೞ]಼?)ೃe', '','$1್ರೆ'],
 80+['([ಕ-ಹೞ]಼?)ೃE', '','$1್ರೇ'],
 81+['([ಕ-ಹೞ]಼?)ೃo', '','$1್ರೊ'],
 82+['([ಕ-ಹೞ]಼?)ೃO', '','$1್ರೋ'],
 83+['([ಕ-ಹೞ]಼?)ೃ\\~', '','$1್ರ್'],
 84+
 85+['।\\.', '','॥'],
 86+
 87+['a', '','ಅ'],
 88+['b', '','ಬ್'],
 89+['c', '','ಚ್'],
 90+['d', '','ದ್'],
 91+['e', '','ಎ'],
 92+['g', '','ಗ್'],
 93+['h', '','ಹ್'],
 94+['i', '','ಇ'],
 95+['j', '','ಜ್'],
 96+['k', '','ಕ್'],
 97+['l', '','ಲ್'],
 98+['m', '','ಮ್'],
 99+['n', '','ನ್'],
 100+['o', '','ಒ'],
 101+['p', '','ಪ್'],
 102+['r', '','ರ್'],
 103+['s', '','ಸ್'],
 104+['t', '','ತ್'],
 105+['u', '','ಉ'],
 106+['(v|w)', '','ವ್'],
 107+['y', '','ಯ್'],
 108+['A', '','ಆ'],
 109+['B', '','ಭ್'],
 110+['C', '','ಛ್'],
 111+['D', '','ಡ್'],
 112+['E', '','ಏ'],
 113+['G', '','ಘ್'],
 114+['H', '','ಃ'],
 115+['I', '','ಈ'],
 116+['J', '','ಝ್'],
 117+['K', '','ಖ್'],
 118+['L', '','ಳ್'],
 119+['M', '','ಂ'],
 120+['N', '','ಣ್'],
 121+['O', '','ಓ'],
 122+['P', '','ಫ್'],
 123+['R', '','ಋ'],
 124+['S', '','ಶ್'],
 125+['T', '','ಟ್'],
 126+['U', '','ಊ'],
 127+['(V|W)', '','ವ್'],
 128+['Y', '','ಯ್'],
 129+['(z|Z)', '','ಜ಼್'],
 130+['(f|F)', '','ಫ಼್'],
 131+['0', '','೦'],
 132+['1', '','೧'],
 133+['2', '','೨'],
 134+['3', '','೩'],
 135+['4', '','೪'],
 136+['5', '','೫'],
 137+['6', '','೬'],
 138+['7', '','೭'],
 139+['8', '','೮'],
 140+['9', '','೯'],
 141+['//', '','ಽ']
 142+];
 143+
 144+jQuery.narayam.addScheme( 'kn', {
 145+ 'namemsg': 'narayam-kn',
 146+ 'extended_keyboard': false,
 147+ 'lookbackLength': 3,
 148+ 'keyBufferLength': 1,
 149+ 'rules': rules
 150+} );
\ No newline at end of file
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.kn.js
___________________________________________________________________
Added: svn:eol-style
1151 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or-inscript.js
@@ -0,0 +1,109 @@
 2+/**
 3+ * InScript regular expression rules table for Oriya script
 4+ * According to CDAC's "Enhanced InScript Keyboard Layout 5.2"
 5+ * @author Junaid P V ([[user:Junaidpv]])
 6+ * @date 2011-02-28
 7+ * License: GPLv3
 8+ */
 9+
 10+var rules = [
 11+['X', '', '\u0B01'],
 12+['x', '', '\u0B02'],
 13+['_', '', '\u0B03'],
 14+['D', '', '\u0B05'],
 15+['E', '', '\u0B06'],
 16+['F', '', '\u0B07'],
 17+['R', '', '\u0B08'],
 18+['G', '', '\u0B09'],
 19+['T', '', '\u0B0A'],
 20+['\\+', '', '\u0B0B'],
 21+['S', '', '\u0B0F'],
 22+['W', '', '\u0B10'],
 23+['A', '', '\u0B13'],
 24+['Q', '', '\u0B14'],
 25+['k', '', '\u0B15'],
 26+['K', '', '\u0B16'],
 27+['i', '', '\u0B17'],
 28+['I', '', '\u0B18'],
 29+['U', '', '\u0B19'],
 30+[';', '', '\u0B1A'],
 31+['\\:', '', '\u0B1B'],
 32+['p', '', '\u0B1C'],
 33+['P', '', '\u0B1D'],
 34+['\\}', '', '\u0B1E'],
 35+['`', '', '\u0B1F'],
 36+['~', '', '\u0B20'],
 37+['\\[', '', '\u0B21'],
 38+['\\{', '', '\u0B22'],
 39+['C', '', '\u0B23'],
 40+['l', '', '\u0B24'],
 41+['L', '', '\u0B25'],
 42+['o', '', '\u0B26'],
 43+['O', '', '\u0B27'],
 44+['v', '', '\u0B28'],
 45+['h', '', '\u0B2A'],
 46+['H', '', '\u0B2B'],
 47+['y', '', '\u0B2C'],
 48+['Y', '', '\u0B2D'],
 49+['c', '', '\u0B2E'],
 50+['\\?', '', '\u0B2F'],
 51+['j', '', '\u0B30'],
 52+['n', '', '\u0B32'],
 53+['N', '', '\u0B33'],
 54+['M', '', '\u0B36'],
 55+['\\<', '', '\u0B37'],
 56+['m', '', '\u0B38'],
 57+['u', '', '\u0B39'],
 58+['\\]', '', '\u0B3C'],
 59+['e', '', '\u0B3E'],
 60+['f', '', '\u0B3F'],
 61+['r', '', '\u0B40'],
 62+['g', '', '\u0B41'],
 63+['t', '', '\u0B42'],
 64+['\\=', '', '\u0B43'],
 65+['s', '', '\u0B47'],
 66+['w', '', '\u0B48'],
 67+['a', '', '\u0B4B'],
 68+['q', '', '\u0B4C'],
 69+['d', '', '\u0B4D'],
 70+['/', '', '\u0B5F'],
 71+['\\>', '', '\u0B64'],
 72+['0', '', '\u0B66'],
 73+['1', '', '\u0B67'],
 74+['2', '', '\u0B68'],
 75+['3', '', '\u0B69'],
 76+['4', '', '\u0B6A'],
 77+['5', '', '\u0B6B'],
 78+['6', '', '\u0B6C'],
 79+['7', '', '\u0B6D'],
 80+['8', '', '\u0B6E'],
 81+['9', '', '\u0B6F'],
 82+['b', '', '\u0B71'],
 83+['\\(', '', '\u200D'],
 84+['\\)', '', '\u200C']
 85+];
 86+
 87+var rules_x = [
 88+['F', '', '\u0B0C'],
 89+['b', '', '\u0B35'],
 90+['\\>', '', '\u0B3D'],
 91+['\\=', '', '\u0B44'],
 92+['\\[', '', '\u0B5C'],
 93+['\\{', '', '\u0B5D'],
 94+['\\+', '', '\u0B60'],
 95+['R', '', '\u0B61'],
 96+['f', '', '\u0B62'],
 97+['r', '', '\u0B63'],
 98+['\\.', '', '\u0B65'],
 99+['x', '', '\u0B70'],
 100+['\\$', '', '\u20B9']
 101+];
 102+
 103+jQuery.narayam.addScheme( 'or-inscript', {
 104+ 'namemsg': 'narayam-or-inscript',
 105+ 'extended_keyboard': true,
 106+ 'lookbackLength': 0,
 107+ 'keyBufferLength': 0,
 108+ 'rules': rules,
 109+ 'rules_x': rules_x
 110+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or-inscript.js
___________________________________________________________________
Added: svn:eol-style
1111 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sah-standard.js
@@ -0,0 +1,104 @@
 2+/**
 3+ * Transliteration rules table for standard Sakha keyboard
 4+ * @author Amir (Алексей) Aharoni ([[User:Amire80]])
 5+ * @date 2011-11-24
 6+ * License: GPLv3, CC-BY-SA 3.0
 7+ */
 8+
 9+ // Normal rules
 10+var rules = [
 11+['Q', '', 'Й'],
 12+['W', '', 'Ц'],
 13+['E', '', 'У'],
 14+['R', '', 'К'],
 15+['T', '', 'Е'],
 16+['Y', '', 'Н'],
 17+['U', '', 'Г'],
 18+['I', '', 'Ш'],
 19+['O', '', 'Щ'],
 20+['P', '', 'З'],
 21+['{', '', 'Х'],
 22+['}', '', 'Ъ'],
 23+['A', '', 'Ф'],
 24+['S', '', 'Ы'],
 25+['D', '', 'В'],
 26+['F', '', 'А'],
 27+['G', '', 'П'],
 28+['H', '', 'Р'],
 29+['J', '', 'О'],
 30+['K', '', 'Л'],
 31+['L', '', 'Д'],
 32+[':', '', 'Ж'],
 33+['"', '', 'Э'],
 34+['Z', '', 'Я'],
 35+['X', '', 'Ч'],
 36+['C', '', 'С'],
 37+['V', '', 'М'],
 38+['B', '', 'И'],
 39+['N', '', 'Т'],
 40+['M', '', 'Ь'],
 41+['<', '', 'Б'],
 42+['>', '', 'Ю'],
 43+['\\?', '', ','],
 44+
 45+['q', '', 'й'],
 46+['w', '', 'ц'],
 47+['e', '', 'у'],
 48+['r', '', 'к'],
 49+['t', '', 'е'],
 50+['y', '', 'н'],
 51+['u', '', 'г'],
 52+['i', '', 'ш'],
 53+['o', '', 'щ'],
 54+['p', '', 'з'],
 55+['\\[', '', 'х'],
 56+['\\]', '', 'ъ'],
 57+['a', '', 'ф'],
 58+['s', '', 'ы'],
 59+['d', '', 'в'],
 60+['f', '', 'а'],
 61+['g', '', 'п'],
 62+['h', '', 'р'],
 63+['j', '', 'о'],
 64+['k', '', 'л'],
 65+['l', '', 'д'],
 66+[';', '', 'ж'],
 67+['\'', '', 'э'],
 68+['z', '', 'я'],
 69+['x', '', 'ч'],
 70+['c', '', 'с'],
 71+['v', '', 'м'],
 72+['b', '', 'и'],
 73+['n', '', 'т'],
 74+['m', '', 'ь'],
 75+[',', '', 'б'],
 76+['\\.', '', 'ю'],
 77+['/', '', '.'],
 78+
 79+['`', '', '"'],
 80+['~', '', '№'],
 81+
 82+['1', '', '!'], // 1
 83+['!', '', '?'], // 1
 84+// 2, 3 - ?
 85+['4', '', 'ҥ'], // 4
 86+['\\$', '', 'Ҥ'], // 4
 87+['5', '', 'ҕ'], // 5
 88+['%', '', 'Ҕ'], // 5
 89+['6', '', 'ө'], // 6
 90+['\\^', '', 'Ө'], // 6
 91+['7', '', 'һ'], // 7
 92+['&', '', 'Һ'], // 7
 93+['8', '', 'ү'], // 8
 94+['\\*', '', 'Ү'], // 8
 95+['9', '', ';'], // 9
 96+['0', '', ':'] // 0
 97+];
 98+
 99+jQuery.narayam.addScheme( 'sah-standard', {
 100+ 'namemsg': 'narayam-sah-standard',
 101+ 'extended_keyboard': false,
 102+ 'lookbackLength': 0,
 103+ 'keyBufferLength': 0,
 104+ 'rules': rules
 105+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.sah-standard.js
___________________________________________________________________
Added: svn:eol-style
1106 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.he-standard-2011.js
@@ -0,0 +1,116 @@
 2+/**
 3+ * Transliteration rules table for the Hebrew keyboard
 4+ * according to Israeli Standard 1452. It also includes the
 5+ * characters added in the new draft of the standard:
 6+ * http://www.lingnu.com/he/howto/78-si1452.html
 7+ * @author Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])
 8+ * @date 2011-12-06
 9+ * License: GPLv3, CC-BY-SA 3.0
 10+ */
 11+
 12+ // Normal rules
 13+var rules = [
 14+['q', '', '/'],
 15+['w', '', '\''],
 16+['e', '', 'ק'],
 17+['r', '', 'ר'],
 18+['t', '', 'א'],
 19+['y', '', 'ט'],
 20+['u', '', 'ו'],
 21+['i', '', 'ן'],
 22+['o', '', 'ם'],
 23+['p', '', 'פ'],
 24+
 25+['a', '', 'ש'],
 26+['s', '', 'ד'],
 27+['d', '', 'ג'],
 28+['f', '', 'כ'],
 29+['g', '', 'ע'],
 30+['h', '', 'י'],
 31+['j', '', 'ח'],
 32+['k', '', 'ל'],
 33+['l', '', 'ך'],
 34+[';', '', 'ף'],
 35+['\'', '', ','],
 36+
 37+['z', '', 'ז'],
 38+['x', '', 'ס'],
 39+['c', '', 'ב'],
 40+['v', '', 'ה'],
 41+['b', '', 'נ'],
 42+['n', '', 'מ'],
 43+['m', '', 'צ'],
 44+[',', '', 'ת'],
 45+['\\.', '', 'ץ'],
 46+['/', '', '.'],
 47+
 48+['`', '', ';'],
 49+
 50+// These characters are mirrored in RTL languages
 51+['\\(', '', ')'],
 52+['\\)', '', '('],
 53+['\\[', '', ']'],
 54+['\\]', '', '['],
 55+['{', '', '}'],
 56+['}', '', '{'],
 57+['<', '', '>'],
 58+['>', '', '<']
 59+];
 60+
 61+// Your text editor may show the resulting characters in
 62+// the next lines as empty. These are diacritics.
 63+var rules_x = [
 64+['a', '', 'ְ'], // Sheva
 65+
 66+['e', '', 'ָ'], // Qamats
 67+['r', '', 'ֳ'], // Hataf qamats
 68+['p', '', 'ַ'], // Patah
 69+['\\[', '', 'ֲ'], // Hataf patah
 70+
 71+['m', '', 'ֵ'], // Tsere
 72+['x', '', 'ֶ'], // Segol
 73+['c', '', 'ֱ'], // Hataf segol
 74+
 75+['j', '', 'ִ'], // Hiriq
 76+
 77+['u', '', 'ֹ'], // Holam
 78+
 79+['\\\\', '', 'ֻ'], // Qubuts
 80+
 81+['s', '', 'ּ'], // Dagesh
 82+
 83+['q', '', 'ׂ'], // Sin dot
 84+['w', '', 'ׁ'], // Shin dot
 85+
 86+['-', '', '־'], // Maqaf
 87+['=', '', '–'], // Qav mafrid - en dash
 88+['\\]', '', 'ֿ'], // Rafe
 89+['1', '', 'ֽ'], // Meteg
 90+['3', '', '€'], // Euro sign
 91+['4', '', '₪'], // Sheqel sign
 92+['5', '', '°'], // Degree
 93+['6', '', '֫'], // Ole
 94+['8', '', '×'], // Multiplication
 95+['/', '', '÷'], // Division
 96+
 97+['y', '', 'װ'], // Double vav
 98+['h', '', 'ײ'], // Double yod
 99+['H', '', 'ײַ'], // Yod yod patah
 100+['g', '', 'ױ'], // Vav-yod
 101+
 102+['`', '', '׳'], // Geresh
 103+['\'', '', '״'], // Gershayim
 104+[';', '', '„'], // Opening double quote
 105+['l', '', '”'], // Closing double quote
 106+['\\.', '', '‚'], // Opening single quote
 107+[',', '', '’'] // Closing single quote
 108+];
 109+
 110+jQuery.narayam.addScheme( 'he-standard-2011', {
 111+ 'namemsg': 'narayam-he-standard-2011',
 112+ 'extended_keyboard': true,
 113+ 'lookbackLength': 0,
 114+ 'keyBufferLength': 0,
 115+ 'rules': rules,
 116+ 'rules_x': rules_x
 117+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.he-standard-2011.js
___________________________________________________________________
Added: svn:eol-style
1118 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-vector.css
@@ -0,0 +1,6 @@
 2+.narayam-wrapper {
 3+ font-size: 80%;
 4+ position: absolute;
 5+ top: 1.4em;
 6+ right: 0.5em;
 7+}
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.core-vector.css
___________________________________________________________________
Added: svn:eol-style
18 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mr.js
@@ -0,0 +1,151 @@
 2+/**
 3+ * Transliteration regular expression rules table for Marathi
 4+ * @author Pathak A B ([[user:Pathak.ab]])
 5+ * @date 2011-11-19
 6+ * @credits With help from Amir E. Aharoni
 7+ * License: GPLv3, CC-BY-SA 3.0
 8+ */
 9+
 10+ // Normal rules
 11+var rules = [
 12+['च्h', 'c', 'च्'], // ch
 13+['च्h', 'ch', 'छ्'], // chh
 14+
 15+['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
 16+
 17+['([क-ह]़?)्a', '', '$1'],
 18+['([क-ह]़?)्A', '', '$1ा'],
 19+['([क-ह]़?)a', '', '$1ा'],
 20+['([क-ह]़?)्i', '', '$1ि'],
 21+['([क-ह]़?)(्I|िi|ेe)', '', '$1ी'],
 22+['([क-ह]़?)्u', '', '$1ु'],
 23+['([क-ह]़?)(ुu|्U|ोo)', '', '$1ू'],
 24+['([क-ह]़?)्R', '', '$1ृ'],
 25+['([क-ह]़?)ृR', '', '$1ॄ'],
 26+['([क-ह]़?)्ळ्l', '', '$1ॢ'],
 27+['([क-ह]़?)ॢl', '', '$1ॣ'],
 28+['([क-ह]़?)े\\^', '', '$1ॅ'],
 29+['([क-ह]़?)्e', '', '$1े'],
 30+['([क-ह]़?)्E', '', '$1ॅ'],
 31+['([क-ह]़?)ो\\^', '', '$1ॉ'],
 32+['([क-ह]़?)i', '', '$1ै'],
 33+['([क-ह]़?)्o', '', '$1ो'],
 34+['([क-ह]़?)्O', '', '$1ॉ'],
 35+['([क-ह]़?)u', '', '$1ौ'],
 36+['([क-ह])्\\`', '', '$1़्'],
 37+
 38+['आऊm', '', 'ॐ'], // AUm
 39+
 40+['(ग्ग्y|ज्ज्n)', '', 'ज्ञ्'], // Gy or Jy
 41+
 42+['र्र्y', '', 'ऱ्य्'], // rry
 43+['र्र्h', '', 'ऱ्ह्'], // rry
 44+
 45+['अa', '', 'आ'],
 46+['(ऒo|उu)', '', 'ऊ'],
 47+['ए\\^', '', 'ऍ'],
 48+['अi', '', 'ऐ'],
 49+['(अ\\^|E)', '', 'ॲ'],
 50+['(इi|एe)', '', 'ई'],
 51+['ऒ\\^', '', 'ऑ'],
 52+['अu', '', 'औ'],
 53+['ऋR', '', 'ॠ'],
 54+['ळ्l', '', 'ऌ'],
 55+['ऌl', '', 'ॡ'],
 56+['ंM', '', 'ँ'],
 57+['ओM', '', 'ॐ'],
 58+
 59+['र्Y', '', 'ऱ्य्'],
 60+
 61+['क्h', '', 'ख्'],//kh
 62+['ग्h', '', 'घ्'],
 63+['न्g', '', 'ङ्'],
 64+['ज्h', '', 'झ्'],
 65+['न्j', '', 'ञ्'],
 66+['ट्h', '', 'ठ्'],
 67+['ड्h', '', 'ढ्'],
 68+['त्h', '', 'थ्'],
 69+['द्h', '', 'ध्'],
 70+['(f|प्h)', '', 'फ्'],
 71+['ब्h', '', 'भ्'],
 72+['ऋi', '', 'ॠ'], // Ri
 73+['ऋl', '', 'ॡ'], // Rl
 74+
 75+['स्h', '', 'श्'],
 76+['श्h', '', 'ष्'],
 77+['क़्h', '', 'ख़्'],
 78+['ज़्h', '', 'ऴ्'],
 79+['।\\\\', '', '॥'],
 80+
 81+['a', '', 'अ'],
 82+['b', '', 'ब्'],
 83+['c', '', 'च्'],
 84+['d', '', 'द्'],
 85+['e', '', 'ए'],
 86+['g', '', 'ग्'],
 87+['h', '', 'ह्'],
 88+['i', '', 'इ'],
 89+['j', '', 'ज्'],
 90+['k', '', 'क्'],
 91+['l', '', 'ल्'],
 92+['m', '', 'म्'],
 93+['n', '', 'न्'],
 94+['o', '', 'ओ'],
 95+['p', '', 'प्'],
 96+['q', '', 'क़्'],
 97+['r', '', 'र्'],
 98+['s', '', 'स्'],
 99+['t', '', 'त्'],
 100+['u', '', 'उ'],
 101+['(v|w)', '', 'व्'],
 102+['x', '', 'क्ष्'],
 103+['y', '', 'य्'],
 104+['(z|Z)', '', 'झ्'],
 105+['A', '', 'आ'],
 106+['B', '', 'ब्ब्'],
 107+['C', '', 'क्क्'],
 108+['D', '', 'ड्'],
 109+//'F', '', 'फ्'],
 110+['G', '', 'ग्ग्'],
 111+['H', '', 'ः'],
 112+['I', '', 'ई'],
 113+['J', '', 'ज्ज्'],
 114+['K', '', 'क्क्'],
 115+['L', '', 'ळ्'],
 116+['M', '', 'ं'],
 117+['N', '', 'ण्'],
 118+['O', '', 'ऑ'],
 119+['P', '', 'प्प्'],
 120+//'Q', '', 'अ'],
 121+['R', '', 'ऋ'],
 122+['S', '', 'श्'],
 123+['T', '', 'ट्'],
 124+['U', '', 'ऊ'],
 125+['(V|W)', '', 'व्व्'],
 126+['X', '', 'क्ष्'],
 127+['Y', '', 'य्य्'],
 128+//'z', '', 'अ'
 129+['0', '', '०'],
 130+['1', '', '१'],
 131+['2', '', '२'],
 132+['3', '', '३'],
 133+['4', '', '४'],
 134+['5', '', '५'],
 135+['6', '', '६'],
 136+['7', '', '७'],
 137+['8', '', '८'],
 138+['9', '', '९'],
 139+['~', '', '्'],
 140+['.\\\\', '', '।'],
 141+['//', '', 'ऽ'],
 142+['\\`', '', '़'],
 143+['(\u200C)*_', '', '\u200c']
 144+];
 145+
 146+jQuery.narayam.addScheme( 'mr', {
 147+ 'namemsg': 'narayam-mr',
 148+ 'extended_keyboard': false,
 149+ 'lookbackLength': 4,
 150+ 'keyBufferLength': 2,
 151+ 'rules': rules
 152+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.mr.js
___________________________________________________________________
Added: svn:eol-style
1153 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or.js
@@ -0,0 +1,145 @@
 2+/**
 3+ * Transliteration regular expression rules table for Oriya
 4+ * @author Junaid P V ([[user:Junaidpv]])
 5+ * @date 2010-11-13
 6+ * @credit With help from Subhashish Panigrahi
 7+ * License: GPLv3
 8+ */
 9+// Normal rules
 10+var rules = [
 11+['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'],
 12+
 13+['ଞ୍ଜ୍h', '', 'ଞ୍ଝ୍'], // njh
 14+['ଙ୍ଗ୍h', '', 'ଙ୍ଘ୍'], // ngh
 15+
 16+['([କ-ହୟ])୍a', '','$1'],
 17+['([କ-ହୟ])(a|୍A)', '','$1ା'],
 18+['([କ-ହୟ])୍i', '','$1\u0b3f'],
 19+['([କ-ହୟ])୍I', '','$1ୀ'],
 20+['([କ-ହୟ])୍u', '','$1\u0b41'],
 21+['([କ-ହୟ])(୍U|\u0b41u)', '','$1\u0b42'],
 22+['([କ-ହୟ])୍R', '','$1\u0b43'],
 23+['([କ-ହୟ])\u0b43R', '','$1\u0b44'],
 24+['([କ-ହୟ])୍ଳ୍l', '','$1ୢ'],
 25+['([କ-ହୟ])ୢl', '','$1ୣ'],
 26+['([କ-ହୟ])୍e', '','$1େ'],
 27+['([କ-ହୟ])i', '','$1ୈ'],
 28+['([କ-ହୟ])୍o', '','$1ୋ'],
 29+['([କ-ହୟ])ୋu', '','$1ୌ'],
 30+['([କ-ହୟ])୍E', '','$1\u0B48'],
 31+
 32+['ଅa', '','ଆ'],
 33+['(ଅi|ଏe)', '','ଐ'],
 34+['(ଅu|ଓo|ଓO)', '','ଔ'],
 35+['ଋR', '','ୠ'],
 36+['ଳ୍l', '','ଌ'],
 37+['ଌl', '','ୡ'],
 38+['ଞ୍ଚ୍h', '', 'ଞ୍ଛ୍'], // nch
 39+
 40+['ଣ୍G', '', 'ଙ୍'], // NG
 41+['ଣ୍g', '', 'ଞ୍'], // Ng
 42+['କ୍h', '','ଖ୍'],
 43+['ଗ୍h', '','ଘ୍'],
 44+['ନ୍c', '', 'ଞ୍ଚ୍'], // nc
 45+['ନ୍g', '', 'ଙ୍ଗ୍'], // ng
 46+['ଚ୍h', '','ଛ୍'],
 47+['ଜ୍h', '','ଝ୍'],
 48+['ନ୍j', '', 'ଞ୍ଜ୍'], // nj
 49+['ନ୍k', '', 'ଙ୍କ୍'], // nk
 50+['ଟ୍h', '','ଠ୍'],
 51+['ଡ୍h', '','ଢ୍'],
 52+['ତ୍h', '','ଥ୍'],
 53+['ଦ୍h', '','ଧ୍'],
 54+['ପ୍h', '','ଫ୍'],
 55+['ବ୍h', '','ଭ୍'],
 56+['ସ୍h', '','ଷ୍'],
 57+['।Z', '', '॥'],
 58+
 59+['ଆ\\\\', '', '\u0B3E'], // aa sign
 60+['ଇ\\\\', '', '\u0B3F'], // i sign
 61+['ଈ\\\\', '', '\u0B40'],// I sign
 62+['ଉ\\\\', '', '\u0B41'], // u sign
 63+['ଉ\\\\', '', '\u0B42'], // U sign
 64+['ଋ\\\\', '', '\u0B43'], // R sign
 65+['ୠ\\\\', '', '\u0B44'], // RR sign
 66+['ଌ\\\\', '', '\u0B62'], // L sign
 67+['ୡ\\\\', '', '\u0B63'], // LL sign
 68+['ଏ\\\\', '', '\u0B47'], // e sign
 69+['ଐ\\\\', '', '\u0B48'], // ai sign
 70+['ଓ\\\\', '', '\u0B4B'], // o sign
 71+['ଔ\\\\', '', '\u0B4C'], // au sign
 72+
 73+['\u200c?a', '','ଅ'],
 74+['b', '','ବ୍'],
 75+['c','','ଚ୍'],
 76+['d', '','ଦ୍'],
 77+['\u200c?e', '','ଏ'],
 78+['f', '','ଫ୍'],
 79+['g', '','ଗ୍'],
 80+['h', '','ହ୍'],
 81+['\u200c?i', '','ଇ'],
 82+['j', '','ଜ୍'],
 83+['k', '','କ୍'],
 84+['l', '','ଲ୍'],
 85+['m', '','ମ୍'],
 86+['n', '','ନ୍'],
 87+['\u200c?o', '','ଓ'],
 88+['p', '','ପ୍'],
 89+['q', '', 'ଜ୍ଞ୍'],
 90+['r', '','ର୍'],
 91+['s', '','ସ୍'],
 92+['t', '','ତ୍'],
 93+['\u200c?u', '','ଉ'],
 94+['v', '', 'ୱ୍'],
 95+['w', '','ଵ୍'],
 96+['x', '','କ୍ଷ୍'],
 97+['y', '', 'ୟ୍'],
 98+['z', '','\u0B3C'],
 99+['\u200c?A', '','ଆ'],
 100+['B', '','ବ୍'],
 101+['C', '','ଛ୍'],
 102+['D', '','ଡ୍'],
 103+['\u200c?E', '','ଐ'],
 104+['F', '','ଫ୍'],
 105+['G', '','ଗ୍'],
 106+['H', '','ଃ'],
 107+['\u200c?I', '','ଈ'],
 108+['J', '','ଝ୍'],
 109+['K', '','କ୍'],
 110+['L', '','ଳ୍'],
 111+['M', '','ଂ'],
 112+['N', '','ଣ୍'],
 113+['\u200c?O', '', 'ଔ'],
 114+['P', '','ଫ୍'],
 115+['Q', '', 'ଜ୍ଞ୍'],
 116+['R', '','ଋ'],
 117+['S', '','ଶ୍'],
 118+['T', '','ଟ୍'],
 119+['\u200c?U', '','ଊ'],
 120+['V', '', 'ଵ୍'],
 121+['W', '','ଵ୍ଵ୍'],
 122+['X', '', 'ଁ'],
 123+['Y', '','ଯ୍'],
 124+['Z', '', '।'],
 125+['\\~', '','୍'],
 126+['//', '','ଽ'],
 127+['_', '', '\u200c'],
 128+['0', '','୦'],
 129+['1', '','୧'],
 130+['2', '','୨'],
 131+['3', '','୩'],
 132+['4', '','୪'],
 133+['5', '','୫'],
 134+['6', '','୬'],
 135+['7', '','୭'],
 136+['8', '','୮'],
 137+['9', '','୯']
 138+];
 139+
 140+jQuery.narayam.addScheme( 'or', {
 141+ 'namemsg': 'narayam-or',
 142+ 'extended_keyboard': true,
 143+ 'lookbackLength': 4,
 144+ 'keyBufferLength': 2,
 145+ 'rules': rules
 146+} );
Property changes on: branches/wmf/1.18wmf1/extensions/Narayam/resources/ext.narayam.rules.or.js
___________________________________________________________________
Added: svn:eol-style
1147 + native
Index: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.i18n.php
@@ -0,0 +1,2269 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for extension Narayam
 5+ *
 6+ * @addtogroup Extensions
 7+ * @author Junaid P V <http://junaidpv.in>
 8+ * @copyright 2010-2011 Junaid P V
 9+ * @license GNU General Public Licence 3.0 or later
 10+ */
 11+
 12+$messages = array();
 13+
 14+/** English
 15+ * @author Junaid P V
 16+ */
 17+$messages['en'] = array(
 18+ 'narayam-desc' => 'Allows to add custom input methods for input fields',
 19+ 'narayam-toggle-ime' => 'Enable ($1)',
 20+ 'narayam-menu' => 'Input Method',
 21+ 'narayam-menu-tooltip' => 'Control Narayam Input Method Editor (IME)',
 22+ 'narayam-help' => 'Help',
 23+ 'narayam-help-page' => 'Help:Typing',
 24+ 'narayam-checkbox-tooltip' => 'To toggle input method on and off', // FIXME: better message
 25+ 'narayam-disable-preference' => 'Disable Narayam Input Method Editor (IME)',
 26+ 'narayam-more-imes' => 'More input methods',
 27+ 'narayam-am' => 'Amharic Transliteration',
 28+ 'narayam-as' => 'Assamese Transliteration',
 29+ 'narayam-as-avro' => 'Assamese Avro',
 30+ 'narayam-as-bornona' => 'Assamese Bornona',
 31+ 'narayam-as-inscript' => 'Assamese InScript',
 32+ 'narayam-ber-tfng' => 'Tifinagh Transliteration',
 33+ 'narayam-brx-inscript' => 'Bodo InScript',
 34+ 'narayam-eo' => 'Esperanto',
 35+ 'narayam-hi' => 'Hindi Transliteration',
 36+ 'narayam-hi-inscript' => 'Hindi InScript',
 37+ 'narayam-kn' => 'Kannada Transliteration',
 38+ 'narayam-kn-inscript' => 'Kannada InScript',
 39+ 'narayam-ml' => 'Malayalam Transliteration',
 40+ 'narayam-ml-inscript' => 'Malayalam InScript',
 41+ 'narayam-mr' => 'Marathi Transliteration',
 42+ 'narayam-mr-inscript' => 'Marathi InScript',
 43+ 'narayam-ne' => 'Nepali Transliteration',
 44+ 'narayam-ne-inscript' => 'Nepali InScript',
 45+ 'narayam-or' => 'Odiya Transliteration',
 46+ 'narayam-or-lekhani' => 'Odiya Lekhani',
 47+ 'narayam-or-inscript' => 'Oriya InScript',
 48+ 'narayam-pa-phonetic' => 'Gurmukhi Punjabi Phonetic',
 49+ 'narayam-pa-inscript' => 'Gurmukhi Punjabi InScript',
 50+ 'narayam-sa' => 'Sanskrit Transliteration',
 51+ 'narayam-sa-inscript' => 'Sanskrit InScript',
 52+ 'narayam-si-singlish' => 'Sinhala Singlish',
 53+ 'narayam-si-wijesekara' => 'Sinhala Wijesekara',
 54+ 'narayam-ta-99' => 'Tamil99',
 55+ 'narayam-ta-inscript' => 'Tamil InScript',
 56+ 'narayam-ta' => 'Tamil Transliteration',
 57+ 'narayam-ta-bamini' => 'Tamil Bamini',
 58+ 'narayam-te-inscript' => 'Telugu InScript',
 59+ 'narayam-bn-avro' => 'Bengali Avro',
 60+ 'narayam-bn-inscript' => 'Bengali InScript',
 61+ 'narayam-bn-nkb' => 'Bengali NKB',
 62+ 'narayam-ur' => 'Urdu standard',
 63+ 'narayam-de' => 'German',
 64+ 'narayam-gu' => 'Gujarati transliteration',
 65+ 'narayam-gu-inscript' => 'Gujarati InScript',
 66+ 'narayam-ru-standard' => 'Russian Standard',
 67+ 'narayam-sah-standard' => 'Sakha Standard',
 68+ 'narayam-hne-inscript' => 'Chhattisgarhi InScript',
 69+ 'narayam-mai-inscript' => 'Maithili InScript',
 70+ 'narayam-gom-deva' => 'Goan Konkani-Devanagari Transliteration',
 71+ 'narayam-gom-deva-inscript' => 'Goan Konkani-Devanagari InScript',
 72+ 'narayam-he-standard-2011' => 'Hebrew Standard 2011',
 73+);
 74+
 75+/** Message documentation (Message documentation)
 76+ * @author McDutchie
 77+ * @author Purodha
 78+ * @author Raymond
 79+ * @author SPQRobin
 80+ * @author Shijualex
 81+ * @author Waldir
 82+ * @author Yekrats
 83+ * @author බිඟුවා
 84+ */
 85+$messages['qqq'] = array(
 86+ 'narayam-desc' => '{{desc}}',
 87+ 'narayam-toggle-ime' => 'Switch input method ($1)',
 88+ 'narayam-menu' => 'Narayam allows to add custom input methods for input fields.
 89+See: http://www.mediawiki.org/wiki/Extension:Narayam',
 90+ 'narayam-help' => 'See: http://www.mediawiki.org/wiki/Extension:Narayam
 91+{{Identical|Help}}',
 92+ 'narayam-help-page' => '{{doc-important|Do not translate "Help:".}}
 93+this is a help page connected narayam. it describes how to use this tool',
 94+ 'narayam-checkbox-tooltip' => 'Toggle the input method —that is, the interpretation of keystrokes— between "standard" and "interpreted by Narayam".',
 95+ 'narayam-eo' => 'The language "Esperanto" in your local language.
 96+This allows for Narayam to add custom input methods for input fields. Esperanto x-system transcription. For more information, see http://www.mediawiki.org/wiki/Extension:Narayam .',
 97+ 'narayam-hi-inscript' => '[[w:InScript|InScript]] keyboard layout for the Standard Hindi language.',
 98+ 'narayam-kn' => 'Transliteration scheme for the Kannada language.',
 99+ 'narayam-kn-inscript' => '[[w:InScript|InScript]] keyboard layout for the Kannada language.',
 100+ 'narayam-ml' => 'Transliteration scheme for the Malayalam language.',
 101+ 'narayam-ml-inscript' => '[[w:InScript|InScript]] keyboard layout for the Malayalam language.',
 102+ 'narayam-ne' => 'Transliteration scheme for the Nepali language.',
 103+ 'narayam-ne-inscript' => '[[w:InScript|InScript]] keyboard layout for the [[w:Nepali language|Nepali language]].',
 104+ 'narayam-or' => 'Transliteration scheme for the Oriya language.',
 105+ 'narayam-or-inscript' => '[[w:InScript|InScript]] keyboard layout for the Oriya language.',
 106+ 'narayam-pa-inscript' => 'A Narayam InScript implementation of the Punjabi language in Gurmukhi script',
 107+ 'narayam-sa' => 'Transliteration scheme for the Sanskrit language.',
 108+ 'narayam-sa-inscript' => '[[w:InScript|InScript]] keyboard layout for the Sanskrit language.',
 109+ 'narayam-si-singlish' => 'Singlish keyboard layout for the Sinhala language.',
 110+ 'narayam-si-wijesekara' => 'Wijesekara keyboard layout for the Sinhala language.',
 111+ 'narayam-ta-99' => 'Tamil 99 keyboard layout for the Tamil language.',
 112+ 'narayam-ta' => 'Transliteration scheme for the Tamil language.',
 113+ 'narayam-te-inscript' => '[[w:InScript|InScript]] keyboard layout for the [[w:Telugu language|Telugu language]].',
 114+ 'narayam-bn-avro' => 'Avro keyboard layout for the Bengali language.',
 115+ 'narayam-bn-inscript' => '[[w:InScript|InScript]] keyboard layout for the Bengali language.',
 116+ 'narayam-bn-nkb' => 'National (Jatiyo) keyboard layout for the Bengali language.',
 117+);
 118+
 119+/** Afrikaans (Afrikaans)
 120+ * @author Naudefj
 121+ */
 122+$messages['af'] = array(
 123+ 'narayam-desc' => 'Maak aangepaste invoermetodes vir invoervelde moontlik',
 124+ 'narayam-toggle-ime' => 'Aktiveer ($1)',
 125+ 'narayam-menu' => 'Invoermetode',
 126+ 'narayam-menu-tooltip' => 'Narayam invoermetode (IME)',
 127+ 'narayam-help' => 'Hulp',
 128+ 'narayam-help-page' => 'Help:Invoermetode',
 129+ 'narayam-checkbox-tooltip' => 'Die invoermethode aktiveer of deaktiveer',
 130+ 'narayam-disable-preference' => 'Deaktiveer Narayam invoermetode (IME)',
 131+ 'narayam-eo' => 'Esperanto',
 132+ 'narayam-hi-inscript' => 'Hindi InScript',
 133+ 'narayam-kn' => 'Kannada Transliterasie',
 134+ 'narayam-kn-inscript' => 'Kannada InScript',
 135+ 'narayam-ml' => 'Malayalam Transliterasie',
 136+ 'narayam-ml-inscript' => 'Malayalam InScript',
 137+ 'narayam-ne' => 'Nepalese Transliterasie',
 138+ 'narayam-ne-inscript' => 'Nepalese InScript',
 139+ 'narayam-or' => 'Oriya Transliterasie',
 140+ 'narayam-or-inscript' => 'Oriya InScript',
 141+ 'narayam-sa' => 'Sanskrit Transliterasie',
 142+ 'narayam-sa-inscript' => 'Sanskrit InScript',
 143+ 'narayam-si-singlish' => 'Singalese Singlish',
 144+ 'narayam-si-wijesekara' => 'Singalese Wijesekara',
 145+ 'narayam-ta-99' => 'Tamil99',
 146+ 'narayam-ta' => 'Tamil Transliterasie',
 147+ 'narayam-te-inscript' => 'Teloegoe InScript',
 148+ 'narayam-bn-avro' => 'Bengaalse Avro',
 149+ 'narayam-bn-inscript' => 'Bengaalse InScript',
 150+ 'narayam-bn-nkb' => 'Bengaalse NKB',
 151+);
 152+
 153+/** Arabic (العربية)
 154+ * @author AwamerT
 155+ * @author Meno25
 156+ * @author زكريا
 157+ */
 158+$messages['ar'] = array(
 159+ 'narayam-desc' => 'يتيح إضافة أساليب إدخال مخصصة لحقول الإدخال',
 160+ 'narayam-toggle-ime' => 'فعل ($1)',
 161+ 'narayam-menu' => 'أسلوب الإدخال',
 162+ 'narayam-menu-tooltip' => 'تعطيل محرر أسلوب إدخال نارايام (Narayam IME)',
 163+ 'narayam-help' => 'مساعدة',
 164+ 'narayam-help-page' => 'Help:كتابة',
 165+ 'narayam-checkbox-tooltip' => 'لتشغيل أو تعطيل أسلوب الإدخال',
 166+ 'narayam-disable-preference' => 'تعطيل محرر أسلوب إدخال نارايام (Narayam IME)',
 167+ 'narayam-am' => 'نسخ حرفي للغة الأمهرية',
 168+ 'narayam-as' => 'نسخ حرفي للاسامية',
 169+ 'narayam-as-avro' => 'اللغة الهندية الاسامية بواسطة لوحة مفاتيح افرو',
 170+ 'narayam-as-bornona' => 'اللغة الاسامية بورونا',
 171+ 'narayam-as-inscript' => 'اللغة الاسامية إينسكريبت',
 172+ 'narayam-eo' => 'إسبرنتو',
 173+ 'narayam-hi-inscript' => 'هندي إنسكربت (Hindi InScript)',
 174+ 'narayam-kn' => 'نسخ حرفي كانادي',
 175+ 'narayam-kn-inscript' => 'كانادا إنسكربت (Kannada InScript)',
 176+ 'narayam-ml' => 'نسخ حرفي مالايالامي',
 177+ 'narayam-ml-inscript' => 'مالايالام إنسكربت (Malayalam InScript)',
 178+ 'narayam-ne' => 'نسخ حرفي نيبالي',
 179+ 'narayam-ne-inscript' => 'نيبالي إنسكربت (Nepali InScript)',
 180+ 'narayam-or' => 'نسخ حرفي أوريسي',
 181+ 'narayam-or-inscript' => 'أوريا إنسكربت (Oriya InScript)',
 182+ 'narayam-sa' => 'نسخ حرفي سنسكريتي',
 183+ 'narayam-sa-inscript' => 'سنسكريت إنسكربت (Sanskrit InScript)',
 184+ 'narayam-si-singlish' => 'سنهالا سنكليش (Sinhala Singlish)',
 185+ 'narayam-si-wijesekara' => 'سنهالا ويجيسيكارا (Sinhala Wijesekara)',
 186+ 'narayam-ta-99' => 'تاميل تسعة وتسعين (Tamil99)',
 187+ 'narayam-ta' => 'نسخ حرفي تاميلي',
 188+ 'narayam-ta-bamini' => 'اللغة التاميلية (باميني)',
 189+ 'narayam-te-inscript' => 'تلوجو إنسكربت (Telugu InScript)',
 190+ 'narayam-bn-avro' => 'بنغالي أفرو (Bengali Avro)',
 191+ 'narayam-bn-inscript' => 'بنغالي إنسكربت (Bengali InScript)',
 192+ 'narayam-bn-nkb' => 'بنغالي إن كي بي (Bengali NKB)',
 193+);
 194+
 195+/** Assamese (অসমীয়া)
 196+ * @author Chaipau
 197+ * @author Psneog
 198+ */
 199+$messages['as'] = array(
 200+ 'narayam-toggle-ime' => 'সক্ৰিয় কৰক ($1)',
 201+ 'narayam-menu' => "কীব'ৰ্ডৰ ভাষা",
 202+ 'narayam-menu-tooltip' => '"নাৰায়ম"ৰ কীব\'ৰ্ড বাচনি কৰিবলৈ এই লিংক ব্যৱহাৰ কৰক',
 203+ 'narayam-help-page' => 'Help:টাইপিং',
 204+ 'narayam-as' => 'অসমীয়া প্ৰতিৰূপান্তৰণ',
 205+ 'narayam-as-avro' => 'অসমীয়া অভ্ৰ',
 206+ 'narayam-as-bornona' => 'অসমীয়া বৰ্ণনা',
 207+ 'narayam-as-inscript' => 'অসমীয়া ইন্‌স্ক্ৰিপ্ত',
 208+);
 209+
 210+/** Azerbaijani (Azərbaycanca)
 211+ * @author Cekli829
 212+ */
 213+$messages['az'] = array(
 214+ 'narayam-help' => 'Kömək',
 215+ 'narayam-hi-inscript' => 'Hindi InScript',
 216+ 'narayam-kn' => 'Kannada Transliteration',
 217+ 'narayam-kn-inscript' => 'Kannada InScript',
 218+ 'narayam-ml' => 'Malayalam Transliteration',
 219+ 'narayam-ml-inscript' => 'Malayalam InScript',
 220+ 'narayam-ne' => 'Nepali Transliteration',
 221+ 'narayam-ne-inscript' => 'Nepali InScript',
 222+ 'narayam-or' => 'Oriya Transliteration',
 223+ 'narayam-or-inscript' => 'Oriya InScript',
 224+ 'narayam-sa' => 'Sanskrit Transliteration',
 225+ 'narayam-sa-inscript' => 'Sanskrit InScript',
 226+ 'narayam-si-singlish' => 'Sinhala Singlish',
 227+ 'narayam-si-wijesekara' => 'Sinhala Wijesekara',
 228+ 'narayam-ta-99' => 'Tamil99',
 229+ 'narayam-ta' => 'Tamil Transliteration',
 230+ 'narayam-te-inscript' => 'Telugu InScript',
 231+ 'narayam-bn-avro' => 'Bengali Avro',
 232+ 'narayam-bn-inscript' => 'Bengali InScript',
 233+ 'narayam-bn-nkb' => 'Bengali NKB',
 234+);
 235+
 236+/** Belarusian (Taraškievica orthography) (‪Беларуская (тарашкевіца)‬)
 237+ * @author EugeneZelenko
 238+ * @author Jim-by
 239+ * @author Renessaince
 240+ * @author Wizardist
 241+ */
 242+$messages['be-tarask'] = array(
 243+ 'narayam-desc' => 'Дазваляе дадаваць нестандартныя мэтады ўводу для палёў уводу.',
 244+ 'narayam-toggle-ime' => 'Дазволіць ($1)',
 245+ 'narayam-menu' => 'Мэтад уводу',
 246+ 'narayam-menu-tooltip' => 'Кіраваньне рэдактарам мэтадаў уводу Narayam',
 247+ 'narayam-help' => 'Дапамога',
 248+ 'narayam-help-page' => 'Help:Увод',
 249+ 'narayam-checkbox-tooltip' => 'Для пераключэньня мэтаду уводу «Ўключыць» і «Выключыць»',
 250+ 'narayam-disable-preference' => 'Забараніць рэдактар мэтадаў уводу Narayam',
 251+ 'narayam-as' => 'Асамская трансьлітарацыя',
 252+ 'narayam-as-avro' => 'Асамскі Avro',
 253+ 'narayam-as-bornona' => 'Асамскі Bornona',
 254+ 'narayam-as-inscript' => 'Асамскі InScript',
 255+ 'narayam-eo' => 'Эспэранта',
 256+ 'narayam-hi-inscript' => 'Гіндзі InScript',
 257+ 'narayam-kn' => 'Канацкая трансьлітарацыя',
 258+ 'narayam-kn-inscript' => 'Канацкая InScript',
 259+ 'narayam-ml' => 'Малайская трансьлітарацыя',
 260+ 'narayam-ml-inscript' => 'Малайскі надпіс',
 261+ 'narayam-ne' => 'Нэпальская трансьлітарацыя',
 262+ 'narayam-ne-inscript' => 'Нэпальскі InScript',
 263+ 'narayam-or' => 'Орыя трансьлітарацыя',
 264+ 'narayam-or-inscript' => 'Орыя InScript',
 265+ 'narayam-sa' => 'Санскрыцкая трансьлітарацыя',
 266+ 'narayam-sa-inscript' => 'Санскрыт інскрыпт',
 267+ 'narayam-si-singlish' => 'Сынгальскі Сынглсіх',
 268+ 'narayam-si-wijesekara' => 'Сынгальскі Віджэсэкера',
 269+ 'narayam-ta-99' => 'Tamil99',
 270+ 'narayam-ta' => 'Тамільская трансьлітарацыя',
 271+ 'narayam-te-inscript' => 'Інскрыпт Telugu',
 272+ 'narayam-bn-avro' => 'Bengali Avro',
 273+ 'narayam-bn-inscript' => 'Bengali InScript',
 274+ 'narayam-bn-nkb' => 'Бэнгальская NKB',
 275+);
 276+
 277+/** Bulgarian (Български)
 278+ * @author DCLXVI
 279+ */
 280+$messages['bg'] = array(
 281+ 'narayam-eo' => 'Есперанто',
 282+);
 283+
 284+/** Bengali (বাংলা)
 285+ * @author Bellayet
 286+ * @author Wikitanvir
 287+ */
 288+$messages['bn'] = array(
 289+ 'narayam-desc' => 'ইনপুট ক্ষেত্রের জন্য কাস্টম ইনপুট পদ্ধতির যোগ অনুমোদন করে',
 290+ 'narayam-toggle-ime' => 'সক্রিয় ($1)',
 291+ 'narayam-menu' => 'ইনপুট প্রক্রিয়া',
 292+ 'narayam-help' => 'সাহায্য',
 293+ 'narayam-help-page' => 'Help:টাইপিং',
 294+ 'narayam-disable-preference' => 'Narayam ইনপুট মেথড এডিটর (IME) নিষ্ক্রিয়',
 295+ 'narayam-more-imes' => 'আরও ইনপুট পদ্ধতি',
 296+ 'narayam-am' => 'আমহারিক প্রতিবর্ণীকরণ',
 297+ 'narayam-as' => 'অসামীয়া প্রতিবর্ণীকরণ',
 298+ 'narayam-as-avro' => 'অসামীয়া অভ্র',
 299+ 'narayam-as-bornona' => 'অসামীয়া বর্ণনা',
 300+ 'narayam-as-inscript' => 'অসামীয়া ইন্সক্রিপ্ট',
 301+ 'narayam-eo' => 'এসপারেন্টো',
 302+ 'narayam-hi-inscript' => 'হিন্দি ইন্সক্রিপ্ট',
 303+ 'narayam-kn' => 'কন্নড় প্রতিবর্ণীকরণ',
 304+ 'narayam-kn-inscript' => 'কন্নড় ইন্সক্রিপ্ট',
 305+ 'narayam-ml' => 'মালায়লম প্রতিবর্ণীকরণ',
 306+ 'narayam-ml-inscript' => 'মালয়লাম ইন্সক্রিপ্ট',
 307+ 'narayam-ne' => 'নেপালী প্রতিবর্ণীকরণ',
 308+ 'narayam-ne-inscript' => 'নেপালী ইন্সক্রিপ্ট',
 309+ 'narayam-or' => 'ওড়িয়া প্রতিবর্ণীকরণ',
 310+ 'narayam-or-inscript' => 'ওড়িয়া ইন্সক্রিপ্ট',
 311+ 'narayam-sa' => 'সংস্কৃত প্রতিবর্ণীকরণ',
 312+ 'narayam-sa-inscript' => 'সংস্কৃত ইন্সক্রিপ্ট',
 313+ 'narayam-si-singlish' => 'সিনহালা সিংলিশ',
 314+ 'narayam-si-wijesekara' => 'সিনহালা উইজেসেকারা',
 315+ 'narayam-ta-99' => 'তামিল৯৯',
 316+ 'narayam-ta' => 'তামিল প্রতিবর্ণীকরণ',
 317+ 'narayam-ta-bamini' => 'তামিল বামিনি',
 318+ 'narayam-te-inscript' => 'তেলেগু ইন্সক্রিপ্ট',
 319+ 'narayam-bn-avro' => 'বাংলা অভ্র',
 320+ 'narayam-bn-inscript' => 'বাংলা ইন্সক্রিপ্ট',
 321+ 'narayam-bn-nkb' => 'বাংলা এনকেবি',
 322+);
 323+
 324+/** Breton (Brezhoneg)
 325+ * @author Fulup
 326+ * @author Y-M D
 327+ */
 328+$messages['br'] = array(
 329+ 'narayam-desc' => 'Aotren a ra ouzhpennañ hentennoù bizskrivañ personelaet evit ar maeziennoù bizskrivañ',
 330+ 'narayam-toggle-ime' => 'Gweredekaat ($1)',
 331+ 'narayam-menu' => 'Hentenn enmont',
 332+ 'narayam-menu-tooltip' => 'Kontroller an embanner hentenn enmont evit an narayam (IME)',
 333+ 'narayam-help' => 'Skoazell',
 334+ 'narayam-help-page' => 'Help:Bizskrivañ',
 335+ 'narayam-checkbox-tooltip' => 'Evit eilpennañ an hentenn enmont war enaou pe get',
 336+ 'narayam-disable-preference' => 'Diweredekaat an embanner hentenn enmont evit an narayam',
 337+ 'narayam-more-imes' => 'Hentennoù enmont all',
 338+ 'narayam-am' => 'Treuzlizherennadur amhareg',
 339+ 'narayam-as' => 'Treuzlizherennadur asameg',
 340+ 'narayam-as-avro' => 'Avro asameg',
 341+ 'narayam-as-bornona' => 'Bornora asameg',
 342+ 'narayam-as-inscript' => 'InSript asameg',
 343+ 'narayam-ber-tfng' => 'Treuzlizherennadur tifinagh',
 344+ 'narayam-eo' => 'Esperanteg',
 345+ 'narayam-hi' => 'Treuzlizherennadur hindi',
 346+ 'narayam-hi-inscript' => 'InScript hindi',
 347+ 'narayam-kn' => 'Treuzlizherennadur kannada',
 348+ 'narayam-kn-inscript' => 'InScript kannada',
 349+ 'narayam-ml' => 'Treuzlizherennadur Malayalam',
 350+ 'narayam-ml-inscript' => 'InScript malayalam',
 351+ 'narayam-mr' => 'Treuzlizherennadur marathi',
 352+ 'narayam-ne' => 'Treuzlizherennadur nepaleg',
 353+ 'narayam-ne-inscript' => 'Inscript nepaleg',
 354+ 'narayam-or' => 'Treuzlizherennadur oriya',
 355+ 'narayam-or-inscript' => 'InScript oriya',
 356+ 'narayam-sa' => 'Treuzlizherennadur sanskriteg',
 357+ 'narayam-sa-inscript' => 'InScript sanskriteg',
 358+ 'narayam-si-singlish' => 'Singlisheg Sri Lanka',
 359+ 'narayam-si-wijesekara' => 'Wijesekara Sri Lanka',
 360+ 'narayam-ta-99' => 'Tamil99',
 361+ 'narayam-ta' => 'Treuzlizherennadur tamileg',
 362+ 'narayam-ta-bamini' => 'Banini tamileg',
 363+ 'narayam-te-inscript' => 'InScript telougou',
 364+ 'narayam-bn-avro' => 'Avro bengaleg',
 365+ 'narayam-bn-inscript' => 'InScript bengaleg',
 366+ 'narayam-bn-nkb' => 'NKB bengaleg',
 367+ 'narayam-ur' => 'Standard ourdou',
 368+ 'narayam-de' => 'Alamaneg',
 369+);
 370+
 371+/** Bosnian (Bosanski)
 372+ * @author CERminator
 373+ */
 374+$messages['bs'] = array(
 375+ 'narayam-desc' => 'Omogućava dodavanje proizvoljnog metoda unosa za polja unosa',
 376+ 'narayam-toggle-ime' => 'Za prebacivanje IM ($1)',
 377+ 'narayam-help-page' => 'Help:Tipkanje',
 378+ 'narayam-checkbox-tooltip' => 'Za uključivanje i isključivanje načina unosa',
 379+ 'narayam-disable-preference' => 'Onemogući Uređivač za unos po metodi Narayam (IME)',
 380+ 'narayam-eo' => 'Esperanto',
 381+ 'narayam-hi-inscript' => 'InScript za hidni',
 382+ 'narayam-kn' => 'Kannada transliteracija',
 383+ 'narayam-kn-inscript' => 'InScript za Kannadu',
 384+ 'narayam-ml' => 'Malayalam transliteracija',
 385+ 'narayam-ml-inscript' => 'InScript za Malayalam',
 386+ 'narayam-or' => 'Oriya transliteracija',
 387+ 'narayam-or-inscript' => 'InScript za Oriya',
 388+ 'narayam-sa' => 'Sanskrit transliteracija',
 389+ 'narayam-sa-inscript' => 'InScript za sanskrit',
 390+ 'narayam-si-singlish' => 'Sinhala singleski',
 391+ 'narayam-si-wijesekara' => 'Sinhala Wijesekara',
 392+ 'narayam-ta-99' => 'Tamil99',
 393+ 'narayam-ta' => 'Tamil transliteracija',
 394+ 'narayam-te-inscript' => 'Telugu InScript',
 395+ 'narayam-bn-avro' => 'Bengali Avro',
 396+ 'narayam-bn-inscript' => 'InScript za bengalski',
 397+ 'narayam-bn-nkb' => 'Bengalski NKB',
 398+);
 399+
 400+/** Czech (Česky)
 401+ * @author Mormegil
 402+ */
 403+$messages['cs'] = array(
 404+ 'narayam-desc' => 'Umožňuje přidávat ke vstupním polím vlastní metody vstupu',
 405+ 'narayam-disable-preference' => 'Vypnout editor (IME) Narayam',
 406+);
 407+
 408+/** Danish (Dansk)
 409+ * @author Peter Alberti
 410+ */
 411+$messages['da'] = array(
 412+ 'narayam-desc' => 'Gør det muligt at tilføje tilpassede indtastningsmetoder til indtastningsfelter',
 413+ 'narayam-toggle-ime' => 'Aktiver ($1)',
 414+ 'narayam-menu' => 'Indtastningsmetode',
 415+ 'narayam-menu-tooltip' => 'Kontroller Narayam indtastningsmetoderedigeringen',
 416+ 'narayam-help' => 'Hjælp',
 417+ 'narayam-help-page' => 'Help:Indtastning',
 418+ 'narayam-checkbox-tooltip' => 'Slå indtastningsmetoden til og fra',
 419+ 'narayam-disable-preference' => 'Slå Narayam indtastningsmetoderedigeringen fra',
 420+ 'narayam-more-imes' => 'Flere indtastningsmetoder',
 421+ 'narayam-am' => 'Amharisk translitteration',
 422+ 'narayam-as' => 'Assamesisk translitteration',
 423+ 'narayam-as-inscript' => 'Assamesisk InScript',
 424+ 'narayam-eo' => 'Esperanto',
 425+ 'narayam-hi' => 'Hindi translitteration',
 426+ 'narayam-hi-inscript' => 'Hindi InScript',
 427+ 'narayam-kn' => 'Kannada translitteration',
 428+ 'narayam-kn-inscript' => 'Kannada InScript',
 429+ 'narayam-ml' => 'Malayalam translitteration',
 430+ 'narayam-ml-inscript' => 'Malayalam InScript',
 431+ 'narayam-ne' => 'Nepalesisk translitteration',
 432+ 'narayam-ne-inscript' => 'Nepalesisk InScript',
 433+ 'narayam-or' => 'Oriya translitteration',
 434+ 'narayam-or-inscript' => 'Oriya InScript',
 435+ 'narayam-sa' => 'Sanskrit translitteration',
 436+ 'narayam-sa-inscript' => 'Sanskrit InScript',
 437+ 'narayam-ta-99' => 'Tamil99',
 438+ 'narayam-ta' => 'Tamilsk translitteration',
 439+ 'narayam-bn-inscript' => 'Bengali InScript',
 440+ 'narayam-de' => 'Tysk',
 441+ 'narayam-ru-standard' => 'Russisk standard',
 442+);
 443+
 444+/** German (Deutsch)
 445+ * @author Brion
 446+ * @author Kghbln
 447+ * @author McDutchie
 448+ * @author Metalhead64
 449+ */
 450+$messages['de'] = array(
 451+ 'narayam-desc' => 'Ermöglicht benutzerdefinierte Eingabemethoden für Eingabefelder',
 452+ 'narayam-toggle-ime' => 'Aktiviere ($1)',
 453+ 'narayam-menu' => 'Eingabemethode',
 454+ 'narayam-menu-tooltip' => 'Steuerung des Eingabemethodeneditors von Narayam (IME)',
 455+ 'narayam-help' => 'Hilfe',
 456+ 'narayam-help-page' => 'Help:Eingabe',
 457+ 'narayam-checkbox-tooltip' => 'Eingabemethode ein- und ausschalten',
 458+ 'narayam-disable-preference' => 'Narayam-Editor deaktivieren',
 459+ 'narayam-more-imes' => 'Weitere Eingabemethoden',
 460+ 'narayam-am' => 'Amharisch (Transliteration)',
 461+ 'narayam-as' => 'Assamesisch (Transliteration)',
 462+ 'narayam-as-avro' => 'Assamesisch (Avro)',
 463+ 'narayam-as-bornona' => 'Assamesisch (Bornona)',
 464+ 'narayam-as-inscript' => 'Assamesisch (InScript)',
 465+ 'narayam-ber-tfng' => 'Tifinagh (Transliteration)',
 466+ 'narayam-brx-inscript' => 'Bodo (InScript)',
 467+ 'narayam-eo' => 'Esperanto',
 468+ 'narayam-hi' => 'Hindi (Transliteration)',
 469+ 'narayam-hi-inscript' => 'Hindi (InScript)',
 470+ 'narayam-kn' => 'Kannada (Transliteration)',
 471+ 'narayam-kn-inscript' => 'Kannada (InScript)',
 472+ 'narayam-ml' => 'Malayalam (Transliteration)',
 473+ 'narayam-ml-inscript' => 'Malayalam (InScript)',
 474+ 'narayam-mr' => 'Marathisch (Transliteration)',
 475+ 'narayam-mr-inscript' => 'Marathisch (InScript)',
 476+ 'narayam-ne' => 'Nepalesisch (Transliteration)',
 477+ 'narayam-ne-inscript' => 'Nepalesisch (InScript)',
 478+ 'narayam-or' => 'Oriya (Transliteration)',
 479+ 'narayam-or-lekhani' => 'Odiya (Lekhani)',
 480+ 'narayam-or-inscript' => 'Oriya (InScript)',
 481+ 'narayam-pa-phonetic' => 'Punjabi - Gurmukhi (Phonetisch)',
 482+ 'narayam-pa-inscript' => 'Punjabi - Gurmukhi (InScript)',
 483+ 'narayam-sa' => 'Sanskrit (Transliteration)',
 484+ 'narayam-sa-inscript' => 'Sanskrit (InScript)',
 485+ 'narayam-si-singlish' => 'Singhalesisch (Singlish)',
 486+ 'narayam-si-wijesekara' => 'Singhalesisch (Wijesekara)',
 487+ 'narayam-ta-99' => 'Tamilisch (Tamil 99)',
 488+ 'narayam-ta-inscript' => 'Tamilisch (InScript)',
 489+ 'narayam-ta' => 'Tamilisch (Transliteration)',
 490+ 'narayam-ta-bamini' => 'Tamilisch (Bamini)',
 491+ 'narayam-te-inscript' => 'Telugu (InScript)',
 492+ 'narayam-bn-avro' => 'Bengalisch (Avro)',
 493+ 'narayam-bn-inscript' => 'Bengalisch (InScript)',
 494+ 'narayam-bn-nkb' => 'Bengalisch (NKB)',
 495+ 'narayam-ur' => 'Urdu (Standard)',
 496+ 'narayam-de' => 'Deutsch',
 497+ 'narayam-gu' => 'Gujarati (Transliteration)',
 498+ 'narayam-gu-inscript' => 'Gujarati (InScript)',
 499+ 'narayam-ru-standard' => 'Russisch (Standard)',
 500+ 'narayam-sah-standard' => 'Jakutisch (Standard)',
 501+ 'narayam-hne-inscript' => 'Chhattisgarhi (InScript)',
 502+ 'narayam-mai-inscript' => 'Maithili (InScript)',
 503+ 'narayam-gom-deva' => 'Konkani - Devanagari / Goa (Transliteration)',
 504+ 'narayam-gom-deva-inscript' => 'Konkani - Devanagari / Goa (InScript)',
 505+ 'narayam-he-standard-2011' => 'Hebräisch (Standard 2011)',
 506+);
 507+
 508+/** Greek (Ελληνικά)
 509+ * @author Glavkos
 510+ * @author ZaDiak
 511+ */
 512+$messages['el'] = array(
 513+ 'narayam-menu' => 'Μέθοδος Εισαγωγής',
 514+ 'narayam-menu-tooltip' => 'Έλεγχος Narayam Input Method Editor (IME)',
 515+ 'narayam-help' => 'Βοήθεια',
 516+ 'narayam-help-page' => 'Help:Πληκτρολόγηση',
 517+ 'narayam-disable-preference' => 'Απενεργοποίηση Narayam Input Method Editor (IME)',
 518+ 'narayam-eo' => 'Εσπεράντο',
 519+);
 520+