MediaWiki  1.28.1
ExtensionLanguages Class Reference
Inheritance diagram for ExtensionLanguages:
Collaboration diagram for ExtensionLanguages:

Public Member Functions

 __construct (MessageGroup $group)
 Load the messages group. More...
 
 name ()
 Get the extension name. More...
 
- Public Member Functions inherited from Languages
 __construct ()
 Load the list of languages: all the Messages*.php files in the languages directory. More...
 
 getCaseMismatchMagicWords ($code)
 Get the magic words which do not match the case-sensitivity of the original words. More...
 
 getDuplicateMessages ($code)
 Get the duplicate messages for a specific language. More...
 
 getEmptyMessages ($code)
 Get the empty messages. More...
 
 getFallback ($code)
 Get fallback language code for a specific language. More...
 
 getGeneralMessages ()
 Get all the general English messages, divided to groups: all - all the messages. More...
 
 getIgnoredMessages ()
 Get the ignored messages list. More...
 
 getLanguages ()
 Get the language list. More...
 
 getMagicWords ($code)
 Get magic words for a specific language. More...
 
 getMessages ($code)
 Get all the messages for a specific language (not English), without the fallback language messages, divided to groups: all - all the messages. More...
 
 getMessagesWithDubiousLinks ($code)
 Get the messages which include dubious links. More...
 
 getMessagesWithMismatchVariables ($code)
 Get the messages whose variables do not match the original ones. More...
 
 getMessagesWithoutPlural ($code)
 Get the messages which do not use plural. More...
 
 getMessagesWithUnbalanced ($code)
 Get the messages which include unbalanced brackets. More...
 
 getMessagesWithWhitespace ($code)
 Get the messages with trailing whitespace. More...
 
 getMessagesWithWrongChars ($code)
 Get the messages which include wrong characters. More...
 
 getNamespaceAliases ($code)
 Get namespace aliases for a specific language. More...
 
 getNamespaceNames ($code)
 Get namespace names for a specific language. More...
 
 getNonXHTMLMessages ($code)
 Get the non-XHTML messages. More...
 
 getObsoleteMagicWords ($code)
 Get the obsolete magic words. More...
 
 getObsoleteMessages ($code)
 Get the obsolete messages for a specific language. More...
 
 getObsoleteSpecialPages ($code)
 Get the obsolete special page names. More...
 
 getOptionalMessages ()
 Get the optional messages list. More...
 
 getOverridingMagicWords ($code)
 Get the magic words that override the original English magic word. More...
 
 getProblematicProjectTalks ($code)
 Get the project talk namespace names with no $1. More...
 
 getSpecialPageAliases ($code)
 Get special page aliases for a specific language. More...
 
 getUntranslatedMagicWords ($code)
 Get the untranslated magic words. More...
 
 getUntranslatedMessages ($code)
 Get the untranslated messages for a specific language. More...
 
 getUntranslatedNamespaces ($code)
 Get the untranslated namespace names. More...
 
 getUntraslatedSpecialPages ($code)
 Get the untranslated special page names. More...
 

Protected Member Functions

 loadFile ($code)
 Load the language file. More...
 
- Protected Member Functions inherited from Languages
 loadFile ($code)
 Load the language file. More...
 

Private Attributes

MessageGroup $mMessageGroup
 

Additional Inherited Members

- Protected Attributes inherited from Languages
array $mFallback
 Fallback language in each language. More...
 
array $mGeneralMessages
 General messages in English, divided to groups. More...
 
array $mIgnoredMessages
 All the messages which should be exist only in the English file. More...
 
array $mLanguages
 List of languages. More...
 
array $mMagicWords
 Magic words. More...
 
array $mMessages
 Messages in each language (except for English), divided to groups. More...
 
array $mNamespaceAliases
 Namespace aliases. More...
 
array $mNamespaceNames
 Namespace names. More...
 
array $mOptionalMessages
 All the messages which may be translated or not, depending on the language. More...
 
array $mRawMessages
 Raw list of the messages in each language. More...
 
array $mSpecialPageAliases
 Special page aliases. More...
 

Detailed Description

Definition at line 788 of file languages.inc.

Constructor & Destructor Documentation

ExtensionLanguages::__construct ( MessageGroup  $group)

Load the messages group.

Parameters
MessageGroup$groupThe messages group.

Definition at line 798 of file languages.inc.

Member Function Documentation

ExtensionLanguages::loadFile (   $code)
protected

Load the language file.

Parameters
string$codeThe language code.

Definition at line 819 of file languages.inc.

References $code.

ExtensionLanguages::name ( )

Get the extension name.

Returns
string The extension name.

Definition at line 810 of file languages.inc.

Member Data Documentation

MessageGroup ExtensionLanguages::$mMessageGroup
private

Definition at line 792 of file languages.inc.


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