Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
ConfigNames.php
1<?php
2declare( strict_types = 1 );
3
4// This file is automatically generated. Update by running update-config-names script.
5
6namespace MediaWiki\Extension\Translate;
7
20// phpcs:disable Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase
25 public const RecentChangesLanguageFilter = 'TranslateRecentChangesLanguageFilter';
26
30 public const PageTranslationAllowedContentModels = 'PageTranslationAllowedContentModels';
31
40 public const PageTranslationLanguageList = 'PageTranslationLanguageList';
41
46 public const DocumentationLanguageCode = 'TranslateDocumentationLanguageCode';
47
51 public const EnableLuaIntegration = 'TranslateEnableLuaIntegration';
52
57 public const EnableMessageGroupSubscription = 'TranslateEnableMessageGroupSubscription';
58
62 public const UserManagerName = 'TranslateUserManagerName';
63
68 public const FuzzyBotName = 'TranslateFuzzyBotName';
69
76 public const LanguageFallbacks = 'TranslateLanguageFallbacks';
77
85 public const SupportUrl = 'TranslateSupportUrl';
86
91 public const SupportUrlNamespace = 'TranslateSupportUrlNamespace';
92
97 public const PageTranslationBannerNamespaces = 'TranslatePageTranslationBannerNamespaces';
98
105 public const PermissionUrl = 'TranslatePermissionUrl';
106
113 public const EnablePageTranslation = 'EnablePageTranslation';
114
118 public const EnableEventLogging = 'TranslateEnableEventLogging';
119
130 public const PageTranslationULS = 'TranslatePageTranslationULS';
131
141 public const KeepOutdatedTranslations = 'TranslateKeepOutdatedTranslations';
142
152 public const DisabledTargetLanguages = 'TranslateDisabledTargetLanguages';
153
158 public const MessagePrefixStatsLimit = 'TranslateMessagePrefixStatsLimit';
159
164 public const ValidationExclusionFile = 'TranslateValidationExclusionFile';
165
177 public const AuthorExclusionList = 'TranslateAuthorExclusionList';
178
183 public const MessageNamespaces = 'TranslateMessageNamespaces';
184
188 public const GroupRoot = 'TranslateGroupRoot';
189
193 public const GroupFiles = 'TranslateGroupFiles';
194
211 public const WorkflowStates = 'TranslateWorkflowStates';
212
216 public const GroupAliases = 'TranslateGroupAliases';
217
221 public const CacheDirectory = 'TranslateCacheDirectory';
222
227 public const MessageIndex = 'TranslateMessageIndex';
228
235 public const UseSandbox = 'TranslateUseSandbox';
236
241 public const SandboxPromotedGroup = 'TranslateSandboxPromotedGroup';
242
246 public const SandboxLimit = 'TranslateSandboxLimit';
247
253 public const UsePreSaveTransform = 'TranslateUsePreSaveTransform';
254
259 public const RcFilterDefault = 'TranslateRcFilterDefault';
260
269 public const YamlLibrary = 'TranslateYamlLibrary';
270
279 public const TranslationDefaultService = 'TranslateTranslationDefaultService';
280
297 public const TranslationServices = 'TranslateTranslationServices';
298
302 public const StatsProviders = 'TranslateStatsProviders';
303
308 public const GroupSynchronizationCache = 'TranslateGroupSynchronizationCache';
309
314 public const PageMoveLimit = 'TranslatePageMoveLimit';
315
319 public const EnableMessageBundleIntegration = 'TranslateEnableMessageBundleIntegration';
320
321}
Constants for configuration variables for the Translate extension.
const MessagePrefixStatsLimit
Represents the number of messages that can be queried via Special:MessageGroupStats when fetching mes...
const GroupAliases
Map from deprecated group IDs to their current ID.
const DocumentationLanguageCode
Language code for message documentation.
const PageTranslationULS
If set to true, when a user selects an interface language via ULS (Universal Language Selector),...
const PermissionUrl
When unprivileged users open a translation editor, they will see a message stating that a special per...
const RecentChangesLanguageFilter
Add language filter to the Special:RecentChanges.
const AuthorExclusionList
Two-dimensional array of rules that exclude certain authors from appearing in the exports.
const StatsProviders
Add, disable or overwrite default stats type providers.
const LanguageFallbacks
Default values for list of languages to show translators as an aid when translating.
const RcFilterDefault
Default action for the RecentChanges filter, which makes it possible to filter translations away or s...
const ValidationExclusionFile
File containing validations that are to be skipped.
const CacheDirectory
Set location of cache files.
const TranslationDefaultService
Name of the default translation memory service.
const PageTranslationAllowedContentModels
Associative array of content model IDs where page translation should be possible.
const WorkflowStates
List of possible message group review workflow states and properties for each state.
const GroupFiles
The newest and recommended way of adding custom groups is YAML files.
const DisabledTargetLanguages
Two-dimensional array of languages that cannot be translated.
const SandboxPromotedGroup
To which group the translators are promoted.
const GroupRoot
Location in the filesystem to which paths are relative in custom groups.
const KeepOutdatedTranslations
If set to true, when a translated page has some units marked as outdated, the outdated translation wi...
const SupportUrl
Experimental support since 2011-03-11 for an 'Ask' help button.
const UseSandbox
Whether to allow users to sign up via a sandbox.
const EnablePageTranslation
Enable page translation feature.
const FuzzyBotName
Name of the bot which will invalidate translations and do maintenance for page translation feature.
const MessageNamespaces
List of namespace that contain messages.
const PageMoveLimit
If set, displays a warning and does not allow user to move translatable pages having more subpages th...
const YamlLibrary
Currently supported YAML drivers are phpyaml or spyc.
const UserManagerName
Name of the system user that will be used to create the sandbox users in the system.
const EnableMessageGroupSubscription
Enable translators to watch message groups and receive notifications when messages in the group are a...
const PageTranslationLanguageList
How language list for translatable pages is shown.
const EnableEventLogging
Enable use of analytics on Special:Translate.
const UsePreSaveTransform
Pre-save transform for message pages.
const EnableMessageBundleIntegration
Enable experiment message bundle integration.
const EnableLuaIntegration
[Experimental] Enable integration with Lua modules using Scribunto extension.
const PageTranslationBannerNamespaces
List of namespace numbers for which the call to action banner to mark the page for translation will b...
const TranslationServices
Define various web services that provide translation suggestions.
const SandboxLimit
Maximum number of translations a user can make in the sandbox.
const SupportUrlNamespace
Like $wgTranslateSupportUrl, but for a specific namespace.
Creates a database of keys in all groups, so that namespace and key can be used to get the groups the...