Followup r78117: information was still leaked through the caption of the Edit tab...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 10 Dec 2010 11:33:51 +0000 (11:33 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 10 Dec 2010 11:33:51 +0000 (11:33 +0000)
commit78d8e3a50ad2046c843bee9abfb06509d4d2786c
tree8db89ed94c0ef32dfa8a9b48c2e6425ab3f43e98
parent927bba6f65fccf561f2a6b136610ada183e7e410
Followup r78117: information was still leaked through the caption of the Edit tab (which is "Create" for nonexistent pages) for users who had edit but not read rights. This may seem like a ridiculous case, but since we automatically disallow edit if you can't read, it's easy to forget to disallow editing as well as reading. Fixed this by not showing the edit tab at all if the user can't read (which makes sense since it's also hidden if the user is explicitly forbidden from editing).
includes/SkinTemplate.php
skins/Vector.php