Contains an unmanaged message group for fetching stats using message prefixes. More...
Public Member Functions | |
| setLanguage (string $code) | |
| getId () | |
| @inheritDoc | |
| getLabel (?IContextSource $context=null) | |
| @inheritDoc | |
| getDescription (?IContextSource $context=null) | |
| @inheritDoc | |
| getDefinitions () | |
| @inheritDoc | |
| getValidator () | |
| @inheritDoc | |
Public Member Functions inherited from WikiMessageGroup | |
| __construct ( $id, $source) | |
| getSourceLanguage () | |
| Defaults to wiki content language. | |
| getMessage ( $key, $code) | |
| Returns of stored translation of message specified by the $key in language code $code. | |
Public Member Functions inherited from MessageGroupOld | |
| setLabel ( $value) | |
| setId ( $value) | |
| getNamespace () | |
| Get the namespace where all the messages of this group belong. | |
| setNamespace ( $ns) | |
| Set the namespace where all the messages of this group belong. | |
| setDescription (string $value) | |
| getIcon () | |
| @inheritDoc | |
| isMeta () | |
| @inheritDoc | |
| getMangler () | |
| load ( $code) | |
| @inheritDoc | |
| getUniqueDefinitions () | |
| This function can be used for meta message groups to list their "own" messages. | |
| getKeys () | |
| @inheritDoc | |
| initCollection ( $code, $unique=false) | |
| Creates a new MessageCollection for this group. | |
| exists () | |
| Can be overwritten to return false if something is wrong. | |
| getTags ( $type=null) | |
| @inheritDoc | |
| getMessageGroupStates () | |
| Get the message group workflow state configuration. | |
| getTranslatableLanguages () | |
| @inheritDoc | |
| getSupportConfig () | |
| Gets support URL defined for the group if any. | |
| getRelatedPage () | |
| @inheritDoc | |
Public Member Functions inherited from MessageGroup | |
| initCollection ( $code) | |
| Initialises a message collection with the given language code, message definitions and message tags. | |
Protected Attributes | |
| $language | |
Protected Attributes inherited from WikiMessageGroup | |
| $source | |
Protected Attributes inherited from MessageGroupOld | |
| $label = 'none' | |
| $id = 'none' | |
| $namespace = NS_MEDIAWIKI | |
| $description = null | |
| $meta = false | |
| $mangler = null | |
| $messages = [] | |
Additional Inherited Members | |
Static Public Member Functions inherited from MessageGroupOld | |
| static | normaliseKeys ( $array) |
Public Attributes inherited from MessageGroup | |
| const | DEFAULT_LANGUAGES = null |
| Return value from getTranslatableLanguages when to use defaults. | |
Protected Member Functions inherited from MessageGroupOld | |
| isSourceLanguage ( $code) | |
Static Protected Member Functions inherited from MessageGroupOld | |
| static | addContext (Message $message, ?IContextSource $context=null) |
Contains an unmanaged message group for fetching stats using message prefixes.
Definition at line 13 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::__construct | ( | ) |
Definition at line 17 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::getDefinitions | ( | ) |
@inheritDoc
Reimplemented from WikiMessageGroup.
Definition at line 41 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::getDescription | ( | ?IContextSource | $context = null | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 35 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::getId | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 25 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::getLabel | ( | ?IContextSource | $context = null | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 30 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::getValidator | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 46 of file MessagePrefixMessageGroup.php.
| MessagePrefixMessageGroup::setLanguage | ( | string | $code | ) |
Definition at line 20 of file MessagePrefixMessageGroup.php.
|
protected |
Definition at line 15 of file MessagePrefixMessageGroup.php.