Add Semantic ACL extension

This commit is contained in:
Adam Goldsmith 2020-04-26 17:02:30 -04:00
parent deba265400
commit ef3a0d6e4c
2 changed files with 7 additions and 0 deletions

View File

@ -58,3 +58,8 @@ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
&& cd /var/www/html/extensions/Widgets && composer update --no-dev \ && cd /var/www/html/extensions/Widgets && composer update --no-dev \
&& chown www-data: compiled_templates/ && 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

View File

@ -149,6 +149,8 @@ enableSemantics( 'claremontmakerspace.org' );
$smwgPDefaultType = '_txt'; $smwgPDefaultType = '_txt';
$smwgEnabledQueryDependencyLinksStore = true; $smwgEnabledQueryDependencyLinksStore = true;
wfLoadExtension( 'SemanticACL' );
wfLoadExtension( 'WikiEditor' ); wfLoadExtension( 'WikiEditor' );
wfLoadExtension( 'CodeEditor' ); wfLoadExtension( 'CodeEditor' );
$wgDefaultUserOptions['usebetatoolbar'] = 1; // user option provided by WikiEditor extension $wgDefaultUserOptions['usebetatoolbar'] = 1; // user option provided by WikiEditor extension