Index: trunk/phase3/includes/upload/UploadBase.php |
— | — | @@ -478,7 +478,7 @@ |
479 | 479 | $permErrors = $nt->getUserPermissionsErrors( 'edit', $user ); |
480 | 480 | $permErrorsUpload = $nt->getUserPermissionsErrors( 'upload', $user ); |
481 | 481 | if ( !$nt->exists() ) { |
482 | | - $permErrorsCreate = $nt->getUserPermissionsErrors( 'createpage', $user ); |
| 482 | + $permErrorsCreate = $nt->getUserPermissionsErrors( 'create', $user ); |
483 | 483 | } else { |
484 | 484 | $permErrorsCreate = array(); |
485 | 485 | } |