Restoring this site

This how-to assumes your using Apache & mySQL.

Install needed dependency
yum install apache mysql-server

Setting up the Math Plugin
The math plugin requires a few programs before you may use it. yum install dvipng dvipng tex-preview

Rebuilding the Math Plugin
If you need to rebuild texvc, you will need to install the following: yum install ocaml gcc Then go into the plugin's folder and run: cd extensions/Math/math make

Configuring the Server
 ServerName wiki.mattrude.com CustomLog logs/wiki.mattrude.com.access_log combined ErrorLog logs/wiki.mattrude.com.error_log DocumentRoot /var/www/wiki.mattrude.com Redirect permanent /index.php http://wiki.mattrude.com       Alias /google56b8b97126d914ee.html  /var/www/wiki.mattrude.com/google56b8b97126d914ee.html Alias /sitemap.xml      /var/www/wiki.mattrude.com/sitemaps/sitemap-index-wiki.xml Alias /sitemaps         /var/www/wiki.mattrude.com/sitemaps Alias /images           /var/www/wiki.mattrude.com/images Alias /skins            /var/www/wiki.mattrude.com/skins Alias /robots.txt       /var/www/wiki.mattrude.com/robots.txt Alias /favicon.ico      /var/www/wiki.mattrude.com/favicon.ico Alias /index.php        /var/www/wiki.mattrude.com/index.php Alias /load.php         /var/www/wiki.mattrude.com/load.php/ Alias /                 /var/www/wiki.mattrude.com/index.php/   AllowOverride None AddType text/plain .html .htm .shtml .php php_admin_flag engine off       ExpiresActive On      ExpiresDefault "access plus 2 month" ExpiresByType text/html "access plus 1 day" ExpiresByType text/css "access plus 2 month" ExpiresByType image/gif "access plus 2 month" ExpiresByType image/jpg "access plus 2 month" ExpiresByType image/jpeg "access plus 2 month" ExpiresByType image/png "access plus 2 month" ExpiresByType image/ico "access plus 2 month" ExpiresByType image/vnd.microsoft.icon "access plus 2 month" ExpiresByType text/javascript "access plus 2 month" ExpiresByType application/x-javascript "access plus 2 month"  
 * In /etc/httpd/conf/httpd.conf:

Vector
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Vector.git
 * http://www.mediawiki.org/wiki/Extension:Vector

Google Analytics Extension

 * http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration

Google AdSense Extension

 * http://paulgu.com/wiki/Google_AdSense

Open Search XML
OpenSearch adds the possibility to have search suggestions in OpenSearch XML format git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/OpenSearchXml.git
 * http://www.mediawiki.org/wiki/Extension:OpenSearchXml

Poem
The Poem extension makes a text a separate paragraph, with after every line, i.e., it suppresses reformatting of a single newline to a blank space.
 * http://www.mediawiki.org/wiki/Extension:Poem

SyntaxHighlight GeSHi
This extension adds the &lt;syntaxhighlight&gt; tag to present formatted source code.
 * http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

Confirm Edit
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); //require_once( "$IP/extensions/ConfirmEdit/ReCaptcha.php"); $wgCaptchaClass = 'SimpleCaptcha'; $wgCaptchaTriggers['edit']         = true; $wgCaptchaTriggers['create']       = true; $wgCaptchaTriggers['addurl']       = true; $wgCaptchaTriggers['createaccount'] = true; $wgCaptchaTriggers['badlogin']     = true; $wgGroupPermissions['*'           ]['skipcaptcha'] = false; $wgGroupPermissions['user'        ]['skipcaptcha'] = true; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true; $wgGroupPermissions['bot'         ]['skipcaptcha'] = true; // registered bots $wgGroupPermissions['sysop'       ]['skipcaptcha'] = true;
 * http://www.mediawiki.org/wiki/Extension:ConfirmEdit
 * 1) Confirm Edit ###
 * 2) http://www.mediawiki.org/wiki/Extension:ConfirmEdit
 * 1) $wgCaptchaClass = 'ReCaptcha';
 * 2) $wgReCaptchaPublicKey = 'Public Key Goes Here';
 * 3) $wgReCaptchaPrivateKey = 'Private Key Goes Here';

Cite
Cite adds &lt;ref[ name=id]&gt; and &lt;references/&gt; tags, for citations require( "extensions/Cite/Cite.php" ); require_once("$IP/extensions/Cite/SpecialCite.php");
 * http://www.mediawiki.org/wiki/Extension:Cite/Cite.php

SpamBlacklist
Not Used at this time $wgSpamBlacklistFiles = array(   "http://meta.wikimedia.org/wiki/Spam_blacklist",    "http://en.wikipedia.org/wiki/MediaWiki:Spam-blacklist" );
 * http://www.mediawiki.org/wiki/Extension:SpamBlacklist
 * 1) require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );

SyntaxHighlight GeSHi
This extension adds the &lt;syntaxhighlight&gt; tag to present formatted source code. require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");
 * http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

User Merge and Delete
require_once( "$IP/extensions/UserMerge/UserMerge.php" ); $wgGroupPermissions['bureaucrat']['usermerge'] = true;
 * http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete

OggHandler
require( "$IP/extensions/OggHandler/OggHandler.php" ); $wgOggThumbLocation = '/usr/local/bin/oggThumb';
 * http://www.mediawiki.org/wiki/Extension:OggHandler
 * 1) $wgFFmpegLocation = '/usr/bin/ffmpeg';

WikiEditor
WikiEditor is an extendable framework with a set of feature-based modules that improve the user experience of editing. git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/WikiEditor.git
 * http://www.mediawiki.org/wiki/Extension:WikiEditor