wiki.techinc.nl/includes/api
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
..
Hook phpcs: remove some unneeded suppressions 2021-02-17 16:16:24 +00:00
i18n Localisation updates from https://translatewiki.net. 2021-02-22 08:49:38 +01:00
Validator Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiAMCreateAccount.php API: Use MediaWikiServices::getAuthManager in various Api classes 2020-06-20 23:04:17 +00:00
ApiAuthManagerHelper.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiBase.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiBlock.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiBlockInfoTrait.php Improve custom folding and grouping 2020-12-23 12:41:47 +11:00
ApiChangeAuthenticationData.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiChangeContentModel.php Inject services into ApiChangeContentModel 2020-10-25 22:38:36 +00:00
ApiCheckToken.php
ApiClearHasMsg.php Inject TalkPageNotificationManager into ApiClearHasMsg 2020-10-25 22:32:57 +00:00
ApiClientLogin.php Merge "API: Use MediaWikiServices::getAuthManager in various Api classes" 2020-06-20 23:23:07 +00:00
ApiComparePages.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiContinuationManager.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
ApiCSPReport.php Remove unneeded ApiCSPReport::isWriteMode 2020-08-19 10:26:56 +00:00
ApiDelete.php Document list of change tags as string[] 2020-11-20 14:12:54 +01:00
ApiDisabled.php
ApiEditPage.php Safe-guard switch possibly doing bad comparisons 2021-02-10 19:42:25 +01:00
ApiEmailUser.php
ApiErrorFormatter.php Improve docs in api related classes 2020-11-13 23:11:06 +01:00
ApiErrorFormatter_BackCompat.php
ApiExpandTemplates.php phan: Enable redundant_condition_detection 2020-07-01 20:13:07 +00:00
ApiFeedContributions.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiFeedRecentChanges.php Use SpecialPageFactory to create special pages in ApiFeedRecentChanges 2020-11-03 18:11:46 +00:00
ApiFeedWatchlist.php Move init of array outside of try/catch in api action=feedwatchlist 2020-07-27 19:38:48 +02:00
ApiFileRevert.php
ApiFormatBase.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ApiFormatFeedWrapper.php Improve docs in api related classes 2020-11-13 23:11:06 +01:00
ApiFormatJson.php
ApiFormatNone.php
ApiFormatPhp.php build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
ApiFormatRaw.php
ApiFormatXml.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiFormatXmlRsd.php
ApiHelp.php Use Html::rawElement on api help header 2020-12-12 00:23:09 +01:00
ApiHelpParamValueMessage.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
ApiHookRunner.php api: Use GetLinkColours hook to export CSS classes in page info 2020-12-14 17:51:50 -05:00
ApiImageRotate.php
ApiImport.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiImportReporter.php
ApiLinkAccount.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiLogin.php Make UserIdentity objects aware of which wiki they belong to. 2021-02-02 16:10:51 +00:00
ApiLogout.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ApiMain.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiManageTags.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiMergeHistory.php Add MergeHistoryFactory interface, implemented by PageCommandFactory 2020-05-13 19:08:09 +00:00
ApiMessage.php Add taint hints for message creation method 2020-12-10 23:18:18 +01:00
ApiMessageTrait.php
ApiModuleManager.php Improve docs in api related classes 2020-11-13 23:11:06 +01:00
ApiMove.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiOpenSearch.php Use LinkBatchFactory in api modules 2020-09-06 09:32:16 +00:00
ApiOpenSearchFormatJson.php
ApiOptions.php Improve docs in api related classes 2020-11-13 23:11:06 +01:00
ApiPageSet.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiParamInfo.php Ensure return value is declared in api param info 2020-07-17 23:02:01 +02:00
ApiParse.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiPatrol.php
ApiProtect.php Remove requirement for ApiWatchlistTrait to be in ApiBase. 2020-09-07 01:13:57 +01:00
ApiPurge.php
ApiQuery.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryAllCategories.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryAllDeletedRevisions.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryAllImages.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryAllLinks.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryAllMessages.php Inject services into SpecialAllMessages 2020-11-02 02:14:36 +01:00
ApiQueryAllPages.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
ApiQueryAllRevisions.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryAllUsers.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryAuthManagerInfo.php API: Use MediaWikiServices::getAuthManager in various Api classes 2020-06-20 23:04:17 +00:00
ApiQueryBacklinks.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryBacklinksprop.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryBase.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryBlockInfoTrait.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryBlocks.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryCategories.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryCategoryInfo.php
ApiQueryCategoryMembers.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryContributors.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryDeletedRevisions.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryDeletedrevs.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryDisabled.php
ApiQueryDuplicateFiles.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryExternalLinks.php
ApiQueryExtLinksUsage.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryFilearchive.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryFileRepoInfo.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryGeneratorBase.php Replace "@stable for subclassing" with "@stable to extend" 2020-07-13 11:00:30 +02:00
ApiQueryImageInfo.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryImages.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryInfo.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryIWBacklinks.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryIWLinks.php
ApiQueryLangBacklinks.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryLangLinks.php Apply InterlanguageLinkCodeMap in Action API 2020-10-08 15:19:52 +02:00
ApiQueryLanguageinfo.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:14 +01:00
ApiQueryLinks.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryLogEvents.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryMyStashedFiles.php Make API documentation links language aware 2017-04-05 11:08:25 -04:00
ApiQueryPagePropNames.php
ApiQueryPageProps.php
ApiQueryPagesWithProp.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryPrefixSearch.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryProtectedTitles.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryQueryPage.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryRandom.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiQueryRecentChanges.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryRevisions.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryRevisionsBase.php Improve custom folding and grouping 2020-12-23 12:41:47 +11:00
ApiQuerySearch.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQuerySiteinfo.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryStashImageInfo.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiQueryTags.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryTokens.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ApiQueryUserContribs.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryUserInfo.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiQueryUsers.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiQueryWatchlist.php ApiQueryWatchlist: Include log entry action text 2020-11-22 01:50:52 +00:00
ApiQueryWatchlistRaw.php Add PHPDoc documentation to all API query module constructors 2020-10-27 19:16:41 +00:00
ApiRawMessage.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
ApiRemoveAuthenticationData.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiResetPassword.php Inject services into ApiResetPassword 2020-10-27 17:14:13 +00:00
ApiResult.php Api: Cache the ContentLanguage object in ApiResult 2021-02-11 16:21:58 +01:00
ApiRevisionDelete.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiRollback.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiRsd.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
ApiSerializable.php Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
ApiSetNotificationTimestamp.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
ApiSetPageLanguage.php
ApiStashEdit.php Inject services into ApiStashEdit 2020-10-27 17:07:54 +00:00
ApiTag.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiTokens.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiUnblock.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiUndelete.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiUpload.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiUsageException.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
ApiUserrights.php Use Authority and GroupPermissionLookup in Action API 2021-02-23 14:31:14 +00:00
ApiValidatePassword.php Inject services into ApiValidatePassword 2020-10-13 19:04:09 +00:00
ApiWatch.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ApiWatchlistTrait.php [API] Ignore watchlist preferences for bot users 2020-12-22 22:28:28 +01:00
IApiMessage.php
SearchApi.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00