Index: trunk/phase3/includes/api/ApiComparePages.php |
— | — | @@ -114,6 +114,7 @@ |
115 | 115 | return array_merge( parent::getPossibleErrors(), array( |
116 | 116 | array( 'code' => 'inputneeded', 'info' => 'A title or a revision is needed' ), |
117 | 117 | array( 'invalidtitle', 'title' ), |
| 118 | + array( 'code' => 'baddiff', 'info' => 'The diff cannot be retrieved. Maybe one or both revisions do not exist or you do not have permission to view them.' ), |
118 | 119 | ) ); |
119 | 120 | } |
120 | 121 | |