Add Variables extension

This commit is contained in:
Adam Goldsmith 2020-07-24 15:28:22 -04:00
parent 21aa143d74
commit ef4c291afe
2 changed files with 7 additions and 0 deletions

View File

@ -82,3 +82,8 @@ RUN git clone --depth 1 \
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CSS \ https://gerrit.wikimedia.org/r/mediawiki/extensions/CSS \
/var/www/html/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

View File

@ -226,6 +226,8 @@ $wgVirtualRestConfig['modules']['parsoid'] = array(
wfLoadExtension( 'TemplateData' ); wfLoadExtension( 'TemplateData' );
wfLoadExtension( 'Variables' );
wfLoadExtension( 'CSS' ); wfLoadExtension( 'CSS' );
require_once "$IP/extensions/Widgets/Widgets.php"; require_once "$IP/extensions/Widgets/Widgets.php";