Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains Class Reference

Support for tools using Intuition at the Toolserver and Wikimedia Labs. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains:
MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeMediaWikiExtensionGroups

Public Member Functions

 __construct (string $def, string $path)
 @inheritDoc
 
- Public Member Functions inherited from MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeMediaWikiExtensionGroups
 setGroupPrefix (string $value)
 How to prefix message group ids.
 
 setNamespace (int $value)
 Which namespace holds the messages.
 
 register (array &$list, array &$deps)
 Hook: TranslatePostInitGroups.
 

Protected Member Functions

 getDefaultNamespace ()
 Get the default namespace.
 
 processGroups (array $groups)
 
- Protected Member Functions inherited from MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeMediaWikiExtensionGroups
 getNamespace ()
 Get the namespace ID.
 
 createMessageGroup (string $id, array $info)
 Creates MediaWikiExtensionMessageGroup objects from parsed data.
 
 parseFile ()
 

Protected Attributes

array $groups
 
- Protected Attributes inherited from MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeMediaWikiExtensionGroups
string $idPrefix = 'ext-'
 
int $namespace = null
 
string $path
 
string $definitionFile
 

Detailed Description

Support for tools using Intuition at the Toolserver and Wikimedia Labs.

Used on translatewiki.net

Author
Niklas Laxström
Krinkle

Definition at line 14 of file PremadeIntuitionTextdomains.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains::__construct ( string $def,
string $path )

Member Function Documentation

◆ getDefaultNamespace()

MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains::getDefaultNamespace ( )
protected

Get the default namespace.

Subclasses can override this.

Reimplemented from MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeMediaWikiExtensionGroups.

Definition at line 23 of file PremadeIntuitionTextdomains.php.

◆ processGroups()

MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains::processGroups ( array $groups)
protected

Member Data Documentation

◆ $groups

array MediaWiki\Extension\Translate\MessageGroupConfiguration\PremadeIntuitionTextdomains::$groups
protected

Definition at line 15 of file PremadeIntuitionTextdomains.php.


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