From 02b5e2aadb2e8644da8b6a231a0d86d665046dbb Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 25 Jun 2020 03:25:03 -0400 Subject: [PATCH] Add TemplateData extension --- Dockerfile | 4 ++++ LocalSettings.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 979ae3e..e718b0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,3 +63,7 @@ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticACL \ /var/www/html/extensions/SemanticACL +# https://www.mediawiki.org/wiki/Extension:TemplateData +RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ + https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData \ + /var/www/html/extensions/TemplateData diff --git a/LocalSettings.php b/LocalSettings.php index eb09eee..679206a 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -222,4 +222,6 @@ $wgVirtualRestConfig['modules']['parsoid'] = array( 'domain' => 'claremontmakerspace', ); +wfLoadExtension( 'TemplateData' ); + require_once "$IP/extensions/Widgets/Widgets.php";