Extension:EmailToWiki
From Organic Design wiki
<?php
- Extension:EmailToWiki
Template:PhpCategory:Extensions created with Template:Extension
- - Licenced under LGPL (http://www.gnu.org/copyleft/lesser.html)
- - Author: User:Nad
- - See http://www.mediawiki.org/wiki/Extension:EmailToWiki for installation and usage details
- Rather than relying on WikiD to login and update the wiki,
- it can instead use a simpler Perl script which can be run from the crontab and
- use the SimpleForms extension's content query-string option to append the article.
- 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 );
- Called from $wgExtensionFunctions array when initialising extensions
function wfSetupEmailToWiki() { }
?>