$is_signup = $request->getText( 'type' ) == 'signup';
# anonlogin & login are the same
- global $wgSecureLogin;
$proto = $wgSecureLogin ? PROTO_HTTPS : null;
$login_id = $this->showIPinHeader() ? 'anonlogin' : 'login';
$rootUser = $user->getName();
$nav_urls['contributions'] = array(
+ 'text' => $this->msg( 'contributions', $rootUser )->text(),
'href' => self::makeSpecialUrlSubpage( 'Contributions', $rootUser )
);
$attrs['class'] .= ' active';
$attrs['class'] = trim( $attrs['class'] );
}
-
- // A special case for the talk link in personal tools.
- // See bug 41672 and 42337.
- if ( $key === 'mytalk' ) {
- $html = $this->getMsg( 'parentheses' )->rawParams( $html )->escaped();
- }
-
return Html::rawElement( isset( $options['tag'] ) ? $options['tag'] : 'li', $attrs, $html );
}