Media Wiki Enable and Configure Image Uploads

From NovaOrdis Knowledge Base
Revision as of 20:01, 30 December 2023 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

File uploads are initially disabled.

To enable:

1. Configure php.ini as follows:

file_uploads = On

If this is not set, PHP scripts cannot use the upload functions, and MediaWiki's uploads will not be enabled.

2. In LocalSettings.php set:

$wgEnableUploads = true; # Enable uploads