Extension:DonateBoxInSidebar
![]() Release status: stable |
|
---|---|
![]() |
|
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 | GitHub: Note: |
$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 yourextensions/
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
: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.
To users running MediaWiki 1.25 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.25 and earlier), instead of wfLoadExtension( 'DonateBoxInSidebar' );
, you need to use:
require_once "$IP/extensions/DonateBoxInSidebar/DonateBoxInSidebar.php";
Configuration[edit]
- Add your PayPal button/box code in your LocalSettings.php file using:
$wgDonateBoxInSidebarContent = 'Put your PayPal code here';
![]() | This extension was migrated from git.suriyaa.tk code and checked into a GitHub software repository. |
Categories:
- Stable extensions
- Skin extensions
- GPL licensed extensions
- Extensions in GitHub version control
- SkinBuildSidebar extensions
- LocalisationCacheRecache extensions
- All extensions
- Extensions requiring Composer with git
- Info templates
- Extension creation
- Categorizing templates
- PayPal extensions
- Extensions supporting fundraising and donations