This class implements the "Most used messages" group for MediaWiki. More...
Public Member Functions | |
export (MessageCollection $messages) | |
exportToFile (MessageCollection $messages, $authors) | |
setListFile ($file) | |
getDefinitions () | |
This function returns array of type key => definition of all messages this message group handles. | |
Protected Attributes | |
$label = 'MediaWiki (most used)' | |
Human-readable name of this group. | |
$id = 'core-0-mostused' | |
Group-wide unique id of this group. | |
$meta = true | |
Meta groups consist of multiple groups or parts of other groups. | |
$list | |
$description = '{{int:translate-group-desc-mediawikimostused}}' | |
Holds descripton of this group. |
This class implements the "Most used messages" group for MediaWiki.
Definition at line 17 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::export | ( | MessageCollection $ | messages | ) |
Definition at line 25 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::exportToFile | ( | MessageCollection $ | messages, | |
$ | authors | |||
) |
Definition at line 29 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::getDefinitions | ( | ) |
This function returns array of type key => definition of all messages this message group handles.
MWException |
Reimplemented from MessageGroupOld.
Definition at line 37 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::setListFile | ( | $ | file | ) |
Definition at line 33 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::$description = '{{int:translate-group-desc-mediawikimostused}}' [protected] |
Holds descripton of this group.
Description is a wiki text snippet that gives information about this group to translators.
Reimplemented from CoreMessageGroup.
Definition at line 23 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::$id = 'core-0-mostused' [protected] |
Group-wide unique id of this group.
Used also for sorting.
Reimplemented from CoreMessageGroup.
Definition at line 19 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::$label = 'MediaWiki (most used)' [protected] |
Human-readable name of this group.
Reimplemented from CoreMessageGroup.
Definition at line 18 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::$list [protected] |
Definition at line 21 of file CoreMostUsedMessageGroup.php.
CoreMostUsedMessageGroup::$meta = true [protected] |
Meta groups consist of multiple groups or parts of other groups.
This info is used on many places, like when creating message index.
Reimplemented from MessageGroupOld.
Definition at line 20 of file CoreMostUsedMessageGroup.php.