Page MenuHomeWickedGov Phorge

MessageDefinitionAid.php
No OneTemporary

Size
584 B
Referenced Files
None
Subscribers
None

MessageDefinitionAid.php

<?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

Mime Type
text/x-php
Expires
Sat, Oct 3, 17:18 (1 d, 14 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
af/f3/13933c1faa7b0fd434b49a684748
Default Alt Text
MessageDefinitionAid.php (584 B)

Event Timeline