A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:$wgEnableUploads below:

Manual:$wgEnableUploads - MediaWiki

Allow images and other files to be uploaded through the wiki.
Introduced in version: 1.5.0 Removed in version: Still in use Allowed values: (boolean) Default value: false

Details

Found in the LocalSettings.php file, when set to true, users will be allowed to upload images and other enabled files. Users will see an Upload file link appearing in the toolbox on the bottom-left (usually), linking to the Special:Upload page. This link appears for users with the upload right (logged-in users by default).

When enabling file uploads, you must also make the

images

directory writable by the web server, otherwise you will just see an error such as

failed to open stream: Operation not permitted

or

Could not create directory "mwstore://local-backend/local-public/0/00"

. Note that a web server writable directory is not insecure in itself, but can be thought of as the first half of a successful attack to your web server, as such you might like to explore alternatives

using img_auth.php

.

IMPORTANT: Uploads need to be set up properly in order to be secure! There are several related configuration settings. It is recommended to read the more complete instructions at Manual:Configuring file uploads

See also


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3