Hi Jeroen,
I'm using Mediawiki 1.23 now. But I am constantly having a "Notice: Undefined index: read in /XXX/wiki/includes/installer/LocalSettingsGenerator.php on Line 226" at the top of my wiki page.
The line is like:
if ( $this->groupPermissions ) { $groupRights .= "# The following permissions were set based on your choice in the installer\n"; foreach ( $this->groupPermissions as $group => $rightArr ) { $group = self::escapePhpString( $group ); foreach ( $rightArr as $right => $perm ) { $right = self::escapePhpString( $right ); $groupRights .= "\$wgGroupPermissions['$group']['$right'] = " . wfBoolToStr( $perm ) . ";\n"; } } if ( $this->groupPermissions['*']['edit'] === false && $this->groupPermissions['*']['createaccount'] === false Line 226==> && $this->groupPermissions['*']['read'] !== false ) { $noFollow = "\n# Set \$wgNoFollowLinks to true if you open up your wiki to editing by\n" . "# the general public and wish to apply nofollow to external links as a\n" . "# deterrent to spammers. Nofollow is not a comprehensive anti-spam solution\n" . "# and open wikis will generally require other anti-spam measures; for more\n" . "# information, see https://www.mediawiki.org/wiki/Manual:Combating_spam\n" . "\$wgNoFollowLinks = false;"; } }
I try to define 'read' in my "LocalSettings.php" file in this way:
$wgGroupPermissions['*']['read'] = true;
But it didn't work out. Please help me to remove this notice, thank you!