From 21aa143d74158d2274c19b34b30e6c8e60ef79db Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 24 Jul 2020 15:26:16 -0400 Subject: [PATCH] Add CSS Extension --- Dockerfile | 5 +++++ LocalSettings.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0acdeca..5da3530 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,3 +77,8 @@ RUN git clone --depth 1 \ RUN git clone --depth 1 \ https://github.com/gesinn-it/QRLite \ /var/www/html/extensions/QRLite + +# https://www.mediawiki.org/wiki/Extension:CSS +RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ + https://gerrit.wikimedia.org/r/mediawiki/extensions/CSS \ + /var/www/html/extensions/CSS diff --git a/LocalSettings.php b/LocalSettings.php index 73359b3..016460a 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -226,6 +226,8 @@ $wgVirtualRestConfig['modules']['parsoid'] = array( wfLoadExtension( 'TemplateData' ); +wfLoadExtension( 'CSS' ); + require_once "$IP/extensions/Widgets/Widgets.php"; require_once "$IP/extensions/QRLite/QRLite.php";