{"master":{"name":"MachineTranslation","author":"Universal Omega","url":"https:\/\/github.com\/miraheze\/MachineTranslation","descriptionmsg":"machinetranslation-desc","namemsg":"machinetranslation-extensionname","license-name":"GPL-3.0-or-later","type":"interface","requires":{"MediaWiki":">= 1.43.0"},"JobClasses":{"MachineTranslationJob":{"class":"Miraheze\\MachineTranslation\\Jobs\\MachineTranslationJob","services":["ConfigFactory","MachineTranslationUtils"],"needsPage":false}},"Hooks":{"ArticleViewHeader":{"handler":"Main"}},"HookHandlers":{"Main":{"class":"Miraheze\\MachineTranslation\\HookHandlers\\Main","services":["ConfigFactory","JobQueueGroupFactory","LanguageNameUtils","MachineTranslationLanguageFetcher","MachineTranslationUtils","TitleFactory","WikiPageFactory"]}},"config":{"MachineTranslationCaching":{"description":"Boolean. Whether to enable caching for translation subpages.","value":true},"MachineTranslationCachingTime":{"description":"Integer. The time in seconds to cache translations for.","value":86400},"MachineTranslationDisplayLanguageName":{"description":"Boolean. Whether to display the language name in parentheses next to the page title on translation subpages. You may want to disable this if translate title is enabled.","value":true},"MachineTranslationRobotPolicy":{"description":"String. The robot policy to use for translation subpages.","value":""},"MachineTranslationServiceConfig":{"description":"Array. Configure the machine translation service. type: <required, the name of the service, allowed values: DeepL, Google, LibreTranslate>; url: <optional, required if using DeepL or LibreTranslate, the base API URL for the machine translation service>; apikey: <optional, required if using DeepL or Google Translate, the API key for the machine translation service>","value":{"type":"LibreTranslate","url":"https:\/\/trans.zillyhuhn.com"}},"MachineTranslationTimeout":{"description":"Integer. The time in seconds before connecting to the machine translation service will timeout.","value":86400},"MachineTranslationTranslateTitle":{"description":"Boolean. Whether to also translate the page title. This will create an extra request to the machine translation service.","value":false},"MachineTranslationUseJobQueue":{"description":"Boolean. Whether to use the job queue for processing translations. This will not work if you do not have caching enabled and have a sensible expiry configured.","value":true}},"ConfigRegistry":{"MachineTranslation":"MediaWiki\\Config\\GlobalVarConfig::newInstance"},"ServiceWiringFiles":["includes\/ServiceWiring.php"],"repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/MachineTranslation"}}