Extension:FileAttach

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
FileAttach

Release status: beta

Implementation Page action
Description Allows files to be uploaded to the current page
Author(s) Milan Holzapfel (Milantalk)
Last version 1.0.2 (2011-04-24)
MediaWiki 1.16+
Database changes no
License GPL 2.0 or later
Download
Example organicdesign.co.nz
Parameters

$wgAttachmentHeading

Hooks used
BeforePageDisplay

UploadForm:initial
UploadForm:BeforeProcessing
SkinTemplateTabs
SkinTemplateNavigation

Check usage and version matrix

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.

Installation [edit]

  1. Download the files from SVN or download a snapshot (select your version of MediaWiki) and place the files under $IP/extensions/FileAttach
  2. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/FileAttach/FileAttach.php");
  3. Installation can now be verified through Special:Version on your wiki