jdalt / ose-specialpage-extension

A MediaWiki extension built to accept microfunding donations for Open Source Ecology.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#TrueFans# This extension is to be used for Open Source Ecology's True Fans microfunding platform. This code is tested on a LAMP stack development environment running MediaWiki 1.20 but should work on later MediaWiki environments and in other hosting operating systems. This extension assumes (but doesn't functionally require) the installation of the OpenId exenstion.

##Installing the Environment## In your server os of choice you will need to install Apache, MySQL, and PhP. For Ubuntu systems - sudo taskel install lamp-server - works quite nicely (you may need to install 'tasksel' if you're running desktop Ubuntu).

Next you'll need to download MediaWiki 1.20. You can follow the distribution specific installation guide or the [general](http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki general) installation to get everything up and running.

Next add any extensions you want to your installation. I suggest installing the OpenId extension, you can download it here. Be sure to read the OpenId installation instructions (basically you'll need to run 'make', add the extension to LocalSettings.php, and then run the update.php maintenance script).

##Installing TrueFans## To use the TrueFans extension clone this git project in the '/extensions' directory of MediaWiki. The project should be in the directory TrueFans (git clone will probably create a folder based on the projects github name--change it to TrueFans).

Add the following lines to LocalSettings.php:

	require_once( "$IP/extensions/TrueFans/TrueFans.php" );
	$wgDebugLogFile = "$IP/logs/debug_log.log";
	$wgDebugLogGroups = array(
		'TrueFans'     => "$IP/extensions/TrueFans/logs/true_fans.log",
	);

Then navigate to your wiki /maintenance directory and run 'php update.php' to create the necessary database tables.

About

A MediaWiki extension built to accept microfunding donations for Open Source Ecology.


Languages

Language:PHP 87.5%Language:JavaScript 12.5%