From ef3a0d6e4c150f0584d3ed9c1fcebe8716ebfa07 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 26 Apr 2020 17:02:30 -0400 Subject: [PATCH] Add Semantic ACL extension --- Dockerfile | 5 +++++ LocalSettings.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index e6f0dc7..979ae3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,3 +58,8 @@ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ && cd /var/www/html/extensions/Widgets && composer update --no-dev \ && chown www-data: compiled_templates/ +# https://www.mediawiki.org/wiki/Extension:Semantic_ACL +RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ + https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticACL \ + /var/www/html/extensions/SemanticACL + diff --git a/LocalSettings.php b/LocalSettings.php index 8a87550..46d349f 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -149,6 +149,8 @@ enableSemantics( 'claremontmakerspace.org' ); $smwgPDefaultType = '_txt'; $smwgEnabledQueryDependencyLinksStore = true; +wfLoadExtension( 'SemanticACL' ); + wfLoadExtension( 'WikiEditor' ); wfLoadExtension( 'CodeEditor' ); $wgDefaultUserOptions['usebetatoolbar'] = 1; // user option provided by WikiEditor extension