DevelopmentSettings: Move wgPasswordAttemptThrottle to correct section

This was intended as a setting override to faciliate testing, not as
something that is experimental and may later become default.

Follows-Up: Ief9e724c84755248a6fccfd04abdd4b03e331a8e

Bug: T298735
Change-Id: I56e98926c7d857c0c221d3ffd9b3be0b4267b6ae
This commit is contained in:
Kosta Harlan 2022-01-25 12:54:27 +01:00
parent b877f2700d
commit 4999d5d4ef

View file

@ -74,6 +74,13 @@ $wgEnableJavaScriptTest = true;
// Enable development/experimental endpoints
$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.
$wgPasswordAttemptThrottle = [
[ 'count' => 1000, 'seconds' => 300 ],
[ 'count' => 100000, 'seconds' => 60 * 60 * 48 ],
];
/**
* Experimental changes that may later become the default.
* (Must reference a Phabricator ticket)
@ -104,10 +111,3 @@ $wgEnableUploads = true;
$wgVisualEditorEnableWikitext = true;
// Currently the default, but repeated here for safety since it would break many source editor tests.
$wgDefaultUserOptions['visualeditor-newwikitext'] = 0;
$wgPasswordAttemptThrottle = [
// Greatly raise the limits on short/long term login attempts,
// so that automated tests run in parallel don't error.
[ 'count' => 1000, 'seconds' => 300 ],
[ 'count' => 100000, 'seconds' => 60 * 60 * 48 ],
];