Extension:SidebarDonateBox

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
SidebarDonateBox

Release status:Extension status unmaintained

px
ImplementationTemplate:Extension#type Skin
DescriptionTemplate:Extension#description Adds a PayPal donate button to the sidebar
Author(s)Template:Extension#username Daniel Friesen (Dantmantalk)
Latest versionTemplate:Extension#version 1.1a (2010-07-02)
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ExampleTemplate:Extension#example wikiapiary.com
ParametersTemplate:Extension#parameters

$egSidebarDonateBoxContent

Hooks usedTemplate:Extension#hook
SkinBuildSidebarManual:Hooks/SkinBuildSidebar

Translate the SidebarDonateBox extension if it is available at translatewiki.net

Check usage and version matrix.

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

Installation[edit]

  1. Download the extension.
  2. Unpack the files to extensions/SidebarDonateBox.
  3. Add
    require_once("$IP/extensions/SidebarDonateBox/SidebarDonateBox.php");
    
    to your LocalSettings.php file.
  4. Add your PayPal button/box code in your LocalSettings.php file using $egSidebarDonateBoxContent = 'PayPal code';.
  5. Verify installation via Special:Version.