Article::updateArticle() doesn't exist anymore
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 May 2011 08:43:42 +0000 (08:43 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 May 2011 08:43:42 +0000 (08:43 +0000)
includes/api/ApiEditPage.php

index b9140b5..33b86af 100644 (file)
@@ -358,9 +358,9 @@ class ApiEditPage extends ApiBase {
                                // or DB weirdness occurred. Fall through to throw an unknown
                                // error.
 
-                               // This needs fixing higher up, as Article::doEdit should be
-                               // used rather than Article::updateArticle, so that specific
-                               // error conditions can be returned
+                               // This needs fixing higher up, as EditPage::internalAttemptSave
+                               // should return the Status object, so that specific error
+                               // conditions can be returned
                        default:
                                $this->dieUsageMsg( array( 'unknownerror', $retval ) );
                }