Index: trunk/phase3/includes/api/ApiQueryLangLinks.php |
— | — | @@ -116,6 +116,12 @@ |
117 | 117 | public function getDescription() { |
118 | 118 | return 'Returns all interlanguage links from the given page(s)'; |
119 | 119 | } |
| 120 | + |
| 121 | + public function getPossibleErrors() { |
| 122 | + return array_merge( parent::getPossibleErrors(), array( |
| 123 | + array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), |
| 124 | + ) ); |
| 125 | + } |
120 | 126 | |
121 | 127 | protected function getExamples() { |
122 | 128 | return array ( |
Index: trunk/phase3/includes/api/ApiQueryInfo.php |
— | — | @@ -596,6 +596,12 @@ |
597 | 597 | public function getDescription() { |
598 | 598 | return 'Get basic page information such as namespace, title, last touched date, ...'; |
599 | 599 | } |
| 600 | + |
| 601 | + public function getPossibleErrors() { |
| 602 | + return array_merge( parent::getPossibleErrors(), array( |
| 603 | + array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), |
| 604 | + ) ); |
| 605 | + } |
600 | 606 | |
601 | 607 | protected function getExamples() { |
602 | 608 | return array ( |
Index: trunk/phase3/includes/api/ApiQueryDuplicateFiles.php |
— | — | @@ -148,6 +148,12 @@ |
149 | 149 | public function getDescription() { |
150 | 150 | return 'List all files that are duplicates of the given file(s).'; |
151 | 151 | } |
| 152 | + |
| 153 | + public function getPossibleErrors() { |
| 154 | + return array_merge( parent::getPossibleErrors(), array( |
| 155 | + array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), |
| 156 | + ) ); |
| 157 | + } |
152 | 158 | |
153 | 159 | protected function getExamples() { |
154 | 160 | return array ( 'api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles', |
Index: trunk/phase3/includes/api/ApiQueryImages.php |
— | — | @@ -145,6 +145,12 @@ |
146 | 146 | public function getDescription() { |
147 | 147 | return 'Returns all images contained on the given page(s)'; |
148 | 148 | } |
| 149 | + |
| 150 | + public function getPossibleErrors() { |
| 151 | + return array_merge( parent::getPossibleErrors(), array( |
| 152 | + array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ), |
| 153 | + ) ); |
| 154 | + } |
149 | 155 | |
150 | 156 | protected function getExamples() { |
151 | 157 | return array ( |