X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSkinTemplate.php;h=da4af61e727a57cb1a45d7e910f6605af1f35ce4;hb=94db914b7172dddec5c142ee2fbe750c5745f0d8;hp=173d37af6f92855a120cb6e9f47f6f359f3a5a42;hpb=7c6f0d541ef554538665043d700c4bcc2be943e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 173d37af6f..da4af61e72 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -643,7 +643,6 @@ class SkinTemplate extends Skin { $is_signup = $request->getText( 'type' ) == 'signup'; # anonlogin & login are the same - global $wgSecureLogin; $proto = $wgSecureLogin ? PROTO_HTTPS : null; $login_id = $this->showIPinHeader() ? 'anonlogin' : 'login'; @@ -1208,6 +1207,7 @@ class SkinTemplate extends Skin { $rootUser = $user->getName(); $nav_urls['contributions'] = array( + 'text' => $this->msg( 'contributions', $rootUser )->text(), 'href' => self::makeSpecialUrlSubpage( 'Contributions', $rootUser ) );