Index: trunk/phase3/maintenance/tests/phpunit/includes/api/ApiWatchTest.php |
— | — | @@ -94,7 +94,6 @@ |
95 | 95 | return $data; |
96 | 96 | } |
97 | 97 | |
98 | | - |
99 | 98 | /** |
100 | 99 | * @depends testWatchEdit |
101 | 100 | */ |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -866,7 +866,7 @@ |
867 | 867 | */ |
868 | 868 | private function warnOrDie( $msg, $enforceLimits = false ) { |
869 | 869 | if ( $enforceLimits ) { |
870 | | - $this->dieUsage( 'integeroutofrange', $msg ); |
| 870 | + $this->dieUsage( $msg, 'integeroutofrange' ); |
871 | 871 | } else { |
872 | 872 | $this->setWarning( $msg ); |
873 | 873 | } |