Changes

Jump to navigation Jump to search
Steps Followed:
LocalSettings'''Package Installation Steps:'''* cd extensions/* wget https://extdist.wmflabs.org/dist/extensions/ConfirmAccount-REL1_26-d6e2f46.tar.gz* tar -xzf ConfirmAccount-REL1_26-d6e2f46.tar.gz * sudo pear install mail* sudo pear install net_smtpThe above steps ensure that email notification system is set up, and that the Confirm Account package is set up.  '''Configuring Confirm Accounts php files '''The following files need to be updated as follows:*ConfirmAccount.php: Set the confirmation queues to point to folders that www-data has access to:// For changing path in accountreqs$wgConfirmAccountPathAR = $IP . "/images/accountreqs";
// For changing path in accountcreds$wgConfirmAccountPathAC = $IP . "/images/accountcreds"; *ConfirmAccount.config.php Change the directories to those defined in ConfirmAccount.php $wgFileStore['accountreqs']['directory'] : $wgConfirmAccountPathAR, $wgFileStore['accountcreds']['directory'] : $wgConfirmAccountPathAC, * LocalSettings.php:  $wgEnableEmail = true;* $wgEmergencyContact = "mcnair@rice.edu";* $wgPasswordSender = "mcnair@rice.edu";* # User Account Confirmation require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";
$wgSMTP = array(
'auth' => true
);
$wgConfirmAccountContact = 'mcnair@rice.edu';
$wgConfirmAccountContact = 'mcnair@rice.edu'; Other Installation Steps:*cd extensions/*wget https://extdist.wmflabs.org/dist/extensions/ConfirmAccount-REL1_26-d6e2f46.tar.gz* tar -xzf ConfirmAccount-REL1_26-d6e2f46.tar.gz * sudo pear install mail* sudo pear install net_smtp' Updating the Wiki'''
* cd /var/lib/mediawiki/maintenance
* php update.php

Navigation menu