Skip to content

Commit

Permalink
Added $wgAllowImageTag back, need to find alternative solution
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Brooks authored Dec 10, 2024
1 parent ede9a79 commit 9b4bee4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/roles/mediawiki/templates/LocalSettings.php.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b4bee4

Please sign in to comment.