Improved personal toolbar for logged-out users
authorThis, that and the other <at.light@live.com.au>
Fri, 6 Nov 2015 23:51:59 +0000 (10:51 +1100)
committerJdlrobson <jrobson@wikimedia.org>
Tue, 1 Dec 2015 18:44:52 +0000 (18:44 +0000)
commitea335eb55d293e0eb426ce1a1613144d443e3462
tree244133482951bcd2941d8186ccd75bcae43d680e
parent50c5a9d27d9f254ef95247ce2784de83970532a4
Improved personal toolbar for logged-out users

Previously, logged-out users either only saw "Create account" and "Log in"
links in the personal area, or if $wgShowIPinHeader was true, they saw

  [icon] 127.0.0.1  Talk for this IP address  Create account  Log in

where the IP address itself linked to the IP user page.

Now, logged-out users by default see the following:

  [icon] Not logged in  Talk  Contributions  Create account  Log in

The old $wgShowIPinHeader feature is removed. It is very unfriendly to
show the user's IP address (in red, no less) at the top of every page,
since this will mean nothing to most visitors. Caching means that this
can't even be done reliably, anyway.

Another improvement is that the "talk" and "contributions" links are not
shown if anonymous users don't have the 'edit' right.

Modelled after the loggedOutTalkPage() function at Dutch Wikipedia
<https://nl.wikipedia.org/w/index.php?oldid=44706954>

Bug: T112724
Change-Id: I6f44e3e5d97ea917e4a03af47f3795792e4ca122
includes/DefaultSettings.php
includes/Setup.php
includes/cache/HTMLFileCache.php
includes/skins/Skin.php
includes/skins/SkinTemplate.php
languages/i18n/en.json
languages/i18n/qqq.json