Index: trunk/phase3/includes/Title.php |
— | — | @@ -1158,9 +1158,7 @@ |
1159 | 1159 | ( !$this->isTalkPage() && !$user->isAllowed( 'createpage' ) ) ) { |
1160 | 1160 | $errors[] = $user->isAnon() ? array ('nocreatetext') : array ('nocreate-loggedin'); |
1161 | 1161 | } |
1162 | | - } |
1163 | | - |
1164 | | - if( $action == 'move' && |
| 1162 | + } elseif( $action == 'move' && |
1165 | 1163 | !( $this->isMovable() && $user->isAllowed( 'move' ) ) ) { |
1166 | 1164 | $errors[] = $user->isAnon() ? array ( 'movenologintext' ) : array ('movenotallowed'); |
1167 | 1165 | } else if ( !$user->isAllowed( $action ) ) { |