Extension:Mail2Facebook

What can this extension do?
If would a article save, the extension send a mail to the facebook page

0.2 beta build 20110614

 * Post additional Username
 * Add picture to post
 * show Username in post

0.3 beta build 20110623

 * hide the IP, if the author not login in MediaWiki
 * pictures from Artikeles with blanks may upload, too
 * Better link in Special:Version
 * switch for configure with/without username
 * switch between real or username
 * Post only Articles, not other type of MediaWikiPages
 * Better text for imagelicense

0.4 beta build 20110729

 * support SVG images (it will sent as png to Facebook)
 * reports only Namespace 0 Articles (0 = Standard)
 * send a random picture from the article

further versions

 * Prio A
 * reduce picture resolution to 97*68
 * BUG: signs like äüö make probs
 * add function, that it will take the second tumbnail, is the first thumb not reachable
 * suppress mails, if the last edit of the same article not so old
 * BUG: if the edit contains a picture, it will not found at the current save


 * Prio B
 * add mailadress for deverloper (it will receive a copy of the mails to facebook)
 * Check it with other image structures
 * fix the prob, that facebook compress more post in one
 * posttext configurable over Spezial:MediaWiki-Systemnachrichten
 * Form to choose which image to post

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters

 * Set your Fabebook postmaladress to $wgMail2Facebook['mailto']
 * Set your Mediawiki URL without the articlename to $wgMail2Facebook['url']