MediaWiki extensions manual
Release status: unmaintained
Implementation Skin
Description Adds a PayPal donate button to the sidebar
Author(s) Daniel Friesen (Dantmantalk)
Latest version 1.2.0 (2020-04-24)
MediaWiki 1.29+
License GNU General Public License 2.0 or later
  • $wgSidebarDonateBoxContent
Quarterly downloads 3 (Ranked 175th)
Translate the SidebarDonateBox extension if it is available at translatewiki.net

The SidebarDonateBox extension allows an automatic addition of a PayPal donate button or box to a wikis sidebar.


  • Download and place the file(s) in a directory called SidebarDonateBox in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'SidebarDonateBox' );
    $wgSidebarDonateBoxContent = "Your PayPal code";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.34 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.34 and earlier), instead of wfLoadExtension( 'SidebarDonateBox' );, you need to use:

require_once "$IP/extensions/SidebarDonateBox/SidebarDonateBox.php";

See alsoEdit