Contains logic to determine the new title of translatable pages and dependent pages being moved. More...
Public Member Functions | |
__construct (Title $source, Title $target) | |
getNewTitle (Title $title) | |
Public Attributes | |
const | NO_ERROR = 0 |
const | UNKNOWN_PAGE = 1 |
const | NS_TALK_UNSUPPORTED = 2 |
const | RENAME_FAILED = 3 |
const | INVALID_TITLE = 4 |
Contains logic to determine the new title of translatable pages and dependent pages being moved.
Definition at line 16 of file PageTitleRenamer.php.
MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::__construct | ( | Title | $source, |
Title | $target ) |
Definition at line 27 of file PageTitleRenamer.php.
MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::getNewTitle | ( | Title | $title | ) |
Definition at line 65 of file PageTitleRenamer.php.
const MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::INVALID_TITLE = 4 |
Definition at line 21 of file PageTitleRenamer.php.
const MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::NO_ERROR = 0 |
Definition at line 17 of file PageTitleRenamer.php.
const MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::NS_TALK_UNSUPPORTED = 2 |
Definition at line 19 of file PageTitleRenamer.php.
const MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::RENAME_FAILED = 3 |
Definition at line 20 of file PageTitleRenamer.php.
const MediaWiki\Extension\Translate\PageTranslation\PageTitleRenamer::UNKNOWN_PAGE = 1 |
Definition at line 18 of file PageTitleRenamer.php.