Difference between revisions of "Extension:EmailToWiki"

From Organic Design wiki
(notes)
m (Nad moved page Extension:EmailToWiki.php to Extension:EmailToWiki without leaving a redirect)
 
(11 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)
 
# - Author: [http://www.organicdesign.co.nz/nad 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,
+
{{info|The information page for this extension is at [[MW:Extension:EmailToWiki]]}}
# 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.');
+
[[Category:Extensions|EmailToWiki]]
 
 
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() {
 
}
 
 
 
?>
 

Latest revision as of 12:46, 30 April 2015

Info.svg This code is in our Git repository here.

Note: If there is no information in this page about this code and it's a MediaWiki extension, there may be something at mediawiki.org.


Info.svg The information page for this extension is at MW:Extension:EmailToWiki