Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageProcessing\TranslateReplaceTitle Class Reference

Helper class that cotains utility methods to help with identifying and replace titles. More...

Static Public Member Functions

static getTitlesForMove (MessageHandle $sourceMessageHandle, string $replacement)
 Returns two lists: a set of message handles that would be moved/renamed by the current text replacement, and the set of message handles that would ordinarily be moved but are not movable, due to permissions or any other reason.
 

Detailed Description

Helper class that cotains utility methods to help with identifying and replace titles.

Author
Abijeet Patro
Since
2019.10 @license GPL-2.0-or-later

Definition at line 17 of file TranslateReplaceTitle.php.

Member Function Documentation

◆ getTitlesForMove()

static MediaWiki\Extension\Translate\MessageProcessing\TranslateReplaceTitle::getTitlesForMove ( MessageHandle $sourceMessageHandle,
string $replacement )
static

Returns two lists: a set of message handles that would be moved/renamed by the current text replacement, and the set of message handles that would ordinarily be moved but are not movable, due to permissions or any other reason.

Returns
Title[][]

Definition at line 24 of file TranslateReplaceTitle.php.


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