Use quickUserCan instead of userCan for searches
authorJackmcbarn <jackmcbarn@gmail.com>
Wed, 18 Jun 2014 17:37:14 +0000 (13:37 -0400)
committerJackmcbarn <jackmcbarn@gmail.com>
Wed, 18 Jun 2014 17:39:22 +0000 (13:39 -0400)
commita1367b219933139d6279a439aac0f6a7e1aecaf6
tree953ae4a5e87a252614340ed360252b1ef8316469
parentef1360a880b9b737d80f45030363cd29ab29b468
Use quickUserCan instead of userCan for searches

When displaying search results, use quickUserCan instead of userCan when
checking whether the user can create the page they searched for. This will
result in things like the titleblacklist still letting users proceed to
the edit window, so that they can see the custom error message, rather
than having no idea why they can't create the page.

Change-Id: Idb428703bb69a83e04bb05df1e7106b6db7bda45
includes/specials/SpecialSearch.php