51 $allowedRedirectParams = [], $addedRedirectParams = []
53 parent::__construct( $name );
56 $this->mAllowedRedirectParams = $allowedRedirectParams;
57 $this->mAddedRedirectParams = $addedRedirectParams;
65 if ( $this->redirSubpage ===
false ) {
74class_alias( SpecialRedirectToSpecial::class,
'SpecialRedirectToSpecial' );
Shortcut to construct a special page alias.
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...
string false $redirSubpage
Name of subpage of redirect target.
__construct( $name, $redirName, $redirSubpage=false, $allowedRedirectParams=[], $addedRedirectParams=[])
string $redirName
Name of redirect target.