wiki.techinc.nl/tests/phpunit/includes
Brad Jorsch 02d6dc2e4f API: Use ApiBlockInfoTrait in ApiQueryUsers and AllUsers
For efficient bulk querying, this means that
ApiQueryBase::showHiddenUsersAddBlockInfo() needs to return everything
needed by DatabaseBlock::newFromRow().

Since we're rewriting it anyway, we may as well also move
ApiQueryBase::showHiddenUsersAddBlockInfo() out into a trait of its own.

Bug: T232021
Change-Id: I9c5b17a232ecbfbffefc7e40608cf5684ce8a644
2019-09-18 19:44:01 +00:00
..
actions Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
api API: Use ApiBlockInfoTrait in ApiQueryUsers and AllUsers 2019-09-18 19:44:01 +00:00
auth Fix method/function names case mismatch in core files 2019-08-31 23:17:51 +00:00
block Log DNS blacklist matches with info level, non-matches with debug level 2019-09-14 18:49:30 +02:00
cache Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
changes Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
changetags ChangeTags: turn private getPrevTags() into public getTags() 2019-08-07 15:19:20 +02:00
collation Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
config Test that classes use all their ServiceOptions 2019-08-19 20:42:28 +03:00
content Add UnknownContentHandler. 2019-08-29 10:43:11 +00:00
context
db rdbms: expand on LoadBalancer ownership concept 2019-09-05 12:08:13 -07:00
debug Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
deferred Expose LinksUpdate recursive flag with a getter 2019-09-11 16:55:39 +02:00
diff phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
editpage Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
exception Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
externalstore externalstore: unbreak writes to non-default storage clusters due to isReadOnly() 2019-07-16 22:08:00 -07:00
filebackend Make doTestLockCalls() faster 2019-09-13 22:41:13 -07:00
filerepo LocalFile: avoid hard failures on non-existing files. 2019-09-18 09:18:44 +00:00
GlobalFunctions Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
htmlform Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
http Split HttpTest and SessionTest to unit and integration 2019-07-13 21:01:09 +02:00
import Include change tags in revision import structure 2019-09-03 21:14:16 +02:00
interwiki Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
jobqueue Various fixes and simplifications to RefreshLinksJob::runTitle() 2019-07-11 06:06:02 +00:00
language language: Move ConverterRule to includes/ and add test case 2019-08-26 12:32:14 +01:00
libs objectcache: Escape dots from cache keys in StatsD metrics 2019-09-14 18:16:55 +00:00
linkeddata
linker objectcache: Hard deprecate ObjectCache::getMainWANInstance() 2019-07-09 09:29:57 +00:00
logging Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
mail
media Fix XMP parser errors due to trailing nullchar 2019-09-11 22:34:33 +00:00
Message lib/Message: Support MessageValue as a parameter 2019-08-30 15:14:37 -04:00
Navigation Refactor buildPrevNextNavigation 2019-06-05 19:32:27 -04:00
objectcache Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
page Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
pager
parser phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
password Remove hard deprecation of PasswordPolicyChecks::checkPopularPasswordBlacklist 2019-08-27 17:53:27 +01:00
Permissions Merge "Move User::getAllRights to PermissionManager." 2019-08-29 21:00:23 +00:00
poolcounter Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
preferences Break PreferencesFormOOUI->PermissionManager dependency 2019-09-17 08:34:53 -07:00
rcfeed Clear test user registry between tests 2019-08-14 10:27:21 +03:00
registration registration: Avoid redundant LBYL check in ExtensionRegistry::queue() 2019-09-01 18:28:41 +00:00
resourceloader Merge "resourceloader: Compile documentElement.className server-side" 2019-09-03 21:04:23 +00:00
Rest Use UserIdentity instead of User in REST 2019-09-18 14:45:01 +10:00
Revision Merge "Revision: Inject Logger instead of LoggerSpi" 2019-09-15 06:59:15 +00:00
search Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
session Add a dedicated Exception for SessionOverflow 2019-09-10 08:27:29 +00:00
shell Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
site phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
skins Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
sparql Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
specialpage Fix typo in ChangesListSpecialPageTest 2019-09-09 11:38:36 -04:00
specials Make SpecialBlankPageTest independend from the language 2019-09-12 13:10:52 +02:00
Storage Introduce BlobStore::getBlobBatch method 2019-08-30 09:40:49 +00:00
title Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
upload Relax HTML sniffing checks on image upload 2019-06-07 14:21:00 -07:00
user Replace usages of deprecated User::isAllowed. Step 2. 2019-09-11 16:00:03 -07:00
utils phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
watcheditem Make WatchedItemQueryService depend on PermissionManager 2019-09-16 09:39:43 -07:00
ActorMigrationTest.php Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
ActorMigrationTest.sql Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
AutoLoaderTest.php
AutopromoteTest.php
CategoryTest.php
CommentStoreCommentTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
CommentStoreTest.php
CommentStoreTest.sql
ContentSecurityPolicyTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
DeprecatedGlobalTest.php
DiffHistoryBlobTest.php
EditPageTest.php EditPage: Migrate Title::userCan() calls to PermissionManager 2019-05-18 20:49:21 +02:00
ExportTest.php
ExtraParserTest.php
FauxRequestTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
GitInfoTest.php
HooksTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
HtmlTest.php Don't process "all" option in Html::namespaceSelectorOptions 2019-07-04 10:17:59 +02:00
LinkerTest.php Make userLink() not fail too hard on false and null. 2019-06-05 14:51:57 +02:00
LinkFilterTest.php
ListToggleTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MagicWordFactoryTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
MediaWikiServicesTest.php services: Do not use deprecated ReflectionType::__toString() in tests 2019-09-16 21:14:07 +02:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php Unset all globals unneeded for unit tests, assert correct directory 2019-07-09 14:09:29 -04:00
MergeHistoryTest.php Don't use new MCR schema without using DB 2019-08-13 17:05:24 +03:00
MessageTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
MovePageTest.php Merge "createNoOpMock() method for PHPUnit tests" 2019-08-29 18:15:43 +00:00
MultiHttpClientTest.php
MWTimestampTest.php
OutputPageTest.php resourceloader: Reduce width of module hash from 7 chars to 5 2019-09-02 01:25:48 +00:00
PagePropsTest.php Mass conversion to NamespaceInfo 2019-05-07 22:44:56 +02:00
PrefixSearchTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
ReadOnlyModeTest.php
RevisionDbTestBase.php Mostly drop old pre-actor user schemas 2019-09-09 11:38:36 -04:00
RevisionMcrDbTest.php
RevisionMcrReadNewDbTest.php
RevisionMcrWriteBothDbTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
RevisionNoContentModelDbTest.php
RevisionPreMcrDbTest.php
RevisionTest.php Storage: Use a more descriptive WAN cache keyclass in 'SqlBlobStore' 2019-09-14 02:22:01 +00:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Replace old URLs in SampleTest 2019-07-10 15:00:12 +01:00
SiteStatsTest.php
StatusTest.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
SystemBlockTest.php Separate Block into AbstractBlock, Block and SystemBlock 2019-05-07 17:36:31 -05:00
TemplateCategoriesTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
TemplateParserTest.php
TestLogger.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
TestUser.php Drop last bits of oracle 2019-08-14 23:44:22 +02:00
TestUserRegistry.php
TimeAdjustTest.php
TitleMethodsTest.php Hard-deprecate Title::moveTo and friends 2019-05-28 11:52:36 -05:00
TitlePermissionTest.php Remove unneeded overrideMwServices/resetServices 2019-08-29 14:26:18 +03:00
TitleTest.php Merge "Title::getTalkPage(): Restore behavior of interwiki-prefixed & fragment-only titles" 2019-09-16 23:16:16 +00:00
WebRequestTest.php Rename CDN config variables to be generic, deprecating the old names 2019-05-24 21:09:22 +00:00
WikiMapTest.php Removed deprecated WikiMap::getWikiIdFromDomain() method 2019-07-14 01:17:31 +01:00
WikiReferenceTest.php phpunit: Repair GLOBALS reset in MediaWikiUnitTestCase 2019-09-02 20:58:34 +01:00
XmlTest.php