From 11425ad462662103696ecf9e2764d5eb763bf7b3 Mon Sep 17 00:00:00 2001 From: Stephan Gambke Date: Wed, 24 Feb 2016 22:21:07 +0100 Subject: [PATCH] Remove "Not logged in" from the personal URLs array The array of personal URLs should only contain links to the personal tools of the user. "Not logged in" is a status message, not a personal URL, so it should not appear in that array. The status should instead be indicated to the user by the skin itself in whatever way seems best for the skin in question. The following patches depend on this one to reintroduce the message: * Vector skin: Ic560d3fd * Monobook skin: I7001e311 Bug: T121793 Bug: T127758 Change-Id: I5cfa9b4e2f4eb420d5fda6b1c6ce28926cb8e738 --- includes/skins/SkinTemplate.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php index 10d9cb93ed..cefc5bcd5c 100644 --- a/includes/skins/SkinTemplate.php +++ b/includes/skins/SkinTemplate.php @@ -695,11 +695,6 @@ class SkinTemplate extends Skin { // No need to show Talk and Contributions to anons if they can't contribute! if ( User::groupHasPermission( '*', 'edit' ) ) { - // Show the text "Not logged in" - $personal_urls['anonuserpage'] = [ - 'text' => $this->msg( 'notloggedin' )->text() - ]; - // Because of caching, we can't link directly to the IP talk and // contributions pages. Instead we use the special page shortcuts // (which work correctly regardless of caching). This means we can't -- 2.20.1