enable choice of language

This commit is contained in:
iexos 2023-06-28 18:10:57 +02:00
parent 260dd4d7f3
commit 5159ed1b36
3 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ MEDIAWIKI_SITENAMESPACE="Example_Wiki"
MEDIAWIKI_EMAIL_CONTACT="info@wiki.example.com"
MEDIAWIKI_EMAIL_FROM="wiki@wiki.example.com"
MEDIAWIKI_LOGO_FILE='$wgResourceBasePath/resources/assets/wiki.png'
MEDIAWIKI_LANGUAGE="en"
MEDIAWIKI_IS_PRIVATE=1

View File

@ -84,7 +84,7 @@ $wgShellLocale = "C.UTF-8";
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/data/Names.php
$wgLanguageCode = "en";
$wgLanguageCode = "{{ env "MEDIAWIKI_LANGUAGE" }}";
$wgSecretKey = rtrim(file_get_contents('/run/secrets/mediawiki_secret_key'));

View File

@ -1,4 +1,4 @@
export LOCAL_SETTINGS_CONF_VERSION=v20
export LOCAL_SETTINGS_CONF_VERSION=v21
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v19
export COMPOSER_LOCAL_CONF_VERSION=v5