r104266 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104265‎ | r104266 | r104267 >
Date:08:11, 26 November 2011
Author:amire80
Status:ok
Tags:
Comment:
Replacing the halant.
Modified paths:
  • /trunk/extensions/Narayam/resources/ext.narayam.rules.gu.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Narayam/resources/ext.narayam.rules.gu.js
@@ -7,43 +7,43 @@
88
99 // Normal rules
1010 var rules = [
11 -['ક्h', 'c', 'ચ'],
 11+['ક્h', 'c', 'ચ'],
1212 ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
1313
14 -['([ક-હ]़?)्a', '', '$1'],
15 -['([ક-હ]़?)्A', '', '$1ા'],
 14+['([ક-હ]़?)્a', '', '$1'],
 15+['([ક-હ]़?)્A', '', '$1ા'],
1616 ['([ક-હ]़?)a', '', '$1ા'],
17 -['([ક-હ]़?)्i', '', '$1િ'],
18 -['([ક-હ]़?)(्I|િi|ॆe)', '', '$1ી'],
19 -['([ક-હ]़?)्u', '', '$1ુ'],
20 -['([ક-હ]़?)(ુu|्U|ોo)', '', '$1ૂ'],
21 -['([ક-હ]़?)्R', '', '$1ृ'],
 17+['([ક-હ]़?)્i', '', '$1િ'],
 18+['([ક-હ]़?)(્I|િi|ॆe)', '', '$1ી'],
 19+['([ક-હ]़?)્u', '', '$1ુ'],
 20+['([ક-હ]़?)(ુu|્U|ોo)', '', '$1ૂ'],
 21+['([ક-હ]़?)્R', '', '$1ृ'],
2222 ['([ક-હ]़?)ृR', '', '$1ॄ'],
23 -['([ક-હ]़?)्ળl', '', '$1ॢ'],
 23+['([ક-હ]़?)્ળl', '', '$1ॢ'],
2424 ['([ક-હ]़?)ॢl', '', '$1ॣ'],
2525 ['([ક-હ]़?)ॆ\\^', '', '$1ॅ'],
26 -['([ક-હ]़?)्e', '', '$1ॆ'],
27 -['([ક-હ]़?)्E', '', '$1ૅ'],
 26+['([ક-હ]़?)્e', '', '$1ॆ'],
 27+['([ક-હ]़?)્E', '', '$1ૅ'],
2828 ['([ક-હ]़?)ો\\^', '', '$1ૉ'],
2929 ['([ક-હ]़?)i', '', '$1ૈ'],
30 -['([ક-હ]़?)्o', '', '$1ો'],
31 -['([ક-હ]़?)्O', '', '$1ો'],
 30+['([ક-હ]़?)્o', '', '$1ો'],
 31+['([ક-હ]़?)્O', '', '$1ો'],
3232 ['([ક-હ]़?)u', '', '$1ૌ'],
3333
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्ऱ्'],
 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્ऱ્'],
4646
47 -['([ક-હ])्\\`', '', '$1़्'],
 47+['([ક-હ])્\\`', '', '$1़્'],
4848
4949 ['અa', '', 'આ'],
5050 ['(ઑo|ઉu)', '', 'ઊ'],
@@ -60,9 +60,9 @@
6161 ['ंm', '', 'ँ'],
6262 ['ઓM', '', 'ૐ'],
6363
64 -['રY', '', 'ऱ्ય'],
 64+['રY', '', 'ऱ્ય'],
6565
66 -['ક्h', '', 'ખ'],//kh
 66+['ક્h', '', 'ખ'],//kh
6767 ['ગh', '', 'ઘ'],
6868 ['નg', '', 'ઙ'],
6969 ['ચh', '', 'છ'],
@@ -86,11 +86,11 @@
8787 ['ઋE', '', 'ऱૅ'],
8888 ['ઋo', '', 'ऱો'],
8989 ['ઋO', '', 'ऱો'],
90 -['ઋ\\~', '', 'ऱ्'],
 90+['ઋ\\~', '', 'ऱ્'],
9191
9292 ['સh', '', 'ષ'],
93 -['ક़्h', '', 'ખ'],
94 -['જh', '', 'ऴ्'],
 93+['ક़્h', '', 'ખ'],
 94+['જh', '', 'ऴ્'],
9595 ['।\\.', '', '॥'],
9696
9797 ['a', '', 'અ'],
@@ -98,7 +98,7 @@
9999 ['c', '', 'ચ્'],
100100 ['d', '', 'દ્'],
101101 ['e', '', 'ઍ'],
102 -['f', '', 'ફ्'],
 102+['f', '', 'ફ્'],
103103 ['g', '', 'ગ્'],
104104 ['h', '', 'હ્'],
105105 ['i', '', 'ઇ'],
@@ -119,16 +119,16 @@
120120 ['y', '', 'ય્'],
121121 ['(z|Z)', '', 'જ'],
122122 ['A', '', 'આ'],
123 -//['B', '', 'બ्'], //double
124 -//['C', '', 'ક्ક्'],
 123+//['B', '', 'બ્'], //double
 124+//['C', '', 'ક્ક્'],
125125 ['D', '', 'ડ'],
126126 ['E', '', 'એ'],
127 -['F', '', 'ફ्'],
 127+['F', '', 'ફ્'],
128128 ['G', '', 'ગ'],//double
129129 ['H', '', 'ः'],
130130 ['I', '', 'ઈ'],
131131 ['J', '', 'જ'],//double
132 -// ['K', '', 'ક्ક्'],
 132+// ['K', '', 'ક્ક્'],
133133 ['L', '', 'ળ'],
134134 ['M', '', 'ं'],
135135 ['N', '', 'ણ'],
@@ -137,10 +137,10 @@
138138 //'Q', '', 'અ'],
139139 ['R', '', 'ઋ'],
140140 ['S', '', 'શ'],
141 -['T', '', 'ટ्'],
 141+['T', '', 'ટ્'],
142142 ['U', '', 'ઊ'],
143143 ['(V|W)', '', 'વ'],//double
144 -['X', '', 'ક्ષ'],
 144+['X', '', 'ક્ષ'],
145145 ['Y', '', 'ય'],//double
146146 //'z', '', 'અ'
147147 ['0', '', '૦'],
@@ -153,7 +153,7 @@
154154 ['7', '', '૭'],
155155 ['8', '', '૮'],
156156 ['9', '', '૯'],
157 -['~', '', '्'],
 157+['~', '', '્'],
158158 ['\\.', '', '।'],
159159 ['//', '', 'ऽ'],
160160 ['\\`', '', '़'],

Follow-up revisions

RevisionCommit summaryAuthorDate
r104269Correcting more Gujarati vowels.amire8010:30, 26 November 2011
r104348More virama fixes.amire8017:25, 27 November 2011

Status & tagging log