Closed krabina closed 5 years ago
If I change https://github.com/SemanticMediaWiki/Mermaid/blob/24a25357e3ed9bf9425bc9e183455d7a75b47cb0/DefaultSettings.php#L18 to $GLOBALS['mermaidgDefaultTheme'] = 'neutral'; it works.
$GLOBALS['mermaidgDefaultTheme'] = 'neutral';
However, this should be done in LocalSettings.php, but I can't figure out how. None of these work:
$mermaidgDefaultTheme = 'neutral'; $wgmermaidgDefaultTheme = 'neutral'; $wgMermaidgDefaultTheme = 'neutral'; $GLOBALS['mermaidgDefaultTheme'] = 'neutral';
Setup and configuration
Issue
If I change https://github.com/SemanticMediaWiki/Mermaid/blob/24a25357e3ed9bf9425bc9e183455d7a75b47cb0/DefaultSettings.php#L18 to
$GLOBALS['mermaidgDefaultTheme'] = 'neutral';
it works.However, this should be done in LocalSettings.php, but I can't figure out how. None of these work: