38 parent::__construct(
'Mytalk' );
40 $this->tempUserConfig = $tempUserConfig;
49 if ( $this->tempUserConfig->isEnabled() && $this->getUser()->isAnon() ) {
53 if ( $subpage ===
null || $subpage ===
'' ) {
74class_alias( SpecialMytalk::class,
'SpecialMytalk' );
Helper for any RedirectSpecialPage which redirects the user to a particular article (as opposed to us...
getUser()
Shortcut to get the User executing this instance.
requireLogin( $reasonMsg='exception-nologin-text', $titleMsg='exception-nologin')
If the user is not logged in, throws UserNotLoggedIn error.
getName()
Get the canonical, unlocalized name of this special page without namespace.