Index: trunk/phase3/includes/api/ApiEditPage.php |
— | — | @@ -358,9 +358,9 @@ |
359 | 359 | // or DB weirdness occurred. Fall through to throw an unknown |
360 | 360 | // error. |
361 | 361 | |
362 | | - // This needs fixing higher up, as Article::doEdit should be |
363 | | - // used rather than Article::updateArticle, so that specific |
364 | | - // error conditions can be returned |
| 362 | + // This needs fixing higher up, as EditPage::internalAttemptSave |
| 363 | + // should return the Status object, so that specific error |
| 364 | + // conditions can be returned |
365 | 365 | default: |
366 | 366 | $this->dieUsageMsg( array( 'unknownerror', $retval ) ); |
367 | 367 | } |