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

0.5 beta build 20110731

 * New Parameter $wgMail2Facebook['devmail']
 * Send a copy of the mail to facebook with detailed information to Mailadress out $wgMail2Facebook['devmail']
 * signs like äüö will displayed correct
 * only try to send follow filetypes: .png, .jpg, .jpeg, .gif and .svg
 * with $wgMail2Facebook['lessminold'] you may set, how many time since the last edit of the article must left, to send a new mail to facebook
 * you may set with $wgMail2Facebook['reduce'] = array('x' => 97, 'y' => 68); if you want send a smaller one image.
 * all image will sent as Jpeg to Facebook
 * you may change the JPG Quality with $wgMail2Facebook['imgquality'];

further versions

 * Prio A
 * BUG: if the edit contains a picture, it will not found at the current save
 * $wgMail2Facebook['reduce'] should not strech or compress the image dimensions
 * Prio B
 * Check it with other image structures
 * fix the prob, that facebook compress more post in one
 * posttext configurable over Spezial:MediaWiki-Systemnachrichten
 * Add Picture Blacklist


 * Prio C
 * 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
see comments above