Message group for MediaWiki extensions. More...
Public Member Functions | |
| getDescription (?IContextSource $context=null) | |
| MediaWiki extensions all should have key in their i18n files describing them. | |
| Public Member Functions inherited from MediaWiki\Extension\Translate\MessageGroups\FileBasedMessageGroup | |
| getFFS () | |
| exists () | |
| @inheritDoc | |
| load ( $code) | |
| @inheritDoc | |
| parseExternal (string $code) | |
| getSourceFilePath ( $code) | |
| getTargetFilename (string $code) | |
| replaceVariables ( $pattern, $code) | |
| mapCode ( $code) | |
| Map an internal MediaWiki language code to the code used in the exported file. | |
| getKeys () | |
| @inheritDoc | |
| initCollection ( $code) | |
| @inheritDoc | |
| getMessage ( $key, $code) | |
| @inheritDoc | |
| getMessageGroupCache (string $code) | |
| getSourceLanguage () | |
| Returns language code depicting the language of source text. | |
| Public Member Functions inherited from MediaWiki\Extension\Translate\MessageGroups\MessageGroupBase | |
| getConfiguration () | |
| getId () | |
| @inheritDoc | |
| getLabel (?IContextSource $context=null) | |
| @inheritDoc | |
| getIcon () | |
| @inheritDoc | |
| getNamespace () | |
| @inheritDoc | |
| isMeta () | |
| @inheritDoc | |
| getDefinitions () | |
| @inheritDoc | |
| getValidator () | |
| @inheritDoc | |
| getMangler () | |
| @inheritDoc | |
| getInsertablesSuggester () | |
| Returns the configured InsertablesSuggester if any. | |
| getTags ( $type=null) | |
| @inheritDoc | |
| getMessageGroupStates () | |
| @inheritDoc | |
| getTranslatableLanguages () | |
| @inheritDoc | |
| getSupportConfig () | |
| @inheritDoc | |
| getRelatedPage () | |
| @inheritDoc | |
Additional Inherited Members | |
| Static Public Member Functions inherited from MediaWiki\Extension\Translate\MessageGroups\FileBasedMessageGroup | |
| static | newFromMessageGroup (MessageGroup $group, string $targetPattern='') |
| Constructs a FileBasedMessageGroup from any normal message group. | |
| static | getExtraSchema () |
| Return a data structure that will be merged with the base schema. | |
| Static Public Member Functions inherited from MediaWiki\Extension\Translate\MessageGroups\MessageGroupBase | |
| static | factory (array $conf) |
| static | newFromConf (string $class, array $conf) |
| Construct and initialise an instance of $class from $conf. | |
| Public Attributes inherited from MediaWiki\Extension\Translate\MessageGroups\FileBasedMessageGroup | |
| const | NO_FILE_FORMAT = 1 |
| Public Attributes inherited from MediaWiki\Extension\Translate\MessageGroups\MessageGroup | |
| const | DEFAULT_LANGUAGES = null |
| Return value from getTranslatableLanguages when to use defaults. | |
| Protected Member Functions inherited from MediaWiki\Extension\Translate\MessageGroups\MessageGroupBase | |
| parseTags (array $patterns) | |
| getRawTags (?string $type=null) | |
| setTags (MessageCollection $collection) | |
| parseNamespace () | |
| isSourceLanguage (string $code) | |
| Protected Attributes inherited from MediaWiki\Extension\Translate\MessageGroups\FileBasedMessageGroup | |
| $reverseCodeMap | |
| Protected Attributes inherited from MediaWiki\Extension\Translate\MessageGroups\MessageGroupBase | |
| array | $conf |
| int | $namespace |
| StringMatcher | $mangler = null |
Message group for MediaWiki extensions.
Definition at line 16 of file MediaWikiExtensionMessageGroup.php.
| MediaWiki\Extension\Translate\MessageGroups\MediaWikiExtensionMessageGroup::getDescription | ( | ?IContextSource | $context = null | ) |
MediaWiki extensions all should have key in their i18n files describing them.
This override method implements the logic to retrieve them.
| IContextSource | null | $context |
Reimplemented from MediaWiki\Extension\Translate\MessageGroups\MessageGroupBase.
Definition at line 24 of file MediaWikiExtensionMessageGroup.php.