From b57b88bb28481e503ca1975b39b6200b042782eb Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 21 Oct 2021 01:45:59 -0400 Subject: [PATCH] Bump Mediawiki to 1.36 --- Dockerfile | 8 ++++---- LocalSettings.php | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 23f89e8..81ed731 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mediawiki:1.35 +FROM mediawiki:1.36 RUN apt-get update \ && apt-get install -y libldap2-dev libpng-dev git zip \ @@ -19,17 +19,17 @@ RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ # https://www.mediawiki.org/wiki/Extension:LDAPProvider RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ - https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPProvider \ + https://github.com/wikimedia/mediawiki-extensions-LDAPProvider \ /var/www/html/extensions/LDAPProvider # https://www.mediawiki.org/wiki/Extension:LDAPUserInfo RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ - https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPUserInfo \ + https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo \ /var/www/html/extensions/LDAPUserInfo # https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2 RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ - https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPAuthentication2 \ + https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2 \ /var/www/html/extensions/LDAPAuthentication2 # https://www.mediawiki.org/wiki/Extension:MobileFrontend diff --git a/LocalSettings.php b/LocalSettings.php index 406442d..7f974af 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -15,6 +15,8 @@ if ( !defined( 'MEDIAWIKI' ) ) { exit; } +error_reporting( 0 ); + # store passwords/sensitive data here $secrets = require('secrets.php'); @@ -95,7 +97,7 @@ $wgPingback = false; ## If you use ImageMagick (or any other shell command) on a ## Linux server, this will need to be set to the name of an ## available UTF-8 locale -$wgShellLocale = "en_US.utf8"; +$wgShellLocale = "C.UTF-8"; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not