r74279 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74278‎ | r74279 | r74280 >
Date:21:18, 4 October 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r74234 flip parameters
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)
  • /trunk/phase3/maintenance/tests/phpunit/includes/api/ApiWatchTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiWatchTest.php
@@ -94,7 +94,6 @@
9595 return $data;
9696 }
9797
98 -
9998 /**
10099 * @depends testWatchEdit
101100 */
Index: trunk/phase3/includes/api/ApiBase.php
@@ -866,7 +866,7 @@
867867 */
868868 private function warnOrDie( $msg, $enforceLimits = false ) {
869869 if ( $enforceLimits ) {
870 - $this->dieUsage( 'integeroutofrange', $msg );
 870+ $this->dieUsage( $msg, 'integeroutofrange' );
871871 } else {
872872 $this->setWarning( $msg );
873873 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74234Minor tweaks to r74232, add a value for $botMax on calls for integer validati...reedy20:29, 3 October 2010

Status & tagging log