r75000 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74999‎ | r75000 | r75001 >
Date:04:56, 19 October 2010
Author:neilk
Status:ok
Tags:
Comment:
followup to r74766, ensure stashfailed warning is returned
Modified paths:
  • /branches/uploadwizard/phase3/includes/api/ApiUpload.php (modified) (history)

Diff [purge]

Index: branches/uploadwizard/phase3/includes/api/ApiUpload.php
@@ -96,7 +96,7 @@
9797 try {
9898 $result['sessionkey'] = $this->performStash();
9999 } catch ( MWException $e ) {
100 - $warnings['stashfailed'] = $e->getMessage();
 100+ $result['warnings']['stashfailed'] = $e->getMessage();
101101 }
102102 } elseif ( $this->mParams['stash'] ) {
103103 // Some uploads can request they be stashed, so as not to publish them immediately.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74766accepted Roan's suggestions on r74536neilk02:48, 14 October 2010

Status & tagging log