DevelopmentSettings: Do not override existing REST API config

Change-Id: I49549eb68a7eeb0fde91522eec3fbbeb47aec5cd
This commit is contained in:
Gergő Tisza 2023-03-05 11:53:11 -08:00
parent 5a59fe1e22
commit 1e5a866a79
No known key found for this signature in database
GPG key ID: C34FEC97E6257F96

View file

@ -86,7 +86,7 @@ foreach ( $wgRateLimits as $right => &$limit ) {
$wgEnableJavaScriptTest = true;
// Enable development/experimental endpoints
$wgRestAPIAdditionalRouteFiles = [ 'includes/Rest/coreDevelopmentRoutes.json' ];
$wgRestAPIAdditionalRouteFiles[] = 'includes/Rest/coreDevelopmentRoutes.json';
// Greatly raise the limits on short/long term login attempts,
// so that automated tests run in parallel don't error.