Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4194691
hy.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
718 B
Referenced Files
None
Subscribers
None
hy.js
View Options
/*!
* Armenian (Հայերեն) language functions
*/
mw
.
language
.
convertGrammarMapping
.
hy
=
function
(
word
,
form
)
{
// These rules are not perfect, but they are currently only used for site names so it doesn't
// matter if they are wrong sometimes. Just add a special case for your site name if necessary.
switch
(
form
)
{
case
'genitive'
:
// սեռական հոլով
if
(
word
.
slice
(
-
1
)
===
'ա'
)
{
word
=
word
.
slice
(
0
,
-
1
)
+
'այի'
;
}
else
if
(
word
.
slice
(
-
1
)
===
'ո'
)
{
word
=
word
.
slice
(
0
,
-
1
)
+
'ոյի'
;
}
else
if
(
word
.
slice
(
-
4
)
===
'գիրք'
)
{
word
=
word
.
slice
(
0
,
-
4
)
+
'գրքի'
;
}
else
{
word
=
word
+
'ի'
;
}
break
;
}
return
word
;
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 20 2026, 19:54 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d1/08/bceb319f3afb979a7e0dcdc01b22
Default Alt Text
hy.js (718 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment