diff options
author | Brian Evans <grknight@gentoo.org> | 2022-09-27 18:53:03 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2022-09-27 19:02:02 -0400 |
commit | 5ca8d30155e11d97b20f79acec40632c2e06fcd5 (patch) | |
tree | 7531fb116791f8328c0bb0cabe42265ca67e6df9 /MLEB/Translate/hooks.txt | |
parent | Merge branch 'master' into wikitest (diff) | |
download | extensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.tar.gz extensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.tar.bz2 extensions-5ca8d30155e11d97b20f79acec40632c2e06fcd5.zip |
Update MLEB to 2021.12v1.35.2
This is the final version for MW 1.35
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/hooks.txt')
-rw-r--r-- | MLEB/Translate/hooks.txt | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/MLEB/Translate/hooks.txt b/MLEB/Translate/hooks.txt index 62f31b1f..4f287c44 100644 --- a/MLEB/Translate/hooks.txt +++ b/MLEB/Translate/hooks.txt @@ -37,10 +37,6 @@ Post processing step to format in wiki === PHP events === -;Translate:MessageGroupStats:isIncluded: Controls whether message group is shown for a given language in language or message group statistics. Mostly used internally by Translate to hide discouraged groups and groups restricted to certain languages. - string $groupId: Message group id - string $code: Language code - ;TranslateBeforeAddModules: Provides an opportunity to load extra modules array &$modules: List of resource loader module names @@ -58,11 +54,6 @@ Post processing step to format in wiki ;TranslateEventTranslationReview: Event triggered when a translation is proofread MessageHandle $handle -;TranslateGetBoxes: Provides an opportunity to add or remove "boxes" (translation helpers) from the translation interface - MessageGroup $group: The message group being worked on - MessageHandle $handle: An object representing the translation page (e.g. 'MediaWiki:Example/qqq') - array &$boxes: An associative array to be appended to (format: 'name' => 'some HTML string') - ;TranslateGetAPIMessageGroupsParameterList: Allows extra parameters to be added to the action=query&meta=messagegroups module array &$params: An associative array of possible parameters (name => details; see ApiQueryMessageGroups.php for correct spacing) @@ -73,15 +64,11 @@ Post processing step to format in wiki array &$defaults: Associative array of default values array &$nondefaults: Associative array of nondefault (override) values -;Translate:GettextFFS:headerFields: Allows to customize headers of exported Gettext files per group. Certain X-headers nor Plural-Forms cannot be customized. +;Translate:GettextFFS:headerFields: Allows customizing headers of exported Gettext files per group. Certain X-headers nor Plural-Forms cannot be customized. array &$headers: List of prefilled headers. You can remove, change or add new headers. MessageGroup $group: Message group instance string $code: Language code -;TranslateMessageGroupPathVariables: Allows to manipulate the list of variables for message group path patterns. - MessageGroup $group - array &$variables: Variable name => replacement - ;Translate:newTranslation: Event triggered when non-fuzzy translation has been made MessageHandle $handle int $revisionId @@ -90,7 +77,7 @@ Post processing step to format in wiki ;TranslatePostInitGroups: Hook to register new message groups to Translate. Manual cache clear may be needed to have this hook executed. array &$groups: Map of message group id to message group instance - array &$deps: List of dependencies as supported by DependecyWrapper class from MediaWiki + array &$deps: List of dependencies as supported by DependencyWrapper class from MediaWiki array &$autoload: List of autoloaded classes. Key is the name of the class and value is filename. ;TranslateInitGroupLoaders: Hook to register new message group loaders that can then load MessageGroups for translation purpose. @@ -100,7 +87,7 @@ Post processing step to format in wiki string &$translation: The translation string as it stands MessageHandle $handle: The current MessageHandle object -;TranslateProcessAPIMessageGroupsProperties: Allows exrra property requests to be acted upon, and the new new properties returned +;TranslateProcessAPIMessageGroupsProperties: Allows extra property requests to be acted upon, and the new properties returned array &$a: Associative array of the properties of $group that will be returned array $props: Associative array ($name => true) of properties the user has specifically requested array $params: Parameter input by the user (unprefixed name => value) @@ -110,9 +97,6 @@ Post processing step to format in wiki array &$list: List of languages indexed by language code string $language: Language code of the language of which language names are in -;TranslateTranslationAids: Make new translation aids available to any message group (which must choose an implementation in its getTranslationAids() method). - array &$types: List of translation aid identifiers, numerically indexed - ;Translate:modifyMessageGroupStates: Allow hooks to change workflow states depending on the group's ID. string $groupId: ID of the current message group. array &$conf: Workflow states, can be modified. |