Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation Class Reference

Represents a single page being moved including the talk page. More...

Public Member Functions

 __construct (Title $old, ?Title $new, ?InvalidPageTitleRename $e=null)
 
 getOldTitle ()
 
 getNewTitle ()
 
 getOldTalkpage ()
 
 getNewTalkpage ()
 
 hasTalkpage ()
 
 getRenameErrorCode ()
 
 setTalkpage (Title $oldTalkpage, ?Title $newTalkpage)
 

Detailed Description

Represents a single page being moved including the talk page.

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

Definition at line 14 of file PageMoveOperation.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::__construct ( Title $old,
?Title $new,
?InvalidPageTitleRename $e = null )

Definition at line 26 of file PageMoveOperation.php.

Member Function Documentation

◆ getNewTalkpage()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::getNewTalkpage ( )

Definition at line 44 of file PageMoveOperation.php.

◆ getNewTitle()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::getNewTitle ( )

Definition at line 36 of file PageMoveOperation.php.

◆ getOldTalkpage()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::getOldTalkpage ( )

Definition at line 40 of file PageMoveOperation.php.

◆ getOldTitle()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::getOldTitle ( )

Definition at line 32 of file PageMoveOperation.php.

◆ getRenameErrorCode()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::getRenameErrorCode ( )

Definition at line 52 of file PageMoveOperation.php.

◆ hasTalkpage()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::hasTalkpage ( )

Definition at line 48 of file PageMoveOperation.php.

◆ setTalkpage()

MediaWiki\Extension\Translate\PageTranslation\PageMoveOperation::setTalkpage ( Title $oldTalkpage,
?Title $newTalkpage )

Definition at line 57 of file PageMoveOperation.php.


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