wiki.techinc.nl/tests/phpunit/includes/api/query
Kosta Harlan 6efd008f33 TempAccounts: Rate limit acquisition of temp account names
Why:

- We don't want to allow unlimited acquisition of temp account names.
  These should be rate limited in similar way to how we limit the
  creation of temp accounts

What:

- Provide a TempAccountNameAcquisitionThrottle, and use it in the
  acquireName() method
- Set a default that is 10 times the limit of
  TempAccountNameCreationThrottle

Depends-On: If660aad1d0f04f366414084aff3f88484a19d416
Bug: T343101
Change-Id: I99d5973498a89ac227847de5837c0a8e895c28fb
2024-04-23 13:33:57 +00:00
..
ApiQueryAllPagesTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryAllRevisionsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryAllUsersTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryBasicTest.php Ignore/fix MediaWiki.Commenting.PropertyDocumentation.WrongStyle 2024-04-22 18:26:14 +03:00
ApiQueryBlockInfoTraitTest.php block: Clarify function of HideUserUtils aliases and use them consistently 2024-03-19 11:31:03 +11:00
ApiQueryBlocksTest.php tests: Migrate to IDatabase::newInsertQueryBuilder 2024-04-14 21:56:07 +02:00
ApiQueryContinue2Test.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryContinueTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryContinueTestBase.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryDisabledTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryImageInfoTest.php TempAccounts: Rate limit acquisition of temp account names 2024-04-23 13:33:57 +00:00
ApiQueryInfoTest.php Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
ApiQueryLanguageinfoTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryLogEventsTest.php Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
ApiQueryPrefixSearchTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryRecentChangesIntegrationTest.php Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
ApiQueryRevisionsTest.php Update wgAutoCreateTempUser config defaults 2024-04-03 16:25:47 +00:00
ApiQuerySearchTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQuerySiteinfoTest.php tests: Migrate to IDatabase::newInsertQueryBuilder 2024-04-14 21:56:07 +02:00
ApiQueryTest.php Define ApiQuery::isWriteMode 2024-04-05 16:56:04 +01:00
ApiQueryTestBase.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryTokensTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryUserContribsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryUserInfoTest.php TempAccounts: Rate limit acquisition of temp account names 2024-04-23 13:33:57 +00:00
ApiQueryWatchlistIntegrationTest.php TempAccounts: Rate limit acquisition of temp account names 2024-04-23 13:33:57 +00:00
ApiQueryWatchlistRawIntegrationTest.php Ignore/fix MediaWiki.Commenting.PropertyDocumentation.WrongStyle 2024-04-22 18:26:14 +03:00