Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
RecentAdditionsMessageGroup Class Reference
Inheritance diagram for RecentAdditionsMessageGroup:
RecentMessageGroup WikiMessageGroup MessageGroupOld MessageGroup

Public Member Functions

 getId ()
 @inheritDoc
 
 getLabel (?IContextSource $context=null)
 @inheritDoc
 
 getDescription (?IContextSource $context=null)
 @inheritDoc
 
- Public Member Functions inherited from RecentMessageGroup
 __construct ()
 These groups are always generated for one language.
 
 setLanguage (string $code)
 
 getDefinitions ()
 @inheritDoc
 
 getValidator ()
 @inheritDoc
 
 getMessageContent (MessageHandle $handle)
 Subpage language code, if any in the title, is ignored.
 
- 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 Member Functions

 getQueryConditions ()
 Allows subclasses to partially customize the query.
 
- Protected Member Functions inherited from RecentMessageGroup
 getRCCutoff ()
 
 matchingMessage (MessageHandle $handle)
 Filters out messages that should not be displayed here as they are not displayed in other places.
 
- Protected Member Functions inherited from MessageGroupOld
 isSourceLanguage ( $code)
 

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.
 
- Static Protected Member Functions inherited from MessageGroupOld
static addContext (Message $message, ?IContextSource $context=null)
 
- Protected Attributes inherited from RecentMessageGroup
 $namespace = false
 
 $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 = []
 

Detailed Description

Since
2012-11-01

Definition at line 20 of file RecentAdditionsMessageGroup.php.

Member Function Documentation

◆ getDescription()

RecentAdditionsMessageGroup::getDescription ( ?IContextSource $context = null)

@inheritDoc

Reimplemented from RecentMessageGroup.

Definition at line 35 of file RecentAdditionsMessageGroup.php.

◆ getId()

RecentAdditionsMessageGroup::getId ( )

@inheritDoc

Reimplemented from RecentMessageGroup.

Definition at line 22 of file RecentAdditionsMessageGroup.php.

◆ getLabel()

RecentAdditionsMessageGroup::getLabel ( ?IContextSource $context = null)

@inheritDoc

Reimplemented from RecentMessageGroup.

Definition at line 27 of file RecentAdditionsMessageGroup.php.

◆ getQueryConditions()

RecentAdditionsMessageGroup::getQueryConditions ( )
protected

Allows subclasses to partially customize the query.

Returns
array

Reimplemented from RecentMessageGroup.

Definition at line 42 of file RecentAdditionsMessageGroup.php.


The documentation for this class was generated from the following file: