From c7add7dc32e9b60bb19ae4103146a8ba2b66d7fd Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sun, 10 Sep 2023 21:31:41 +0300 Subject: [PATCH] Commit --- Dockerfile | 18 +++++++++--------- build/mediawiki_override/LocalSettings.php | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6fe455..7c61b5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,15 +11,15 @@ RUN apt update && apt install --yes wget gpg \ # download extensions RUN apt install wget \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/AdvancedSearch-REL1_39-6533553.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/CirrusSearch-REL1_39-da1a983.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/DynamicSidebar-REL1_39-b1e2d2a.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Elastica-REL1_39-aa4dc98.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_39-cb0009c.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Mpdf-REL1_39-1a6bb53.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Popups-REL1_39-6c06284.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/TimedMediaHandler-REL1_39-9a51d8e.tar.gz \ - && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/UserFunctions-REL1_39-5414085.tar.gz + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/AdvancedSearch-REL1_40-e27dbab.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/CirrusSearch-REL1_40-16afc65.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/DynamicSidebar-REL1_40-4a15372.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Elastica-REL1_40-3e076c7.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_40-8ba9809.tar.gz \ + #&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Mpdf-REL1_40-7d3b6b2.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Popups-REL1_40-03a758f.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/TimedMediaHandler-REL1_40-cc6a469.tar.gz \ + && wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/UserFunctions-REL1_40-9ac3bb6.tar.gz RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions' \; \ && find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins' \; \ diff --git a/build/mediawiki_override/LocalSettings.php b/build/mediawiki_override/LocalSettings.php index c9f33f8..a4c2443 100644 --- a/build/mediawiki_override/LocalSettings.php +++ b/build/mediawiki_override/LocalSettings.php @@ -271,6 +271,9 @@ $wgPFEnableStringFunctions = true; //$wgMpdfTab = true; $wgMpdfToolboxLink = true; +// Global css wasn't loading on login page +$wgAllowSiteCSSOnRestrictedPages = true; + // $wgObjectCaches['redis'] = [ // 'class' => 'RedisBagOStuff', // 'servers' => [ '127.0.0.1:6379' ],