Talk:MediaWiki

From ArchWiki
Jump to: navigation, search

Email configuration

Looking through MediaWiki wiki and mailing lists I noticed email is not supported out of the box.

Found this needs to be added to LocalSettings.php (https://www.mediawiki.org/wiki/Manual:$wgSMTP):

   $wgSMTP = array(
       'host' => 'ssl://smtp.gmail.com',
       'IDHost' => 'gmail.com',
       'port' => 465,
       'username' => 'yourEmailAccount@gmail.com',
       'password' => 'yourEmailPassword',
       'auth' => true
   );

But it seems there are some php libs that need installing (https://www.mediawiki.org/w/index.php?title=Topic:R7ag43960rvx0lri&topic_showPostId=sv25uc2o9j6bbkql#flow-post-sv25uc2o9j6bbkql): quote:

   `running "pear install mail" and possibly "pear install Net_SMTP"`

I'd love to do this but I run my mediawiki in chroot so there will be a challange of chrooting pear too?

Gregosky (talk) 14:16, 22 June 2016 (UTC)

I found it to work out of the box if you have an email server installed, which is the easiest solution anyway, instead of routing all of your traffic to Google, I’d suggest to leave it as-is. Perhaps also add a link to OpenSMTPD for people who don’t already have one? Link Mauve (talk) 14:38, 22 June 2016 (UTC)

nginx configuration doesn't work

Hello,

The title sums it up. I've tried setting up MediaWiki by carefully following every steps listed in the wiki, since I have no previous knowledge of nginx.

I may have missed something. But just in case, can someone double check and try the configuration in a clean environment?

Best regards. —This unsigned comment is by E966d2a4 (talk) 09:59, 23 April 2018. Please sign your posts with ~~~~!