Provides minimal translation aids which integrate with the edit page and on diffs for translatable messages. More...
Public Member Functions | |
__construct (MessageHandle $handle, IContextSource $context, LanguageFactory $languageFactory) | |
getBoxes () | |
Returns block element HTML snippet that contains the translation aids. | |
Provides minimal translation aids which integrate with the edit page and on diffs for translatable messages.
Definition at line 22 of file LegacyTranslationAids.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyTranslationAids::__construct | ( | MessageHandle | $handle, |
IContextSource | $context, | ||
LanguageFactory | $languageFactory ) |
Definition at line 28 of file LegacyTranslationAids.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyTranslationAids::getBoxes | ( | ) |
Returns block element HTML snippet that contains the translation aids.
Not all boxes are shown all the time depending on whether they have any information to show and on configuration variables.
Definition at line 56 of file LegacyTranslationAids.php.