{"master":{"name":"ContentTranslation","author":["Amir Aharoni","David Chan","Joel Sahleen","Kartik Mistry","Nik G\u03ba\u03bfuntas","Niklas Laxstr\u00f6m","Pau Giner","Petar Petkovi\u0107","Runa Bhattacharjee","Santhosh Thottingal","Siebrand Mazeland","Sucheta Ghoshal"],"url":"https:\/\/www.mediawiki.org\/wiki\/Special:MyLanguage\/Extension:ContentTranslation","descriptionmsg":"cx-desc","license-name":"GPL-2.0-or-later","type":"specialpage","requires":{"MediaWiki":">= 1.47.0","extensions":{"Cite":"*","UniversalLanguageSelector":"*","VisualEditor":"*","WikimediaMessages":"*"}},"ExtensionMessagesFiles":{"ContentTranslationAliases":"ContentTranslation.alias.php"},"ValidSkinNames":{"contenttranslation":{"class":"ContentTranslation\\Skin\\SkinContentTranslation","skippable":true,"args":[{"name":"contenttranslation","responsive":true,"clientPrefEnabled":true,"styles":["mw.cx.skin"],"menus":["user-interface-preferences","user-menu","notifications"],"messages":["cx-javascript"]}]}},"SkinLessImportPaths":{"contenttranslation":"skin\/styles\/contenttranslation"},"HookHandlers":{"sxbeforepublish":{"class":"ContentTranslation\\SectionTranslationBeforePublishHandler","services":["ContentHandlerFactory","HttpRequestFactory","WikiPageFactory","MainConfig"]},"axArticleFooterEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\AxArticleFooterEntrypointRegistrationHandler","services":["ConfigFactory","ContentLanguage"],"optional_services":["DisambiguatorLookup"]},"mfFrequentLanguagesEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\MfFrequentLanguagesEntrypointRegistrationHandler","services":["LanguageFactory","LanguageNameUtils"]},"mfLanguageSearcherEntrypointsRegistrar":{"class":"ContentTranslation\\HookHandler\\MfLanguageSearcherEntrypointsRegistrationHandler","services":["ContentTranslation.PreferenceHelper"]},"ulsRelevantLanguagesEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\ULSRelevantLanguagesEntrypointRegistrationHandler","services":["ContentTranslation.PreferenceHelper"]},"ulsQuickActionEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\ULSQuickActionEntrypointRegistrationHandler","services":["ActionFactory"]},"recentEditEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\RecentEditEntrypointRegistrationHandler","services":["ContentTranslation.RecentSignificantEditStore","ContentTranslation.WikidataIdFetcher"]},"recentTranslationEntrypointRegistrar":{"class":"ContentTranslation\\HookHandler\\RecentTranslationEntrypointRegistrationHandler","services":["ConnectionProvider","RevisionStore","ContentTranslation.TranslationStore"]},"main":{"class":"ContentTranslation\\Hooks"},"schema":{"class":"ContentTranslation\\SchemaHooks"}},"Hooks":{"LoadExtensionSchemaUpdates":"schema","BeforePageDisplay":["main","mfFrequentLanguagesEntrypointRegistrar","mfLanguageSearcherEntrypointsRegistrar","ulsRelevantLanguagesEntrypointRegistrar","ulsQuickActionEntrypointRegistrar","recentEditEntrypointRegistrar","recentTranslationEntrypointRegistrar","axArticleFooterEntrypointRegistrar"],"GetPreferences":"main","GetBetaFeaturePreferences":"ContentTranslation\\Hooks::onGetBetaFeaturePreferences","ResourceLoaderRegisterModules":"main","SpecialContributionsBeforeMainOutput":"main","ListDefinedTags":"main","ChangeTagsListActive":"main","SaveUserOptions":"main","EditPage::showEditForm:initial":"main","BeforeCreateEchoEvent":"ContentTranslation\\Hooks::onBeforeCreateEchoEvent","EchoGetBundleRules":"ContentTranslation\\Hooks::onEchoGetBundleRules","SectionTranslationBeforePublish":"sxbeforepublish","ContributeCards":"main","SkinAfterContent":"axArticleFooterEntrypointRegistrar"},"DomainEventIngresses":[{"events":["PageLatestRevisionChanged"],"class":"ContentTranslation\\Events\\SignificantEditEventIngress","services":["RevisionStore","ContentTranslation.RecentSignificantEditStore","ContentTranslation.EditedSectionFinder","ContentTranslation.WikidataIdFetcher"]}],"APIModules":{"cxdelete":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationDelete","services":["ContentTranslation.TranslationCorporaStore","ContentTranslation.TranslationStore"]},"sxdelete":{"class":"ContentTranslation\\ActionApi\\ApiSectionTranslationDelete","services":["ContentTranslation.TranslationCorporaStore","ContentTranslation.SectionTranslationStore","ContentTranslation.TranslationStore"]},"cxpublish":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationPublish","services":["ContentTranslation.ParsoidClientFactory","LanguageFactory","StatsFactory","LanguageNameUtils","ContentTranslation.TranslationStore","ContentTranslation.TranslationTargetUrlCreator","ContentTranslation.UserPermissionChecker","ChangeTagsStore","ContentTranslation.TranslatorStore"]},"cxpublishsection":{"class":"ContentTranslation\\ActionApi\\ApiSectionTranslationPublish","services":["TitleFactory","HookContainer","LanguageNameUtils","ContentTranslation.SectionContentEvaluator","ContentTranslation.SectionPositionCalculator","ContentTranslation.SandboxTitleMaker","ContentTranslation.SectionTranslationStore","ContentTranslation.TranslationStore","ContentTranslation.TranslationTargetUrlCreator","ContentTranslation.UserPermissionChecker","ChangeTagsStore"]},"cxsave":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationSave","services":["ContentTranslation.TranslationCorporaManager","ContentTranslation.ConnectionProvider","ContentTranslation.TranslationUnitValidator","LanguageNameUtils","ContentTranslation.TranslationStore","ContentTranslation.TranslatorStore","ContentTranslation.CategoryStore"]},"sxsave":{"class":"ContentTranslation\\ActionApi\\ApiSectionTranslationSave","services":["ContentTranslation.TranslationCorporaManager","ContentTranslation.ConnectionProvider","ContentTranslation.SectionTranslationStore","ContentTranslation.SandboxTitleMaker","TitleFactory","LanguageNameUtils","ContentTranslation.TranslationStore","ContentTranslation.TranslatorStore"]},"cxsplit":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationSplit","services":["ContentTranslation.ConnectionProvider","ContentTranslation.TranslationSplitter","ContentTranslation.TranslationStore","ContentTranslation.SectionTranslationStore"]},"cxcheckunreviewed":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationUnreviewedCheck","services":["ContentTranslation.TranslationStore","ContentTranslation.TranslationCorporaStore","ContentTranslation.UserService"]},"cxfavoritesuggestions":{"class":"ContentTranslation\\ActionApi\\ApiContentTranslationFavoriteSuggestions","services":["ContentTranslation.FavoriteSuggestionStore","ContentTranslation.UserService","TitleFactory","LanguageNameUtils"]},"cxtoken":"ContentTranslation\\ActionApi\\ApiContentTranslationToken"},"APIListModules":{"contenttranslation":{"class":"ContentTranslation\\ActionApi\\ApiQueryContentTranslation","services":["ContentTranslation.SectionTranslationStore","ContentTranslation.TranslationCorporaManager","ContentTranslation.UserService","ContentTranslation.TranslationStore"]},"contenttranslationcorpora":{"class":"ContentTranslation\\ActionApi\\ApiQueryContentTranslationCorpora","services":["ContentTranslation.TranslationCorporaManager"]},"contenttranslationfavoritesuggestions":{"class":"ContentTranslation\\ActionApi\\ApiQueryContentTranslationFavoriteSuggestions","services":["ContentTranslation.UserService","ContentTranslation.FavoriteSuggestionStore"]},"cxpublishedtranslations":{"class":"ContentTranslation\\ActionApi\\ApiQueryPublishedTranslations","services":["LanguageNameUtils","ContentTranslation.TranslationStore"]},"cxtranslatorstats":{"class":"ContentTranslation\\ActionApi\\ApiQueryTranslatorStats","services":["ContentTranslation.UserService","ContentTranslation.TranslationStore"]},"automatictranslationdenselanguages":{"class":"ContentTranslation\\ActionApi\\ApiQueryAutomaticTranslationDenseLanguages","services":["HttpRequestFactory","MainWANObjectCache"]}},"APIMetaModules":{"cxdeletedtranslations":"ContentTranslation\\ActionApi\\ApiQueryDeletedTranslations","cxconfig":{"class":"ContentTranslation\\ActionApi\\ApiQueryContentTranslationConfig","services":["ContentTranslation.CommunityConfiguration"]}},"APIPropModules":{"langlinkscount":"ContentTranslation\\ActionApi\\ApiQueryLangLinksCount"},"SpecialPages":{"ContentTranslation":{"class":"ContentTranslation\\Special\\SpecialContentTranslation","services":["SkinFactory","ContentTranslation.PreferenceHelper","ContentTranslation.CommunityConfiguration"]},"AutomaticTranslation":{"class":"ContentTranslation\\Special\\SpecialAutomaticTranslation","services":["LanguageNameUtils"]}},"DefaultUserOptions":{"echo-subscriptions-web-cx":true,"cx":false,"cx-enable-entrypoints":true,"cx-entrypoint-fd-status":"notshown","cx_campaign_newarticle_shown":false},"DatabaseVirtualDomains":["virtual-cx"],"ServiceWiringFiles":["includes\/ServiceWiring.php"],"config":{"ContentTranslationDomainCodeMapping":{"value":{"be-x-old":"be-tarask","bho":"bh","en-simple":"simple","gsw":"als","lzh":"zh-classical","nan":"zh-min-nan","nb":"no","rup":"roa-rup","sgs":"bat-smg","simple":"simple","vro":"fiu-vro","yue":"zh-yue"}},"ContentTranslationSiteTemplates":{"value":{"view":"https:\/\/$1.wikipedia.org\/wiki\/$2","action":"https:\/\/$1.wikipedia.org\/w\/index.php?title=$2","api":"https:\/\/$1.wikipedia.org\/w\/api.php","cx":"http:\/\/localhost:8080\/v1","cookieDomain":false}},"ContentTranslationTranslateInTarget":{"description":"Whether to open Special:ContentTranslation in the target wiki when clicking the button in the entry point. The domain will be based on $wgContentTranslationSiteTemplates. The default is to open Special:ContentTranslation on the same wiki","value":false},"ContentTranslationAsBetaFeature":{"description":"Whether to have CX available only as a beta feature and only shown to the users who have enabled the beta feature.","value":true},"ContentTranslationTargetNamespace":{"description":"Target namespace to publish articles. Values can be valid namespace ids. Example: 0 for Main, 2 for User namespace","value":0},"ContentTranslationCampaigns":{"value":{"specialcx":true,"newarticle":true,"specialcontribute":true,"cx2outreach":{"edittag":"cx2-outreach"}}},"ContentTranslationCXServerAuth":{"value":{"algorithm":"HS256","key":"","age":"3600"}},"ContentTranslationEnableMT":{"description":"Whether Machine Translation services are enabled for this target wiki","value":true},"RecommendToolAPIURL":{"description":"Web API URL for translation recommendation tool","value":"https:\/\/api.wikimedia.org\/service\/lw\/recommendation\/api\/v1\/translation"},"ContentTranslationVersion":{"value":"2"},"ContentTranslationUnmodifiedMTThresholdForPublish":{"description":"If the user exceeds a threshold an error will be shown to the user when they try to publish. The threshold will be calculated for the whole document, and it will prevent publishing until the content is modified.","value":95},"ContentTranslationPublishRequirements":{"description":"List of requirements for user account to be able to publish in main namespace. Possible requirements: * userGroups: User should belong to any group in this list in order to be able to publish.","value":{"userGroups":["*"]}},"ContentTranslationEnableAnonSectionTranslation":{"description":"Whether section translation is enabled for anonymous users","value":false},"SectionTranslationTargetLanguages":{"description":"If set, section translation will be only available for the specified target languages. Additionally these languages are used for language search entrypoints in Mobilefrontend.","value":null},"ContentTranslationContentImportForSectionTranslation":{"description":"Whether to auto import existing pages from production wikis to local wiki before publishing section translation. Useful for development and testing","value":false},"ContentTranslationDevMode":{"description":"Whether Content translation need to run in dev mode with features like Hot Module Replacement","value":false},"ContentTranslationCxServerHost":{"description":"Base URL for cxserver used for internal requests from ContentTranslation backend","value":"https:\/\/cxserver.wikimedia.org\/"},"DraftMaxAge":{"description":"Maximum age of unpublished drafts before they're purged from DB. Expressed in days and defaults to approximate value of 15 months.","value":456},"AutomaticTranslationLanguageSearcherEntrypointEnabledLanguages":{"description":"Languages for which the mobile language searcher entrypoint for Automatic Translation should be enabled","value":null},"ContentTranslationFeaturedCollection":{"description":"Name of the featured collection","value":null},"ContentTranslationFeaturedCollectionDescription":{"description":"Description of the featured collection","value":null},"ContentTranslationFeaturedCollectionLink":{"description":"Any valid link to a wiki page associated to the featured collection","value":null}},"QUnitTestModule":{"localBasePath":"tests\/qunit","remoteExtPath":"ContentTranslation\/tests\/qunit","scripts":["base\/mw.cx.SiteMapper.test.js","dm\/mw.cx.dm.Translation.test.js","mw.cx.TargetArticle.test.js","mw.cx.MachineTranslationService.test.js","mw.cx.TranslationTracker.test.js","mw.cx.util.test.js","ui\/mw.cx.ui.Infobar.test.js"],"dependencies":["ext.cx.model","mw.cx.SiteMapper","mw.cx.dm.Translation","mw.cx.init","mw.cx.ui.Infobar","mw.cx.util","ve.init.mw.CXTarget"]},"TrackingCategories":["cx-unreviewed-translation-category"],"attributes":{"EventLogging":{"Schemas":{"ContentTranslationAbuseFilter":"\/analytics\/legacy\/contenttranslationabusefilter\/1.0.0"}},"CommunityConfiguration":{"Providers":{"ContentTranslation":{"store":{"type":"wikipage","args":["MediaWiki:ContentTranslation.json"]},"validator":{"type":"jsonschema","args":["ContentTranslation\\Config\\Schemas\\ContentTranslationSchema"]},"type":"mw-config"}}}},"ConfigRegistry":{"ArticleFooterEntrypoint":"MediaWiki\\Config\\GlobalVarConfig::newInstance"},"composer":"mediawiki\/content-translation","repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/ContentTranslation"}}