msg( 'mobile-frontend-main-menu-logout' )->escaped(); $url = SpecialPage::getTitleFor( 'Userlogout' )->getLocalURL( $authLinksQuery ); parent::__construct( 'logout', $text, $url, $classes ); $this->trackClicks( 'logout' ); $this->setIcon( 'logOut', $iconType ); } }