Fix Bug 28354: Edit tab is shown as "view source" for blocked users, which breaks...
authorPaul Copperman <pcopp@users.mediawiki.org>
Tue, 3 May 2011 13:18:57 +0000 (13:18 +0000)
committerPaul Copperman <pcopp@users.mediawiki.org>
Tue, 3 May 2011 13:18:57 +0000 (13:18 +0000)
commit83d79be8da537d46f98bf623c3217be4c16fe828
tree02d6d834f7c59758688e023a828d6e0c86277ec4
parentabc88c1561bbd19c5014610af112e5b0bd699312
Fix Bug 28354: Edit tab is shown as "view source" for blocked users, which breaks squid caching

* Skip user block checks for Title::quickUserCan(). This restores the behavior from 1.16 rsp. before r65504.
* Remove unnecessary check for "$short && count($errors)", this is already handled by getUserPermissionsErrorsInternal().
includes/Title.php