Implements a special page which shows all translations for a message. More...
Public Member Functions | |
__construct (Language $contentLanguage, LanguageNameUtils $languageNameUtils) | |
getDescription () | |
execute ( $par) | |
Entry point : initialise variables and call subfunctions. | |
getSortedNamespaces () | |
Returns sorted array of namespaces. | |
Protected Member Functions | |
getGroupName () | |
namespaceMessageForm (Title $title=null) | |
Message input fieldset. | |
showTranslations (Title $title) | |
Builds a table with all translations of $title. | |
Implements a special page which shows all translations for a message.
Bits taken from SpecialPrefixindex.php and TranslateTasks.php
Definition at line 27 of file TranslationsSpecialPage.php.
MediaWiki\Extension\Translate\TranslatorInterface\TranslationsSpecialPage::__construct | ( | Language | $contentLanguage, |
LanguageNameUtils | $languageNameUtils ) |
Definition at line 33 of file TranslationsSpecialPage.php.
MediaWiki\Extension\Translate\TranslatorInterface\TranslationsSpecialPage::execute | ( | $par | ) |
Entry point : initialise variables and call subfunctions.
string | null | $par | Message key. Becomes "MediaWiki:Allmessages" when called like Special:Translations/MediaWiki:Allmessages (default null) |
Definition at line 53 of file TranslationsSpecialPage.php.
MediaWiki\Extension\Translate\TranslatorInterface\TranslationsSpecialPage::getDescription | ( | ) |
Definition at line 44 of file TranslationsSpecialPage.php.
|
protected |
Definition at line 40 of file TranslationsSpecialPage.php.
MediaWiki\Extension\Translate\TranslatorInterface\TranslationsSpecialPage::getSortedNamespaces | ( | ) |
Returns sorted array of namespaces.
Definition at line 147 of file TranslationsSpecialPage.php.
|
protected |
Message input fieldset.
Title | null | $title | (default: null) |
Definition at line 105 of file TranslationsSpecialPage.php.
|
protected |
Builds a table with all translations of $title.
Title | $title | (default: null) |
Definition at line 164 of file TranslationsSpecialPage.php.