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, MessageIndex $messageIndex, LinkBatchFactory $linkBatchFactory)
 
 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 52 of file ManageGroupsSpecialPage.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 78 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 565 of file ManageGroupsSpecialPage.php.

◆ doesWrites()

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

Definition at line 99 of file ManageGroupsSpecialPage.php.

◆ execute()

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

Definition at line 111 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 311 of file ManageGroupsSpecialPage.php.

◆ getDescription()

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

Definition at line 107 of file ManageGroupsSpecialPage.php.

◆ getGroupName()

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

Definition at line 103 of file ManageGroupsSpecialPage.php.

◆ getLegend()

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

Definition at line 188 of file ManageGroupsSpecialPage.php.

◆ getLimit()

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

How many changes can be shown per page.

Definition at line 176 of file ManageGroupsSpecialPage.php.

◆ processSubmit()

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

Definition at line 457 of file ManageGroupsSpecialPage.php.

◆ showChanges()

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

Definition at line 198 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 578 of file ManageGroupsSpecialPage.php.

Member Data Documentation

◆ $cdb

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

Definition at line 58 of file ManageGroupsSpecialPage.php.

◆ $diff

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

Definition at line 56 of file ManageGroupsSpecialPage.php.

◆ $hasRight

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

Definition at line 60 of file ManageGroupsSpecialPage.php.


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