WikiServer - Configuring the Wiki
Jump to navigation
Jump to search
Little snippets of configuration to add to LocalSettings.php...
To add any of them:
sudo vim /var/www/wiki/LocalSettings.php
Uploadable File Types
search for $wgFileExtensions
If you don't find it, you can add it.
on my wiki, it looks like:
######################################### # Uploadable File Types ######################################### $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'epub', 'ino', 'c', 'cpp', 'h', 'zip', 'gz', 'mp3', 'txt' );
You likely don't want ino, c, cpp, h
Open external links in new window
######################################### # Open external links in new window. ######################################### $wgExternalLinkTarget = '_blank';