Extension:EmailToWiki

From Organic Design wiki
Revision as of 02:01, 28 May 2007 by Nad (talk | contribs) (notes)

<?php

  1. Extension:EmailToWiki
Info.svg These are the MediaWiki extensions we're using and/or developing. Please refer to the information on the mediawiki.org wiki for installation and usage details. Extensions here which have no corresponding mediawiki article are either not ready for use or have been superseded. You can also browse our extension code in our local Subversion repository or our GitHub mirror.

Template:PhpCategory:Extensions created with Template:Extension

  1. - Licenced under LGPL (http://www.gnu.org/copyleft/lesser.html)
  2. - Author: User:Nad
  3. - See http://www.mediawiki.org/wiki/Extension:EmailToWiki for installation and usage details
  1. Rather than relying on WikiD to login and update the wiki,
  2. it can instead use a simpler Perl script which can be run from the crontab and
  3. use the SimpleForms extension's content query-string option to append the article.
  4. Editing in this way can be restricted to particular categories or IP's

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' => '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 );

  1. Called from $wgExtensionFunctions array when initialising extensions

function wfSetupEmailToWiki() { }

?>