Title: Fix inaccurate documentation of getUserPermissionsErrorsInternal
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 18 Mar 2016 23:54:46 +0000 (19:54 -0400)
committerKrinkle <krinklemail@gmail.com>
Thu, 24 Mar 2016 04:35:19 +0000 (04:35 +0000)
Blocks are checked (checkUserBlock).

Change-Id: I3a164d1003f2bea3e3e07081c9bebfabd884ade9

includes/Title.php

index 0ac3e46..960832c 100644 (file)
@@ -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