From ef4c291afece2d4cbbbfc39a10cebb8b790e7bb3 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 24 Jul 2020 15:28:22 -0400 Subject: [PATCH] Add Variables extension --- Dockerfile | 5 +++++ LocalSettings.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5da3530..3b10290 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,3 +82,8 @@ RUN git clone --depth 1 \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ https://gerrit.wikimedia.org/r/mediawiki/extensions/CSS \ /var/www/html/extensions/CSS + +# https://www.mediawiki.org/wiki/Extension:Variables +RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ + https://gerrit.wikimedia.org/r/mediawiki/extensions/Variables \ + /var/www/html/extensions/Variables diff --git a/LocalSettings.php b/LocalSettings.php index 016460a..50eaa49 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -226,6 +226,8 @@ $wgVirtualRestConfig['modules']['parsoid'] = array( wfLoadExtension( 'TemplateData' ); +wfLoadExtension( 'Variables' ); + wfLoadExtension( 'CSS' ); require_once "$IP/extensions/Widgets/Widgets.php";