From 9b4bee4bb626f7ec583192a8ef087b3cd8b499ff Mon Sep 17 00:00:00 2001 From: Vincent Brooks <38259624+V-Brooks@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:12:39 -0600 Subject: [PATCH] Added $wgAllowImageTag back, need to find alternative solution --- src/roles/mediawiki/templates/LocalSettings.php.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/roles/mediawiki/templates/LocalSettings.php.j2 b/src/roles/mediawiki/templates/LocalSettings.php.j2 index de657464..df698299 100644 --- a/src/roles/mediawiki/templates/LocalSettings.php.j2 +++ b/src/roles/mediawiki/templates/LocalSettings.php.j2 @@ -561,6 +561,14 @@ $wgCacheDirectory = "{{ m_cache_directory }}/$wikiId"; // opens external links in new window $wgExternalLinkTarget = '_blank'; +// added this line to allow linking. specifically to Imagery Online. +$wgAllowExternalImages = true; +{% if allow_image_tags is defined and allow_image_tags %} +$wgAllowImageTag = true; +{% else %} +$wgAllowImageTag = false; +{% endif %} + $wgVectorUseSimpleSearch = true; //$wgDefaultUserOptions['useeditwarning'] = 1;