Extension:DonateBoxInSidebar
From Linux Web Expert
This extension is incompatible with MediaWiki 1.39 or any later release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.41 by replacing the {{Incompatible }} template with {{Incompatible |version=1.39|pledge=~~~~}} . |
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> |
DonateBoxInSidebar Release status: unmaintained |
|
---|---|
px | |
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:
<translate> Note:</translate> |
$onSidebarDonateBoxContent |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>
DonateBoxInSidebar
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Only when installing from Git, run <tvar name=composer>Composer</tvar> to install PHP dependencies, by issuing <tvar name=code>
composer install --no-dev
</tvar> in the extension directory.</translate> <translate> (See <tvar name=phab><translate> task <tvar name=1>T173141</tvar></translate></tvar> for potential complications.)</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'DonateBoxInSidebar' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- Configure if required
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
- Add your PayPal button/box code in your LocalSettings.php file using:
$wgDonateBoxInSidebarContent = 'Put your PayPal code here';
File:OOjs UI icon information-progressive.svg | This extension was migrated from git.suriyaa.tk code and checked into a GitHub software repository. |
Categories:
- Pages with script errors
- Pages with broken file links
- Extensions incompatible with 1.39
- Unmaintained extensions
- Skin extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in GitHub version control
- SkinBuildSidebar extensions
- LocalisationCacheRecache extensions
- All extensions
- Extensions not in ExtensionJson
- Info templates
- Extension creation
- Categorizing templates
- PayPal extensions
- Extensions supporting fundraising and donations