SidebarDonateBox

From Wiki-Tools

Jump to: navigation, search
edit infoboxSidebarDonateBox
Release status: Stable
Author: Dantman
Description: Allows for a donation button to be added to the sidebar.
Version: 1.1
License: GPLv2+
MediaWiki Version: 1.14
Stable: SVN (View Repo)

Download snapshot

Alpha: SVN (View Repo)

Download snapshot

Demo: http://dev.wiki-tools.com

SidebarDonateBox allows a donate button (PayPal or otherwise) to be placed inside of the sidebar.

[edit] Install

To download the extension you can use one of three methods:

  • You can checkout the extension from subversion using:
svn checkout svn://svn.nadir-point.com/mediawiki-extensions/branches/stable/SidebarDonateBox/ extensions/SidebarDonateBox
  • Or you can checkout the entire repo of Wiki-Tools extensions into a nice wiki-tools directory which lets you put Wikimedia extensions in the extensions/ folder without the two SVN repos colliding:
svn checkout svn://svn.nadir-point.com/mediawiki-extensions/branches/stable/ extensions/wiki-tools/

To install the extension include one of the following lines into your LocalSettings.php depending on where you installed the extension:

require_once( "$IP/extensions/SidebarDonateBox/SidebarDonateBox.php" );
require_once( "$IP/extensions/wiki-tools/SidebarDonateBox/SidebarDonateBox.php" );

[edit] Configure

The HTML content of the donate button should be placed inside of the $egSidebarDonateBoxContent variable.

You may also customize the location of the donate button in the sidebar by using '* DONATE' in the spot you want it to be placed.

Personal tools
Nadir Point Network