Extension:FileAttach

The FileAttach extension allows files to be uploaded to the wiki from an "add attachment" tab in the page actions. The tab brings up the usual file upload special page, but then, when submitted, the file is added as an icon in a "File attachments" section at the end of the page, in addition to being uploaded into the wiki as usual.

Allow Uploads
Reference: MediaWIki File Uploads Manual

In LocalSettings.php (newer versions of MediaWiki): To only allow logged in users to add images and documents: To alter upload extensions: