wiki.techinc.nl/includes/api
Peter Ovchyn 61e0908fa2 languages: Introduce LanguageConverterFactory
Done:
* Replace LanguageConverter::newConverter by LanguageConverterFactory::getLanguageConverter
* Remove LanguageConverter::newConverter from all subclasses
* Add LanguageConverterFactory integration tests which covers all languages by their code.
* Caching of LanguageConverters in factory
* Make all tests running (hope that's would be enough)
* Uncomment  the deprecated functions.
* Rename FakeConverter to TrivialLanguageConverter
* Create ILanguageConverter to have shared ancestor
* Make the LanguageConverter class abstract.
* Create table with mapping between lang code and converter instead of using name convention
* ILanguageConverter @internal
* Clean up code

Change-Id: I0e4d77de0f44e18c19956a1ffd69d30e63cf51bf
Bug: T226833, T243332
2020-02-03 11:38:03 +02:00
..
i18n Localisation updates from https://translatewiki.net. 2020-02-03 07:55:20 +01:00
ApiAMCreateAccount.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiAuthManagerHelper.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiBase.php Drop support for passing a User to ApiBase::checkTitleUserPermissions 2020-01-23 10:44:22 -08:00
ApiBlock.php
ApiBlockInfoTrait.php Coding style: Auto-fix MediaWiki.Commenting.DocComment.* 2020-01-10 12:28:12 -08:00
ApiChangeAuthenticationData.php
ApiCheckToken.php
ApiClearHasMsg.php
ApiClientLogin.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiComparePages.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiContinuationManager.php Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
ApiCSPReport.php
ApiDelete.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiDisabled.php
ApiEditPage.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiEmailUser.php
ApiErrorFormatter.php Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
ApiErrorFormatter_BackCompat.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
ApiExpandTemplates.php
ApiFeedContributions.php Avoid extra Title::newFromId calls in api modules with revisions 2019-10-10 19:14:19 +00:00
ApiFeedRecentChanges.php
ApiFeedWatchlist.php Unsuppress PhanParamsTooMany 2019-10-10 12:44:08 -07:00
ApiFileRevert.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08: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 API: Add missing @ingroup API to a few Api-related classes 2019-09-14 00:09:49 +01:00
ApiHelp.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiHelpParamValueMessage.php Highlight internal modules in API help and sandbox 2019-10-11 16:30:16 +02:00
ApiImageRotate.php API: Add missing @ingroup API to a few Api-related classes 2019-09-14 00:09:49 +01: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 Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ApiLogout.php
ApiMain.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiManageTags.php
ApiMergeHistory.php
ApiMessage.php
ApiMessageTrait.php
ApiModuleManager.php Mark passing non ObjectFactory spec to ApiModuleManager as deprecated 2019-09-09 21:59:03 +02:00
ApiMove.php
ApiOpenSearch.php API: Deprecate wgEnableOpenSearchSuggest and opensearch+suggest parameter 2019-12-13 18:11:43 +00:00
ApiOpenSearchFormatJson.php
ApiOptions.php
ApiPageSet.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiParamInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiParse.php Merge "ApiParse: Use the right Skin object for building section edit links" 2020-01-24 22:01:28 +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 Improve param docs 2019-11-28 19:08:59 +01:00
ApiQueryAllCategories.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllDeletedRevisions.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllImages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllLinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllMessages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllPages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryAllRevisions.php ApiQueryAllRevisions: Fix second example 2020-01-28 17:46:58 +00: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 Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08: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 Coding style: Auto-fix MediaWiki.Commenting.DocComment.* 2020-01-10 12:28:12 -08:00
ApiQueryBlocks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08: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 Sort user groups when shown in drop-downs 2019-09-24 13:49:18 +02:00
ApiQueryDeletedRevisions.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryDeletedrevs.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryDisabled.php
ApiQueryDuplicateFiles.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryExternalLinks.php
ApiQueryExtLinksUsage.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryFilearchive.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryFileRepoInfo.php
ApiQueryGeneratorBase.php
ApiQueryImageInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryImages.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08: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 Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryLanguageinfo.php languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
ApiQueryLinks.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryLogEvents.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08: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 Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryRandom.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryRecentChanges.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryRevisions.php Avoid extra Title::newFromId calls in api modules with revisions 2019-10-10 19:14:19 +00:00
ApiQueryRevisionsBase.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQuerySearch.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQuerySiteinfo.php languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
ApiQueryStashImageInfo.php Fix property filter for ApiQueryStashImageInfo::getPropertyNames 2019-09-10 18:14:49 +00:00
ApiQueryTags.php
ApiQueryTokens.php
ApiQueryUserContribs.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryUserInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryUsers.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryWatchlist.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiQueryWatchlistRaw.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiRawMessage.php
ApiRemoveAuthenticationData.php
ApiResetPassword.php Turn PasswordReset into a service 2019-10-01 14:42:18 -07:00
ApiResult.php
ApiRevisionDelete.php Allow users who are partially blocked to delete revisions. 2019-09-11 08:14:48 +01:00
ApiRollback.php
ApiRsd.php Fix new phan errors, part 1 2019-10-11 15:04:04 +00:00
ApiSerializable.php
ApiSetNotificationTimestamp.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiSetPageLanguage.php
ApiStashEdit.php
ApiTag.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiTokens.php
ApiUnblock.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiUndelete.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiUpload.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ApiUsageException.php Unsuppress PhanParamReqAfterOpt, use PHP71 nullable types 2019-10-10 11:53:58 +02:00
ApiUserrights.php Sort user groups when shown in drop-downs 2019-09-24 13:49:18 +02:00
ApiValidatePassword.php
ApiWatch.php Emit namespace for titles in ApiWatch 2019-10-24 15:26:34 +00:00
IApiMessage.php
SearchApi.php