r62531 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62530‎ | r62531 | r62532 >
Date:17:50, 15 February 2010
Author:mah
Status:ok
Tags:
Comment:
follow-up r62498 — use the new functionality of requireOnlyOneParameter of allowing “false” defaults
Modified paths:
  • /trunk/phase3/includes/api/ApiUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiUpload.php
@@ -277,7 +277,7 @@
278278 'watch' => false,
279279 'ignorewarnings' => false,
280280 'file' => null,
281 - 'enablechunks' => null, /* must be null to work with requireOnlyOneParameter */
 281+ 'enablechunks' => false,
282282 'chunksession' => null,
283283 'chunk' => null,
284284 'done' => false,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62498follow up r62353 Make ApiBase::requireOnlyOneParameter() accept parameters th...mah07:06, 15 February 2010

Status & tagging log