Extension:DonateBoxInSidebar

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎norsk bokmål • ‎português • ‎русский • ‎हिन्दी • ‎தமிழ் • ‎සිංහල • ‎中文 • ‎日本語 • ‎한국어
MediaWiki extensions manual
OOjs UI icon advanced.svg
DonateBoxInSidebar
Release status: beta
px
Implementation Skin
Description Adds a PayPal donate button to the sidebar
Author(s) Suriyaa Sundararuban (Suriyaa Kudotalk)
Maintainer(s) iSC Inc.
Latest version 1.3-beta (2018-03-08)
MediaWiki 1.29+
PHP 5.6+
Database changes No
License GNU General Public License 2.0 or later
Download
$egSidebarDonateBoxContent
Translate the DonateBoxInSidebar extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation[edit]

  • Download, extract and place the file(s) in a directory called DonateBoxInSidebar in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/DonateBoxInSidebar/DonateBoxInSidebar.php";
    
  • Configure if required
  • Yes 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';