Changes

Jump to navigation Jump to search
[[category:Internal]][[categoryCategory:McNair Admin]]
=Old Notes (from Alex Jiang)=
== Back to Google Analytics (3/23/2016) ==
We made a new Google Analytics account! admin@mcnaircenter.org 9millionamount
I'm going to go ahead and test the Google Analytics integration extension on the [[Test Web Server Documentation#Installing Google Analytics (3/23/2016)|test web server]].
==User Access 6/15/2016 ==
'''Objective'''
We would like to control the way the wiki is viewed and edited in the following ways:
Accounts are to be vetted before they are created. We would like to have a queue of account creation requests, that must be approved before they can be created, given that we allow users to edit public wiki pages.* Who can readHelpful Material:** Everyone[https://www.mediawiki.org/wiki/Extension:ConfirmAccount Mediawiki Documentation ]* Who can edit* mcnair@rice.edu -account that will approve account creation. Steps Followed:'''Package Installation Steps:'''*cd extensions/* wget https://extdist.wmflabs.org/dist/extensions/ConfirmAccount-REL1_26-d6e2f46.tar.gz* Public pagestar -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:* Anyone with an accountConfirmAccount.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, * Internal pagesLocalSettings.php:  $wgEnableEmail = true; $wgEmergencyContact = "mcnair@rice.edu"; $wgPasswordSender = "mcnair@rice.edu"; # User Account Confirmation require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php"; $wgSMTP = array( 'host' => 'ssl://smtp.mail.rice.edu', 'IDHost' => '128.42.44.22', 'port' => 465, 'username' => 'mcnair@rice.edu', 'password' => '********McNair Staff*', 'auth' => true); $wgConfirmAccountContact = 'mcnair@rice.edu'; ''' Updating the Wiki'''* cd /var/lib/mediawiki/maintenance* php update.php [[admin_classification::IT Build| ]]
* Creating Accounts== Mediawiki extensions == == Semantic Mediawiki Extensions ==Accounts are The SMW extension installation process requires a composer.phar to be vetted before they installed. All further installations to SMW are createddone through the composer.phar. ==== Installing Mediawiki Composer.phar ====Here is the mediawiki link: [https://getcomposer. We would like to have a queue of account creation requests, that must be approved before they can be created, given that we allow users to edit public wiki pagesorg/doc/00-intro.md#installation-nix] ==== Installing Extension : Semantic Results Formats ====** Helpful MaterialHere is the link to the installation process :*Here is the command to be run in the Mediawiki root folder (var/lib/mediawiki) php composer.phar require --update-no-dev mediawiki/semantic-result-formats "2.** [" ==Using Google Analytics== Got to: https://wwwanalytics.mediawikigoogle.com/ Log in with admin@mcnaircenter.org/wiki/Extension To do:ConfirmAccount Mediawiki Documentation ]*Check base analytics configuration*Check integration with Google Search*Install appropriate APIs

Navigation menu