Extension:MiniDonation
From MediaWiki.org
|
MiniDonation Release status: stable |
|
|---|---|
| Implementation | Tag |
| Description | Adds <donationform> tag to support donations via PayPal |
| Author(s) | Brion Vibber |
| MediaWiki | 1.11+ |
| License | No license specified |
| Download |
SVN [?]:
|
| Check usage and version matrix | |
MiniDonation extension adds <donationform> parser hook which can be used to display a PayPal donation form on a page. It's Wikimedia-specific so you need to edit the MiniDonation.php file to make the extension suit your needs.
Note: Special:Version says the tag is <donateform;> but it is, in fact, <donationform> (a bug in MiniDonation.i18n.php )
Installation [edit]
- Download the files from SVN
- Add
to your wiki's LocalSettings.phprequire_once("$IP/extensions/MiniDonation/MiniDonation.php");
- Installation can now be verified through Special:Version
Use [edit]
If you want to completely change the form then:
- Edit MiniDonation.php
- Get rid of everything between return <<<EOT and EOT;
- Replace it with your HTML (e.g. the HTML from paypal.com when you create a button there)
If you use <donationform> and nothing appears after the donation form on your page, then use <donationform/> instead.
