From f30d1337eabeebcc3305ec5c80189acd5896645d Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Fri, 18 Mar 2016 19:54:46 -0400 Subject: [PATCH] Title: Fix inaccurate documentation of getUserPermissionsErrorsInternal Blocks are checked (checkUserBlock). Change-Id: I3a164d1003f2bea3e3e07081c9bebfabd884ade9 --- includes/Title.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1