Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -17,30 +17,30 @@ |
18 | 18 | * usually the same, but they are now allowed to be different. |
19 | 19 | */ |
20 | 20 | class EditPage { |
21 | | - const AS_SUCCESS_UPDATE = 200; |
22 | | - const AS_SUCCESS_NEW_ARTICLE = 201; |
23 | | - const AS_HOOK_ERROR = 210; |
24 | | - const AS_FILTERING = 211; |
25 | | - const AS_HOOK_ERROR_EXPECTED = 212; |
26 | | - const AS_BLOCKED_PAGE_FOR_USER = 215; |
27 | | - const AS_CONTENT_TOO_BIG = 216; |
28 | | - const AS_USER_CANNOT_EDIT = 217; |
29 | | - const AS_READ_ONLY_PAGE_ANON = 218; |
30 | | - const AS_READ_ONLY_PAGE_LOGGED = 219; |
31 | | - const AS_READ_ONLY_PAGE = 220; |
32 | | - const AS_RATE_LIMITED = 221; |
33 | | - const AS_ARTICLE_WAS_DELETED = 222; |
34 | | - const AS_NO_CREATE_PERMISSION = 223; |
35 | | - const AS_BLANK_ARTICLE = 224; |
36 | | - const AS_CONFLICT_DETECTED = 225; |
37 | | - const AS_SUMMARY_NEEDED = 226; |
38 | | - const AS_TEXTBOX_EMPTY = 228; |
39 | | - const AS_MAX_ARTICLE_SIZE_EXCEEDED = 229; |
40 | | - const AS_OK = 230; |
41 | | - const AS_END = 231; |
42 | | - const AS_SPAM_ERROR = 232; |
43 | | - const AS_IMAGE_REDIRECT_ANON = 233; |
44 | | - const AS_IMAGE_REDIRECT_LOGGED = 234; |
| 21 | + const AS_SUCCESS_UPDATE = 200; |
| 22 | + const AS_SUCCESS_NEW_ARTICLE = 201; |
| 23 | + const AS_HOOK_ERROR = 210; |
| 24 | + const AS_FILTERING = 211; |
| 25 | + const AS_HOOK_ERROR_EXPECTED = 212; |
| 26 | + const AS_BLOCKED_PAGE_FOR_USER = 215; |
| 27 | + const AS_CONTENT_TOO_BIG = 216; |
| 28 | + const AS_USER_CANNOT_EDIT = 217; |
| 29 | + const AS_READ_ONLY_PAGE_ANON = 218; |
| 30 | + const AS_READ_ONLY_PAGE_LOGGED = 219; |
| 31 | + const AS_READ_ONLY_PAGE = 220; |
| 32 | + const AS_RATE_LIMITED = 221; |
| 33 | + const AS_ARTICLE_WAS_DELETED = 222; |
| 34 | + const AS_NO_CREATE_PERMISSION = 223; |
| 35 | + const AS_BLANK_ARTICLE = 224; |
| 36 | + const AS_CONFLICT_DETECTED = 225; |
| 37 | + const AS_SUMMARY_NEEDED = 226; |
| 38 | + const AS_TEXTBOX_EMPTY = 228; |
| 39 | + const AS_MAX_ARTICLE_SIZE_EXCEEDED = 229; |
| 40 | + const AS_OK = 230; |
| 41 | + const AS_END = 231; |
| 42 | + const AS_SPAM_ERROR = 232; |
| 43 | + const AS_IMAGE_REDIRECT_ANON = 233; |
| 44 | + const AS_IMAGE_REDIRECT_LOGGED = 234; |
45 | 45 | |
46 | 46 | var $mArticle; |
47 | 47 | var $mTitle; |