MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: unmaintained
Implementation Tag
Description Adds <donationform> tag to support donations via PayPal
Author(s) Brion Vibber (Brion VIBBERtalk)
MediaWiki 1.11+
Database changes No
License GPLv2+
Download Template:WikimediaDownload/svn
Translate the MiniDonation extension if it is available at translatewiki.net
Check usage and version matrix.

The 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.

"Special:Version" says the tag is <donateform> but it is, in fact, <donationform>


  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MiniDonation/MiniDonation.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


If you want to completely change the form then:

  1. Edit MiniDonation.php
  2. Get rid of everything between return <<<EOT and EOT;
  3. 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.