wiki.techinc.nl/includes/api
Tim Starling 4df108429a Add HookRunner classes
These classes implement hook interfaces, providing implementations which
proxy calls to HookContainer::run().

To reduce the size of the HookRunner class, I split it into two parts:
one for the API and one for everything else. The API was the largest
identifiable component, and this matches the way we modularize i18n
files.

These two classes were originally generated by the hook interfaces
script. I've added abortable options for hooks that were
called with runWithAbort().

Bug: T240307
Change-Id: Id6789070bf830ecea271ddc74fa929e0bd39356d
2020-05-05 11:22:24 +10:00
..
Hook docs: Hook interface doc comment review 2020-04-21 09:10:08 +10:00
i18n Localisation updates from https://translatewiki.net. 2020-05-04 09:12:55 +02:00
Validator Add expiry type to ParamValidator 2020-04-08 16:21:04 -04:00
ApiAMCreateAccount.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiAuthManagerHelper.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiBase.php ApiBase::checkUserRightsAny - remove an extra tab 2020-03-26 04:13:35 +00:00
ApiBlock.php Remove $wgEnablePartialBlocks config and always enable partial blocks 2020-03-04 13:45:44 +00:00
ApiBlockInfoTrait.php Coding style: Auto-fix MediaWiki.Commenting.DocComment.* 2020-01-10 12:28:12 -08:00
ApiChangeAuthenticationData.php
ApiChangeContentModel.php Add @author tags I forgot to include 2020-04-11 08:13:48 +00:00
ApiCheckToken.php
ApiClearHasMsg.php
ApiClientLogin.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiComparePages.php Added timestamp to action=compare 2020-04-09 16:24:21 -04:00
ApiContinuationManager.php Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
ApiCSPReport.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiDelete.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiDisabled.php ApiDisabled: Correctly fall back to api-help-no-extended-description 2020-01-13 09:24:11 -05:00
ApiEditPage.php Soft deprecate Page interface 2020-04-09 04:00:31 +00:00
ApiEmailUser.php
ApiErrorFormatter.php Clean up redundant Exception|Throwable union type 2020-02-12 20:28:40 +00:00
ApiErrorFormatter_BackCompat.php Clean up redundant Exception|Throwable union type 2020-02-12 20:28:40 +00:00
ApiExpandTemplates.php
ApiFeedContributions.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiFeedRecentChanges.php
ApiFeedWatchlist.php
ApiFileRevert.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiFormatBase.php
ApiFormatFeedWrapper.php
ApiFormatJson.php
ApiFormatNone.php
ApiFormatPhp.php
ApiFormatRaw.php
ApiFormatXml.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiFormatXmlRsd.php
ApiHelp.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiHelpParamValueMessage.php
ApiHookRunner.php Add HookRunner classes 2020-05-05 11:22:24 +10:00
ApiImageRotate.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiImport.php
ApiImportReporter.php
ApiLinkAccount.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiLogin.php api: Report Failed rather than NeedToken on session loss for action=login 2020-04-06 17:28:47 -04:00
ApiLogout.php
ApiMain.php Allow whitelisting custom headers in action API CORS logic 2020-04-03 22:30:11 +02:00
ApiManageTags.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiMergeHistory.php
ApiMessage.php
ApiMessageTrait.php
ApiModuleManager.php
ApiMove.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiOpenSearch.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiOpenSearchFormatJson.php
ApiOptions.php
ApiPageSet.php Remove compat code for pre-MCR schema. 2020-03-24 19:45:47 +01:00
ApiParamInfo.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiParse.php Remove codepaths which ran parser in 'untidy' mode 2020-04-13 21:34:04 +00:00
ApiPatrol.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiProtect.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiPurge.php
ApiQuery.php Merge "API: Fix fetching login token from action=query&meta=tokens on private wikis" 2020-03-13 09:59:52 +00:00
ApiQueryAllCategories.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllDeletedRevisions.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiQueryAllImages.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiQueryAllLinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllMessages.php Use MediaWikiServices::getMessageCache 2020-03-14 14:25:03 +01:00
ApiQueryAllPages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllRevisions.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiQueryAllUsers.php Remove unused variable $commentStore 2020-01-20 15:59:06 +11:00
ApiQueryAuthManagerInfo.php Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
ApiQueryBacklinks.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiQueryBacklinksprop.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryBase.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryBlockInfoTrait.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiQueryBlocks.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiQueryCategories.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryCategoryInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryCategoryMembers.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryContributors.php
ApiQueryDeletedRevisions.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiQueryDeletedrevs.php Hard deprecate Revision::userCanBitfield 2020-02-24 21:18:49 +00:00
ApiQueryDisabled.php ApiDisabled: Correctly fall back to api-help-no-extended-description 2020-01-13 09:24:11 -05:00
ApiQueryDuplicateFiles.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiQueryExternalLinks.php
ApiQueryExtLinksUsage.php ApiQueryExtLinksUsage: Avoid bad query plan 2020-02-04 16:05:11 -05:00
ApiQueryFilearchive.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryFileRepoInfo.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiQueryGeneratorBase.php
ApiQueryImageInfo.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiQueryImages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryInfo.php Remove compat code for pre-MCR schema. 2020-03-24 19:45:47 +01:00
ApiQueryIWBacklinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryIWLinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryLangBacklinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryLangLinks.php Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
ApiQueryLanguageinfo.php Inject language services into ApiQueryLanguageinfo 2020-02-24 19:37:37 +01:00
ApiQueryLinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryLogEvents.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiQueryMyStashedFiles.php
ApiQueryPagePropNames.php
ApiQueryPageProps.php
ApiQueryPagesWithProp.php Improve param docs 2019-11-28 19:08:59 +01:00
ApiQueryPrefixSearch.php Improve param docs 2019-11-28 19:08:59 +01:00
ApiQueryProtectedTitles.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryQueryPage.php Fix the namespace of SpecialPageFactory 2020-02-21 13:46:19 +11:00
ApiQueryRandom.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryRecentChanges.php Hard-deprecate api hooks for getting tokens 2020-03-14 20:35:04 +00:00
ApiQueryRevisions.php Hard-deprecate api hooks for getting tokens 2020-03-14 20:35:04 +00:00
ApiQueryRevisionsBase.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiQuerySearch.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQuerySiteinfo.php Merge "api: InterwikiMap shouldn't report any interwikis as language ones when InterwikiMagic=false" 2020-03-20 18:17:30 +00:00
ApiQueryStashImageInfo.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiQueryTags.php
ApiQueryTokens.php
ApiQueryUserContribs.php Hard deprecate Revision::getParentLengths 2020-03-18 12:26:26 -07:00
ApiQueryUserInfo.php Remove unreachable null checks after isset() 2020-02-28 21:40:48 +00:00
ApiQueryUsers.php Hard-deprecate api hooks for getting tokens 2020-03-14 20:35:04 +00:00
ApiQueryWatchlist.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiQueryWatchlistRaw.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiRawMessage.php
ApiRemoveAuthenticationData.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiResetPassword.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiResult.php Stop accepting ApiMain instances in ApiResult::__construct 2020-03-18 15:57:05 +00:00
ApiRevisionDelete.php Fix some PHPStorm inspection warnings in includes/api 2020-02-18 14:17:37 -05:00
ApiRollback.php ApiRollback: Properly deal with UserIdentity 2020-02-13 18:11:04 +00:00
ApiRsd.php
ApiSerializable.php
ApiSetNotificationTimestamp.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiSetPageLanguage.php Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
ApiStashEdit.php Remove use of deprecated Revision from ApiStashEdit 2020-03-13 08:04:39 +04:00
ApiTag.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiTokens.php Hard-deprecate api hooks for getting tokens 2020-03-14 20:35:04 +00:00
ApiUnblock.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiUndelete.php Make use of PageArchive::undeleteAsUser 2020-03-18 18:21:35 +00:00
ApiUpload.php Pass a user to ArchivedFile::userCan in UploadBase 2020-04-29 01:46:02 +00:00
ApiUsageException.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiUserrights.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiValidatePassword.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
ApiWatch.php Add expiry type to ParamValidator 2020-04-08 16:21:04 -04:00
IApiMessage.php Hard deprecate Title::getUserPermissionsErrors 2020-02-26 05:09:55 +00:00
SearchApi.php