Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5974314
MessageDefinitionAid.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
MessageDefinitionAid.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\TranslatorInterface\Aid
;
/**
* Translation aid that provides the message definition.
* This usually matches the content of the page ns:key/source_language.
* @ingroup TranslationAids
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2013-01-01
*/
class
MessageDefinitionAid
extends
TranslationAid
{
public
function
getData
():
array
{
$language
=
$this
->
group
->
getSourceLanguage
();
return
[
'value'
=>
$this
->
dataProvider
->
getDefinition
(),
'language'
=>
$language
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 17:18 (1 d, 12 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
af/f3/13933c1faa7b0fd434b49a684748
Default Alt Text
MessageDefinitionAid.php (584 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment