wiki.techinc.nl/tests/phpunit/includes/api
Umherirrender 91fd689add Fix use of GenderCache in ApiPageSet::processTitlesArray
Title::getPrefixedText was called before the GenderCache was set up,
which lazy loads the cache for each title,
resulting in one query per user title

Splitted the foreach to fill the cache at a better location

Added a test for ApiPageSet to test that the gender cache is filled

Bug: T200238
Change-Id: I7972dd1bf3731a92328caab20e70d7b9b82c1f7c
2019-09-09 19:54:07 +00:00
..
format Don't silently fail if API result fails to encode 2018-12-05 13:28:33 -05:00
query Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiBaseTest.php Fix method/function names case mismatch in core files 2019-08-31 23:17:51 +00:00
ApiBlockInfoTraitTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiBlockTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php
ApiComparePagesTest.php Ensure calls to Title::getArticleID use the same case as the definition 2019-02-06 22:15:05 +00:00
ApiContinuationManagerTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiCSPReportTest.php API: Fix 'user_id' field of ApiCSPReport 2019-07-19 22:58:39 +01:00
ApiDeleteTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiDisabledTest.php
ApiEditPageTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiErrorFormatterTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
ApiFeedContributionsTest.php ApiFeedContributions: Throw if the username is invalid 2019-08-13 10:35:49 -07:00
ApiLoginTest.php Use non-deprecated login in ApiLoginTest 2018-10-10 11:13:05 +03:00
ApiLogoutTest.php ApiLogout: Follow up Icb674095 2019-04-25 10:00:24 -04:00
ApiMainTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiMessageTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiModuleManagerTest.php
ApiMoveTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiOpenSearchTest.php
ApiOptionsTest.php Call resetServices() when setting globals in tests 2019-08-29 14:26:13 +03:00
ApiPageSetTest.php Fix use of GenderCache in ApiPageSet::processTitlesArray 2019-09-09 19:54:07 +00:00
ApiParseTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiPurgeTest.php
ApiQueryAllPagesTest.php
ApiQueryBlocksTest.php Rename Block to MediaWiki\Block\DatabaseBlock 2019-05-28 12:20:48 +01:00
ApiQueryDisabledTest.php
ApiQueryInfoTest.php Rename Block to MediaWiki\Block\DatabaseBlock 2019-05-28 12:20:48 +01:00
ApiQueryLanguageinfoTest.php Fix and re-enable ApiQueryLanguageinfoTest 2019-06-12 17:36:40 +02:00
ApiQueryPrefixSearchTest.php
ApiQueryRecentChangesIntegrationTest.php Update MediaWikiTitleCodec to use NamespaceInfo 2019-04-14 14:55:58 +03:00
ApiQuerySearchTest.php Hard deprecate new SearchResult() and introduce RevisionSearchResult 2019-08-27 08:27:28 -07:00
ApiQuerySiteinfoTest.php Call resetServices() when setting globals in tests 2019-08-29 14:26:13 +03:00
ApiQueryUserInfoTest.php Rename Block to MediaWiki\Block\DatabaseBlock 2019-05-28 12:20:48 +01:00
ApiQueryWatchlistIntegrationTest.php Update MediaWikiTitleCodec to use NamespaceInfo 2019-04-14 14:55:58 +03:00
ApiQueryWatchlistRawIntegrationTest.php objectcache: Hard deprecate ObjectCache::getMainWANInstance() 2019-07-09 09:29:57 +00:00
ApiResultTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiRevisionDeleteTest.php
ApiSetNotificationTimestampIntegrationTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
ApiStashEditTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
ApiTestCase.php Drop AuthPlugin and related code, deprecated in 1.27 2019-03-05 08:23:14 +00:00
ApiTestCaseUpload.php
ApiTestContext.php
ApiTokensTest.php Remove usages of deprecated User::getRights. 2019-08-20 19:43:54 -07:00
ApiUnblockTest.php Revert "Factors out permissions check from User into PermissionManager service" 2019-05-30 13:51:37 +00:00
ApiUploadTest.php
ApiUploadTestCase.php
ApiUsageExceptionTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiUserrightsTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ApiWatchTest.php
generateRandomImages.php
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Convert RandomImageGenerator to use the new execution framework 2019-01-21 22:33:02 -08:00
UserWrapper.php
words.txt