Extension:DonateBoxInSidebar

MediaWiki extensions manual
DonateBoxInSidebar
Release status: unmaintained
px
Implementation Skin
Description Adds a PayPal donate button to the sidebar
Author(s) Suriyaa Sundararuban (Suriyaa Kudotalk)
Maintainer(s) Suriyaa Sundararuban
Latest version 1.4 (2020-04-21)
MediaWiki 1.31+
PHP 5.6+
Database changes No
License GNU General Public License 2.0 or later
Download
$onSidebarDonateBoxContent

The DonateBoxInSidebar extension allows an automatic addition of a PayPal donate button or box to a wiki's sidebar. (This extension is a further development of the SidebarDonateBox extension.)

Installation

edit
  • Download and place the file(s) in a directory called DonateBoxInSidebar in your extensions/ folder.
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DonateBoxInSidebar' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Configure if required
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

edit
  1. Add your PayPal button/box code in your LocalSettings.php file using:
$wgDonateBoxInSidebarContent = 'Put your PayPal code here';