Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage Class Reference

Class for special page Special:ManageMessageGroups. More...

Inheritance diagram for MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage:

Public Member Functions

 __construct (Language $contLang, NamespaceInfo $nsInfo, RevisionLookup $revLookup, GroupSynchronizationCache $synchronizationCache, JobQueueGroup $jobQueueGroup)
 
 doesWrites ()
 
 getDescription ()
 
 execute ( $par)
 

Static Public Member Functions

static tabify (Skin $skin, array &$tabs)
 Adds the task-based tabs on Special:Translate and few other special pages.
 

Protected Member Functions

 getGroupName ()
 
 getLimit ()
 How many changes can be shown per page.
 
 getLegend ()
 
 showChanges (int $limit)
 
 formatChange (MessageGroup $group, MessageSourceChange $changes, string $language, string $type, array $params, int &$limit)
 
 processSubmit ()
 

Static Protected Member Functions

static changeId (string $groupId, string $language, string $type, string $key)
 

Protected Attributes

 $diff
 
 $cdb
 
 $hasRight = false
 

Detailed Description

Class for special page Special:ManageMessageGroups.

On this special page file based message groups can be managed (FileBasedMessageGroup). This page allows updating of the file cache, import and fuzzy for source language messages, as well as import/update of messages in other languages.

Author
Niklas Laxström
Siebrand Mazeland

@license GPL-2.0-or-later

Definition at line 51 of file ManageGroupsSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::__construct ( Language $contLang,
NamespaceInfo $nsInfo,
RevisionLookup $revLookup,
GroupSynchronizationCache $synchronizationCache,
JobQueueGroup $jobQueueGroup )

Definition at line 73 of file ManageGroupsSpecialPage.php.

Member Function Documentation

◆ changeId()

static MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::changeId ( string $groupId,
string $language,
string $type,
string $key )
staticprotected

Definition at line 551 of file ManageGroupsSpecialPage.php.

◆ doesWrites()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::doesWrites ( )

Definition at line 90 of file ManageGroupsSpecialPage.php.

◆ execute()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::execute ( $par)

Definition at line 102 of file ManageGroupsSpecialPage.php.

◆ formatChange()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::formatChange ( MessageGroup $group,
MessageSourceChange $changes,
string $language,
string $type,
array $params,
int & $limit )
protected

Definition at line 303 of file ManageGroupsSpecialPage.php.

◆ getDescription()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::getDescription ( )

Definition at line 98 of file ManageGroupsSpecialPage.php.

◆ getGroupName()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::getGroupName ( )
protected

Definition at line 94 of file ManageGroupsSpecialPage.php.

◆ getLegend()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::getLegend ( )
protected

Definition at line 179 of file ManageGroupsSpecialPage.php.

◆ getLimit()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::getLimit ( )
protected

How many changes can be shown per page.

Definition at line 167 of file ManageGroupsSpecialPage.php.

◆ processSubmit()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::processSubmit ( )
protected

Definition at line 449 of file ManageGroupsSpecialPage.php.

◆ showChanges()

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::showChanges ( int $limit)
protected

Definition at line 189 of file ManageGroupsSpecialPage.php.

◆ tabify()

static MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::tabify ( Skin $skin,
array & $tabs )
static

Adds the task-based tabs on Special:Translate and few other special pages.

Hook: SkinTemplateNavigation::Universal

Definition at line 564 of file ManageGroupsSpecialPage.php.

Member Data Documentation

◆ $cdb

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::$cdb
protected

Definition at line 57 of file ManageGroupsSpecialPage.php.

◆ $diff

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::$diff
protected

Definition at line 55 of file ManageGroupsSpecialPage.php.

◆ $hasRight

MediaWiki\Extension\Translate\Synchronization\ManageGroupsSpecialPage::$hasRight = false
protected

Definition at line 59 of file ManageGroupsSpecialPage.php.


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