Jump to content

User:Stelf/MailFile

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Stelf (talk | contribs) at 10:30, 15 February 2006. It may differ significantly from the current version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the homepage of MailFile Extension by stelf.

MailFile Extension

The purpose of this extension is to make possible to mail wiki file directly from the wiki.

Syntax/Usage

The syntax is as simple as using a template with two parameters, the first to be the wiki name of the file and the description. It quite resembles the well known [[Media:]] link syntax.

Template:MailFile


The template takes care of everything else so that in the end one you get a link to the file itself and icon linked to the special page that actually sends the file to specific mail recipient.

 File Description [Image://meta.wikimedia.org/skins/monobook/mail_icon.gif]

Installation

The MailFile extension consists of SpecialPage and Template, that you actually use to trigger functionality. Follow these steps in order to enable it.

Configure PHP.ini

Edit LocalSettings.php

Install Files