|
|
(12 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <?php
| + | {{svn|extensions|MediaWiki/EmailToWiki/}} |
− | # Extension:EmailToWiki{{Category:Extensions}}{{php}}{{Category:Extensions created with Template:Extension}}
| + | |
− | # - Licenced under LGPL (http://www.gnu.org/copyleft/lesser.html)
| + | {{info|The information page for this extension is at [[MW:Extension:EmailToWiki]]}} |
− | # - Author: [http://www.organicdesign.co.nz/nad User:Nad]
| + | |
− |
| + | [[Category:Extensions|EmailToWiki]] |
− | if (!defined('MEDIAWIKI')) die('Not an entry point.');
| |
− |
| |
− | define('EMAILTOWIKI_VERSION','0.0.0, 2007-05-25');
| |
− |
| |
− | $wgExtensionFunctions[] = 'wfSetupEmailToWiki';
| |
− | $wgHooks['LanguageGetMagic'][] = 'wfEmailToWikiLanguageGetMagic';
| |
− |
| |
− | $wgExtensionCredits['other'][] = array(
| |
− | 'name' => 'EmailToWiki',
| |
− | 'author' => '[http://www.organicdesign.co.nz/nad User:Nad]',
| |
− | 'description' => 'Allows emails to be sent to the wiki and added to an existing or new article',
| |
− | 'url' => 'http://www.mediawiki.org/wiki/Extension:EmailToWiki',
| |
− | 'version' => EMAILTOWIKI_VERSION
| |
− | );
| |
− |
| |
− | # Called from $wgExtensionFunctions array when initialising extensions
| |
− | function wfSetupEmailToWiki() {
| |
− | }
| |
− |
| |
− | ?>
| |