1 Commits

Author SHA1 Message Date
3wc
e6f77b37e6 Fix new deployments?
Some checks failed
continuous-integration/drone/pr Build is failing
Re: #33
2023-06-25 21:17:02 +01:00
4 changed files with 2 additions and 74 deletions

View File

@ -67,18 +67,6 @@ SECRET_MEDIAWIKI_SECRET_KEY_VERSION=v1 # length=64
## WikiMarkdown
#MARKDOWN_ENABLED=1
## Scribunto Lua scripting
#SCRIBUNTO_ENABLED=1
## TemplateStyles
#TEMPLATESTYLES_ENABLED=1
## Mermaid
#MERMAID_ENABLED=1
## Genealogy
#GENEALOGY_ENABLED=1
## Tweeki skin
#TWEEKI_ENABLED=0

View File

@ -232,23 +232,6 @@ $wgAllowMarkdownExtra = true; // allows usage of Parsedown Extra
$wgAllowMarkdownExtended = true; // allows usage of Parsedown Extended
{{ end }}
{{ if eq (env "SCRIBUNTO_ENABLED") "1" }}
wfLoadExtension( 'Scribunto' );
$wgScribuntoDefaultEngine = 'luastandalone';
{{ end }}
{{ if eq (env "TEMPLATESTYLES_ENABLED") "1" }}
wfLoadExtension( 'TemplateStyles' );
{{ end }}
{{ if eq (env "MERMAID_ENABLED") "1" }}
wfLoadExtension( 'Mermaid' );
{{ end }}
{{ if eq (env "GENEALOGY_ENABLED") "1" }}
wfLoadExtension( 'Genealogy' );
{{ end }}
$wgFileExtensions = array(
'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff',
'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg'

View File

@ -1,4 +1,4 @@
export LOCAL_SETTINGS_CONF_VERSION=v21
export LOCAL_SETTINGS_CONF_VERSION=v20
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v20
export COMPOSER_LOCAL_CONF_VERSION=v5

View File

@ -17,14 +17,6 @@ composer_install() {
set -eu
cd /var/www/html/ && composer update && composer install
# SMW needs this; some other extensions brought in by composer might as well.
php /var/www/html/maintenance/update.php --quick
{{ if eq (env "TEMPLATESTYLES_ENABLED") "1" }}
cd /var/www/html/extensions/TemplateStyles && \
composer install --no-dev
{{ end }}
}
init_db() {
@ -48,13 +40,9 @@ init_db() {
php /var/www/html/maintenance/sql.php /var/www/html/maintenance/tables.sql
php /var/www/html/maintenance/sql.php /var/www/html/maintenance/interwiki.sql
# FIXME run createAndPromote.php with $ADMIN_USERNAME
else
php /var/www/html/maintenance/update.php --quick
fi
if [ -n "${OPENID_ENABLED-}" ]; then
php /var/www/html/maintenance/update.php --quick
fi
php /var/www/html/maintenance/update.php --quick
}
init_extensions() {
@ -121,37 +109,6 @@ init_extensions() {
fi
fi
if [ -n "${SCRIBUNTO_ENABLED-}" ]; then
if [ ! -d /var/www/html/extensions/Scribunto ]; then
git clone --depth 1 \
https://github.com/wikimedia/mediawiki-extensions-Scribunto \
/var/www/html/extensions/Scribunto
fi
fi
if [ -n "${TEMPLATESTYLES_ENABLED-}" ]; then
if [ ! -d /var/www/html/extensions/TemplateStyles ]; then
git clone --depth 1 \
https://github.com/wikimedia/mediawiki-extensions-TemplateStyles \
/var/www/html/extensions/TemplateStyles
fi
fi
if [ -n "${MERMAID_ENABLED-}" ]; then
if [ ! -d /var/www/html/extensions/Mermaid ]; then
git clone --depth 1 \
https://github.com/SemanticMediaWiki/Mermaid \
/var/www/html/extensions/Mermaid
fi
fi
if [ -n "${GENEALOGY_ENABLED-}" ]; then
if [ ! -d /var/www/html/extensions/Genealogy ]; then
git clone --depth 1 \
https://github.com/wikimedia/mediawiki-extensions-Genealogy \
/var/www/html/extensions/Genealogy
fi
fi
}
init_skins() {