Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6009198
LanguageHu.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
731 B
Referenced Files
None
Subscribers
None
LanguageHu.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
use
MediaWiki\Language\Language
;
use
MediaWiki\MainConfigNames
;
use
MediaWiki\MediaWikiServices
;
/**
* Hungarian localisation for MediaWiki
*
* @ingroup Languages
*/
class
LanguageHu
extends
Language
{
/** @inheritDoc */
public
function
convertGrammar
(
$word
,
$case
)
{
$grammarForms
=
MediaWikiServices
::
getInstance
()->
getMainConfig
()
->
get
(
MainConfigNames
::
GrammarForms
);
if
(
isset
(
$grammarForms
[
$this
->
getCode
()][
$case
][
$word
]
)
)
{
return
$grammarForms
[
$this
->
getCode
()][
$case
][
$word
];
}
switch
(
$case
)
{
case
'rol'
:
return
$word
.
'ról'
;
case
'ba'
:
return
$word
.
'ba'
;
case
'k'
:
return
$word
.
'k'
;
}
return
''
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 09:21 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e6/17/8a23361913a41aa6c86de1351f81
Default Alt Text
LanguageHu.php (731 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment