Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -1236,6 +1236,8 @@ |
1237 | 1237 | 'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ), |
1238 | 1238 | 'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ), |
1239 | 1239 | 'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ), |
| 1240 | + |
| 1241 | + 'mustbeloggedin' => array( 'code' => 'mustbeloggedin', 'info' => 'You must be logged in to $1.' ) |
1240 | 1242 | ); |
1241 | 1243 | |
1242 | 1244 | /** |