Integration point to MediaWiki for the legacy translation aids. More...
Public Member Functions | |
__construct (LanguageFactory $languageFactory) | |
onAlternateEdit ( $editPage) | |
Do not show the usual introductory messages on edit page for messages. | |
onEditPage__showEditForm_initial ( $editPage, $out) | |
Enhances the action=edit view for wikitext editor with some translation aids. | |
onTitleGetEditNotices ( $title, $oldid, &$notices) | |
onArticleContentOnDiff ( $diffEngine, $output) | |
Enhances the action=diff view with some translations aids. | |
onSidebarBeforeOutput ( $skin, &$sidebar) | |
Adds toolbox menu item to pages, showing all other available translations for a message. | |
Integration point to MediaWiki for the legacy translation aids.
Definition at line 24 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::__construct | ( | LanguageFactory | $languageFactory | ) |
Definition at line 34 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onAlternateEdit | ( | $editPage | ) |
Do not show the usual introductory messages on edit page for messages.
EditPage | $editPage |
Definition at line 42 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onArticleContentOnDiff | ( | $diffEngine, | |
$output ) |
Enhances the action=diff view with some translations aids.
DifferenceEngine | $diffEngine | |
OutputPage | $output |
Definition at line 92 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onEditPage__showEditForm_initial | ( | $editPage, | |
$out ) |
Enhances the action=edit view for wikitext editor with some translation aids.
EditPage | $editPage | |
OutputPage | $out |
Definition at line 55 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onSidebarBeforeOutput | ( | $skin, | |
& | $sidebar ) |
Adds toolbox menu item to pages, showing all other available translations for a message.
Only shown when it actually is a translatable/translated message.
@inheritDoc
Definition at line 111 of file LegacyInterfaceHookHandler.php.
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onTitleGetEditNotices | ( | $title, | |
$oldid, | |||
& | $notices ) |
Definition at line 73 of file LegacyInterfaceHookHandler.php.