Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -324,7 +324,7 @@ |
325 | 325 | wfProfileOut( $fname ); |
326 | 326 | return; |
327 | 327 | } |
328 | | - if ( (!$this->mTitle->isTalkPage() && !$wgUser->isAllowed('edit')) || ($this->mTitle->isTalkPage() && !$wgUser->isAllowed('edittalk')) ) { |
| 328 | + if ( !$wgUser->isAllowed('edit') ) { |
329 | 329 | if ( $wgUser->isAnon() ) { |
330 | 330 | wfDebug( "$fname: user must log in\n" ); |
331 | 331 | $this->userNotLoggedInPage(); |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -959,7 +959,6 @@ |
960 | 960 | $wgGroupPermissions['*' ]['createaccount'] = true; |
961 | 961 | $wgGroupPermissions['*' ]['read'] = true; |
962 | 962 | $wgGroupPermissions['*' ]['edit'] = true; |
963 | | -$wgGroupPermissions['*' ]['edittalk'] = true; |
964 | 963 | $wgGroupPermissions['*' ]['createpage'] = true; |
965 | 964 | $wgGroupPermissions['*' ]['createtalk'] = true; |
966 | 965 | |
— | — | @@ -967,7 +966,6 @@ |
968 | 967 | $wgGroupPermissions['user' ]['move'] = true; |
969 | 968 | $wgGroupPermissions['user' ]['read'] = true; |
970 | 969 | $wgGroupPermissions['user' ]['edit'] = true; |
971 | | -$wgGroupPermissions['user' ]['edittalk'] = true; |
972 | 970 | $wgGroupPermissions['user' ]['createpage'] = true; |
973 | 971 | $wgGroupPermissions['user' ]['createtalk'] = true; |
974 | 972 | $wgGroupPermissions['user' ]['upload'] = true; |