WikiServer - Configuring the Wiki

From The TinkerNet Wiki
Revision as of 01:07, 26 July 2020 by Tinker (talk | contribs) (Created page with "== Uploadable File Types == * <code>sudo vim /var/www/wiki/LocalSettings.php</code> search for $wgFileExtensions If you don't find it, you can add it. on my wiki, it looks...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Uploadable File Types

  • sudo vim /var/www/wiki/LocalSettings.php

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