From 14ba87382450eefbc2fbd1beec914c3c28b20834 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 14 Sep 2020 20:02:21 +0000 Subject: [PATCH 1/3] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..39a2b6e --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} From b326e20c4c0141c920251c6ba5330eba1844053e Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 18 Sep 2020 00:27:56 +0200 Subject: [PATCH 2/3] Enable Interwiki, Cite, ParserFunctions --- LocalSettings.php.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index 074b94f..b5b8719 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -139,6 +139,10 @@ wfLoadSkin( 'Vector' ); # The following extensions were automatically enabled: wfLoadExtension( 'VisualEditor' ); +wfLoadExtension( 'Interwiki' ); +wfLoadExtension( 'Cite' ); +wfLoadExtension( 'ParserFunctions' ); + # End of automatically generated settings. # Add more configuration options below. From ec4c8afceaff875dcdc563c157cac40628525acb Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 18 Sep 2020 20:41:10 +0200 Subject: [PATCH 3/3] Customisable logo path --- .envrc.sample | 1 + LocalSettings.php.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.envrc.sample b/.envrc.sample index 0f35ba8..597d314 100644 --- a/.envrc.sample +++ b/.envrc.sample @@ -7,6 +7,7 @@ export MEDIAWIKI_SITENAME="Example Wiki" export MEDIAWIKI_SITENAMESPACE="Example_Wiki" export MEDIAWIKI_EMAIL_CONTACT="info@wiki.example.com" export MEDIAWIKI_EMAIL_FROM="wiki@wiki.example.com" +export MEDIAWIKI_LOGO_FILE='$wgResourceBasePath/resources/assets/wiki.png' export DB_ROOT_PASSWORD_VERSION=v1 export DB_PASSWORD_VERSION=v1 diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index b5b8719..a015db0 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -39,7 +39,7 @@ $wgResourceBasePath = $wgScriptPath; ## The URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! -$wgLogo = "$wgResourceBasePath/resources/assets/wiki.png"; +$wgLogo = "{{ env "MEDIAWIKI_LOGO_FILE" }}"; ## UPO means: this is also a user preference option