r106629 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106628‎ | r106629 | r106630 >
Date:06:56, 19 December 2011
Author:santhosh
Status:ok
Tags:
Comment:
Add Tulu(tcy) transliteration based input method. The keyboard is copied from Kannada since both languages use Kannada script.
Ref Bug 33195.
Modified paths:
  • /trunk/extensions/Narayam/Narayam.i18n.php (modified) (history)
  • /trunk/extensions/Narayam/Narayam.php (modified) (history)
  • /trunk/extensions/Narayam/resources/ext.narayam.rules.tcy.js (added) (history)

Diff [purge]

Index: trunk/extensions/Narayam/resources/ext.narayam.rules.tcy.js
@@ -0,0 +1,12 @@
 2+/**
 3+ * Transliteration based keyboard for Tulu, based on Kannada
 4+ * @author Santhosh Thottingal ([[user:Santhosh.thottingal]])
 5+ * @date 2011-12-19
 6+ * License: GPLv3
 7+ */
 8+
 9+// copy the rules from kannada transliteration.
 10+tcy_scheme = $.narayam.getScheme( 'kn' );
 11+tcy_scheme.namemsg = 'narayam-tcy';
 12+jQuery.narayam.addScheme( 'tcy', tcy_scheme );
 13+
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.tcy.js
___________________________________________________________________
Added: svn:eol-style
114 + native
Index: trunk/extensions/Narayam/Narayam.i18n.php
@@ -54,6 +54,7 @@
5555 'narayam-ta-inscript' => 'Tamil InScript',
5656 'narayam-ta' => 'Tamil Transliteration',
5757 'narayam-ta-bamini' => 'Tamil Bamini',
 58+ 'narayam-tcy' => 'Tulu Transliteration',
5859 'narayam-te-inscript' => 'Telugu InScript',
5960 'narayam-bn-avro' => 'Bengali Avro',
6061 'narayam-bn-inscript' => 'Bengali InScript',
@@ -1352,6 +1353,7 @@
13531354 'narayam-ta-inscript' => 'തമിഴ് ഇൻസ്ക്രിപ്റ്റ്',
13541355 'narayam-ta' => 'തമിഴ് ലിപ്യന്തരണം',
13551356 'narayam-ta-bamini' => 'തമിൾ ഭാമിനി',
 1357+ 'narayam-tcy' => 'തുളു ലിപ്യന്തരണം',
13561358 'narayam-te-inscript' => 'തെലുഗു ഇൻസ്ക്രിപ്റ്റ്',
13571359 'narayam-bn-avro' => 'ബംഗാളി അവ്രൊ',
13581360 'narayam-bn-inscript' => 'ബംഗാളി ഇൻസ്ക്രിപ്റ്റ്',
Index: trunk/extensions/Narayam/Narayam.php
@@ -135,6 +135,9 @@
136136 'ta-bamini' => array( 'ext.narayam.rules.ta-bamini', 'beta' ),
137137 'ta-inscript' => array( 'ext.narayam.rules.ta-inscript', 'beta' ),
138138 ),
 139+ 'tcy' => array(
 140+ 'tcy' => array( 'ext.narayam.rules.tcy', 'beta' ),
 141+ ),
139142 'te' => array(
140143 'te-inscript' => 'ext.narayam.rules.te-inscript',
141144 ),
@@ -237,6 +240,7 @@
238241 'narayam-ta-inscript',
239242 'narayam-ta',
240243 'narayam-ta-bamini',
 244+ 'narayam-tcy',
241245 'narayam-te-inscript',
242246 'narayam-ur',
243247 ),
@@ -430,3 +434,8 @@
431435 'scripts' => 'resources/ext.narayam.rules.mai-inscript.js',
432436 'dependencies' => 'ext.narayam.rules.hi-inscript',
433437 );
 438+$wgResourceModules['ext.narayam.rules.tcy'] = $narayamTpl + array(
 439+ 'scripts' => 'resources/ext.narayam.rules.tcy.js',
 440+ 'dependencies' => 'ext.narayam.rules.kn',
 441+);
 442+

Status & tagging log