diff options
Diffstat (limited to 'includes/Permissions')
-rw-r--r-- | includes/Permissions/PermissionManager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Permissions/PermissionManager.php b/includes/Permissions/PermissionManager.php index 4f460279be0e..fd54f369a700 100644 --- a/includes/Permissions/PermissionManager.php +++ b/includes/Permissions/PermissionManager.php @@ -950,6 +950,8 @@ class PermissionManager { // If no ActionInfo is returned, assume that the action requires unblock // which is the default. + // NOTE: We may get null here even for known actions, if a wiki's main page + // is set to a special page, e.g. Special:MyLanguage/Main_Page (T348451, T346036). if ( !$actionInfo || $actionInfo->requiresUnblock() ) { if ( ( !$page || $this->isBlockedFrom( $user, $page, $useReplica ) ) || |