r56556 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56555‎ | r56556 | r56557 >
Date:19:27, 17 September 2009
Author:btongminh
Status:ok
Tags:
Comment:
Resolving virtual url of temp path for stashed files, unbreaking stashed uploads.
Modified paths:
  • /trunk/phase3/includes/upload/UploadFromStash.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/upload/UploadFromStash.php
@@ -34,8 +34,10 @@
3535 * them in the session on the server and just give
3636 * an opaque key to the user agent.
3737 */
 38+
 39+ $repo = RepoGroup::singleton()->getLocalRepo();
3840 parent::initialize( $name,
39 - $sessionData['mTempPath'],
 41+ $repo->resolveVirtualUrl( $sessionData['mTempPath'] ),
4042 $sessionData['mFileSize'],
4143 false
4244 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r56557Merging btongminh * r56556 /trunk/phase3/includes/upload/UploadFromStash.php:...btongminh19:29, 17 September 2009

Status & tagging log