Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\MoveTranslatableBundleJob Class Reference

Contains class with job for moving translation pages. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\MoveTranslatableBundleJob:

Public Member Functions

 __construct (Title $title, array $params=[])
 
 run ()
 

Static Public Member Functions

static newJob (Title $source, Title $target, array $moves, array $redirects, string $reason, User $performer)
 

Detailed Description

Contains class with job for moving translation pages.

Author
Niklas Laxström @license GPL-2.0-or-later

Definition at line 20 of file MoveTranslatableBundleJob.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\MoveTranslatableBundleJob::__construct ( Title $title,
array $params = [] )

Definition at line 52 of file MoveTranslatableBundleJob.php.

Member Function Documentation

◆ newJob()

static MediaWiki\Extension\Translate\MessageGroupProcessing\MoveTranslatableBundleJob::newJob ( Title $source,
Title $target,
array $moves,
array $redirects,
string $reason,
User $performer )
static
Parameters
Title$source
Title$target
array<string,string>$moves list of pages to be moved
array<string,bool>$redirects a list of pages to leave redirect for
string$reason
User$performer
Returns
self

Definition at line 32 of file MoveTranslatableBundleJob.php.

◆ run()

MediaWiki\Extension\Translate\MessageGroupProcessing\MoveTranslatableBundleJob::run ( )

Definition at line 57 of file MoveTranslatableBundleJob.php.


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