* Merged Title::userCanRead() check in Title::getUserPermissionsErrors()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Nov 2011 19:59:46 +0000 (19:59 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 6 Nov 2011 19:59:46 +0000 (19:59 +0000)
commit381309f4743f07a00cd191aeaee02483e65a827c
treeca77b86c1c801310ddfb67aaf478fb9f0a180456
parentc77380f9c22f13be595ab52d6891a02fa7d88aca
* Merged Title::userCanRead() check in Title::getUserPermissionsErrors()
* (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs from recent changes feeds
* Added second parameter to Title::userCan() and Title::quickUserCan() to allow callers to pass the User object to use for checks; this changes Title::userCan()'s second parameter from "do expensive queries" flag to User, but all callers should have been updated in r102183
* Updated callers that might throw a PermissionsError to use getUserPermissionsErrors() instead and pass the error array to the exception
* Refactored duplicate code in missingPermissionError()
* Moved Title::isNamespaceProtected() a bit upper and Title::userCanRead() near Title::userCan() to have related functions in the same location
* Some minor refactoring in permission-related functions in Title
RELEASE-NOTES-1.19
includes/Article.php
includes/Title.php
includes/Wiki.php
includes/diff/DifferenceEngine.php