r87952 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87951‎ | r87952 | r87953 >
Date:08:43, 13 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Article::updateArticle() doesn't exist anymore
Modified paths:
  • /trunk/phase3/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiEditPage.php
@@ -358,9 +358,9 @@
359359 // or DB weirdness occurred. Fall through to throw an unknown
360360 // error.
361361
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
365365 default:
366366 $this->dieUsageMsg( array( 'unknownerror', $retval ) );
367367 }

Status & tagging log