Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -378,9 +378,9 @@ |
379 | 379 | header( 'Retry-After: ' . max( intval( $maxLag ), 5 ) ); |
380 | 380 | header( 'X-Database-Lag: ' . intval( $lag ) ); |
381 | 381 | if( $wgShowHostnames ) { |
382 | | - $this->dieUsage( "Waiting for $host: $lag seconds lagged", 'maxlag', 503 ); |
| 382 | + $this->dieUsage( "Waiting for $host: $lag seconds lagged", 'maxlag' ); |
383 | 383 | } else { |
384 | | - $this->dieUsage( "Waiting for a database server: $lag seconds lagged", 'maxlag', 503 ); |
| 384 | + $this->dieUsage( "Waiting for a database server: $lag seconds lagged", 'maxlag' ); |
385 | 385 | } |
386 | 386 | return; |
387 | 387 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -306,7 +306,6 @@ |
307 | 307 | * (bug 18785) Add siprop=languages to meta=siteinfo |
308 | 308 | * (bug 14200) Added user and excludeuser parameters to list=watchlist and |
309 | 309 | list=recentchanges |
310 | | -* Return HTTP 503 status code on maxlag error, like index.php does |
311 | 310 | * Added index, fromtitle and byteoffset fields to action=parse&prop=sections |
312 | 311 | output |
313 | 312 | * (bug 19313) action=rollback returns wrong revid on master/slave setups |