1520,1521c1520,1537 < if ( !empty( $wgGroupPermissions['*']['read'] ) ) < return true; --- > if ($wgGroupPermissions['*']['read']) { > $groups = $wgUser->getEffectiveGroups(); > $restrictions = $this->getRestrictions('read'); > > if (count($restrictions) == 0) { > return true; > } > > foreach ($restrictions as $r) { > foreach ($groups as $g) { > if ($g == $r) { > return true; > } > } > } > > return false; > }