Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler Class Reference

Integration point to MediaWiki for the legacy translation aids. More...

Inheritance diagram for MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler:

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.
 
 onArticleContentOnDiff ( $diffEngine, $output)
 Enhances the action=diff view with some translations aids.
 

Detailed Description

Integration point to MediaWiki for the legacy translation aids.

Author
Niklas Laxström @license GPL-2.0-or-later

Definition at line 20 of file LegacyInterfaceHookHandler.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::__construct ( LanguageFactory $languageFactory)

Definition at line 26 of file LegacyInterfaceHookHandler.php.

Member Function Documentation

◆ onAlternateEdit()

MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onAlternateEdit ( $editPage)

Do not show the usual introductory messages on edit page for messages.

Parameters
EditPage$editPage

Definition at line 34 of file LegacyInterfaceHookHandler.php.

◆ onArticleContentOnDiff()

MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onArticleContentOnDiff ( $diffEngine,
$output )

Enhances the action=diff view with some translations aids.

Parameters
DifferenceEngine$diffEngine
OutputPage$output

Definition at line 73 of file LegacyInterfaceHookHandler.php.

◆ onEditPage__showEditForm_initial()

MediaWiki\Extension\Translate\TranslatorInterface\LegacyInterfaceHookHandler::onEditPage__showEditForm_initial ( $editPage,
$out )

Enhances the action=edit view for wikitext editor with some translation aids.

Parameters
EditPage$editPage
OutputPage$out

Definition at line 47 of file LegacyInterfaceHookHandler.php.


The documentation for this class was generated from the following file: