MediaWiki extensions manual
SidebarDonateBox
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
Download
Parameters
  • $wgSidebarDonateBoxContent
Hooks used
  • SkinBuildSidebar
Quarterly downloads 6 (Ranked 164th)
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.

Installation

  • 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 file:
    wfLoadExtension( 'SidebarDonateBox' );
    $wgSidebarDonateBoxContent = "Your PayPal code";
    
  • Yes 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 also

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.