wiki.techinc.nl/tests/phpunit/includes
Cindy Cicalese f6e1891c6f Use Authority and GroupPermissionLookup in Action API
Replaces calls directly to PermissionManager with calls to
the Authority object available from Context or the
GroupPermissionLookup service.

This patch does not address use of PermissionManager for
blocks.

Deprecations:
- ApiBase::checkUserRightsAny deprecated passing optional
User parameter
- ApiBase::checkTitleUserPermissions deprecated passing
LinkTarget as first parameter, takes PageIdentity instead

Bug: T271462
Bug: T271854
Change-Id: I5d7cac1c28a37e074750c46cda03283980a07fca
2021-02-23 14:31:14 +00:00
..
actions Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
api Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
auth Introduce LogEntry::getPerformerIdentity and deprecate ::getPerformer 2021-02-17 19:12:22 +02:00
block Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
cache Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
changes Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
changetags More misc test cleanup 2020-12-24 00:52:06 +00:00
collation More misc test cleanup 2020-12-24 00:52:06 +00:00
config Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
content Merge "Make WikiPage a (non-proper) PageIdentity" 2021-02-16 15:51:49 +00:00
context Rename Authority::getActor to Authority::getPerformer 2021-02-22 14:53:21 +00:00
db Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
debug Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
deferred Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
diff Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
editpage Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
exception exception: Move remaiming MWExceptionHandler tests to its test case 2021-01-07 15:09:12 -08:00
externalstore
filebackend Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
filerepo Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
GlobalFunctions Remove hard deprecated wfIsBadImage() 2020-12-29 15:55:10 +02:00
HookContainer Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
htmlform Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
http Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
import Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
interwiki phpunit: Remove odd "MediaWiki" group from tests using it 2021-01-08 18:35:30 +00:00
jobqueue Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
language
libs Tighten invalid timestamp error checking 2021-02-11 11:26:54 +01:00
linkeddata Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
linker
logging Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
mail Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00
media Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
Message Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
Navigation
objectcache
page Merge "Hard-deprecate IDatabase parameter for UserIdentity:getActorId()" 2021-02-17 19:41:12 +00:00
pager Improve some function documentation in tests 2021-01-14 22:13:55 +01:00
ParamValidator/TypeDef Make TypeDefTestCase::getInstance() abstract. 2021-02-06 12:31:00 +01:00
parser Don't apply French spacing in raw text elements 2021-02-16 19:26:29 -05:00
password
Permissions Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
poolcounter Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
preferences Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
rcfeed
registration Use expectWarning/Deprecation/Notice/Error() in phpunit tests 2021-01-04 00:16:51 +00:00
resourceloader Merge "resourceloader: Add internal handling for debug=2" 2021-02-16 19:54:10 +00:00
Rest Rest: use Authority in all core handlers 2021-01-21 18:22:33 -06:00
Revision Use static closures where safe to use 2021-02-11 00:13:52 +00:00
search Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
session Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
shell Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
site Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
skins Merge "Add missing @param and @return to documentation in tests" 2021-01-30 15:22:33 +00:00
sparql
specialpage Hard-deprecate IDatabase parameter for UserIdentity:getActorId() 2021-02-17 12:51:02 -05:00
specials Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
Storage DerivedPageDataUpdater: Skip all data updates when page is deleted 2021-02-17 22:54:08 +01:00
title Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
upload Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
user Hard-deprecate IDatabase parameter for UserIdentity:getActorId() 2021-02-17 12:51:02 -05:00
utils Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
watcheditem Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ActorMigrationTest.php Hard-deprecate IDatabase parameter for UserIdentity:getActorId() 2021-02-17 12:51:02 -05:00
ActorMigrationTest.sql
AutoLoaderTest.php
AutopromoteTest.php
CategoryTest.php
CommentStoreCommentTest.php
CommentStoreTest.php Turn CommentStore::$tempTables into a constant 2021-02-16 09:42:30 +01:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
DeprecatedGlobalTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
DiffHistoryBlobTest.php
EditPageConstraintsTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
EditPageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ExportTest.php Revert "Wrap libxml_disable_entity_loader() calls in version constraint" 2021-01-27 16:06:38 +00:00
ExtraParserTest.php Deprecate InterwikiLoadPrefix hook 2020-12-21 19:28:48 +00:00
FauxRequestTest.php Implement FauxRequest::getPostValues() 2020-11-27 09:38:08 +01:00
GitInfoTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
HooksTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
HtmlTest.php Revert "message boxes: Use CSS classes adhering to class naming scheme" 2021-01-25 16:31:08 +00:00
LinkerTest.php Restore userlink for IP range. 2021-02-11 15:32:36 +01:00
LinkFilterTest.php
ListToggleTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MagicWordFactoryTest.php
MediaWikiServicesTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MediaWikiTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Inject WikiPageFactory into MergeHistory/MovePage 2020-11-11 22:10:47 +01:00
MessageTest.php tests: Use ::class on exception names 2021-01-03 20:47:49 +01:00
MockServiceWiring.php Use the old HookContainer to set up the post-reset services 2020-12-01 13:04:12 +11:00
MovePageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MultiHttpClientTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MWTimestampTest.php
OutputPageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
PagePropsTest.php
PrefixSearchTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ReadOnlyModeTest.php
RevisionDbTest.php Use ActorStore in RevisionStore 2021-02-10 14:37:54 -06:00
RevisionTest.php Use ActorStore in RevisionStore 2021-02-10 14:37:54 -06:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Fix hang of ApiMainTest 2020-12-16 15:39:19 +11:00
SiteStatsTest.php
StatusTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
SystemBlockTest.php
TemplateCategoriesTest.php
TestLocalisationCache.php
TestLogger.php
TestUser.php ParserTestRunner: share more code w/ MediaWikiIntegrationTestCase 2021-01-07 23:31:12 -05:00
TestUserRegistry.php Remove unneeded @return documentation 2021-01-25 19:44:27 +01:00
TimeAdjustTest.php
TitleMethodsTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
TitleTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
WebRequestTest.php Merge "WebRequest: Document magic argument on WebRequest::getValues" 2021-02-11 03:41:09 +00:00
WikiMapTest.php
WikiReferenceTest.php
XmlTest.php Don't accept empty option group names for dropdown elements 2021-02-19 17:04:35 +01:00