From: Matthew Flaschen Date: Fri, 18 Mar 2016 23:54:46 +0000 (-0400) Subject: Title: Fix inaccurate documentation of getUserPermissionsErrorsInternal X-Git-Tag: 1.31.0-rc.0~7531^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=f30d1337eabeebcc3305ec5c80189acd5896645d;p=lhc%2Fweb%2Fwiklou.git Title: Fix inaccurate documentation of getUserPermissionsErrorsInternal Blocks are checked (checkUserBlock). Change-Id: I3a164d1003f2bea3e3e07081c9bebfabd884ade9 --- diff --git a/includes/Title.php b/includes/Title.php index 0ac3e461a6..960832c03a 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2452,8 +2452,8 @@ class Title implements LinkTarget { /** * Can $user perform $action on this page? This is an internal function, - * which checks ONLY that previously checked by userCan (i.e. it leaves out - * checks on wfReadOnly() and blocks) + * with multiple levels of checks depending on performance needs; see $rigor below. + * It does not check wfReadOnly(). * * @param string $action Action that permission needs to be checked for * @param User $user User to check