Die Pflege der MediaWiki-Erweiterung DonateButton wird von WikiMANNia verwaltet.
The maintenance of the MediaWiki extension DonateButton is managed by WikiMANNia.
El mantenimiento de la extensión de MediaWiki DonateButton está gestionado por WikiMANNia.
Fügt einen Spenden-Knopf der Navigationsleiste hinzu.
Adds a Donation Button into the sidebar.
Enable the DonateButton. Default is false.
$wgDonateButton = true;
Specify the link to a donation page.
$wgDonateButtonURL = "https://yourdomain.org/yourdonationpage.php?lang=";
The link is automatically completed by the code of the language selected by the user or alternatively by the wgLanguageCode variable.
The extension is localized for the languages "de", "en", "es", "fr", "he", "it", "nl", "pt", and "ru".
Currently, this extension supports the skins Cologne Blue, Modern, MonoBook, Timeless, and Vector.
Further skins may require additional adjustments, which would have to be made in resources/css/myskin.css.
For support of skin Minerva the link to the donation page has to be placed direct into the wiki page MediaWiki:sitesupport-url.
Alternatively you may modify this extension and expand the i18n/en.json file with an entry like
"sitesupport-url": "https://yourdomain.org/donationpage.php?lang=en"or"sitesupport-url": "https://yourdomain.org/en/donationpage.php"
This extension works from REL1_35 and has been tested up to MediaWiki versions 1.35.14, 1.39.17, 1.41.2, 1.42.3, 1.43.6, 1.44.2, and 1.45.1.
1.0.0
- First public release
1.1.1
- Support added for language "pt".
- Global variable
wgDonateButtonFilenameremoved, now the images in the folderresources/imageswill be accessed. - Global variable
wgDonateButtonLangArrayadded. The array contains supported languages, konkret sind damit die verfügbaren Bilder für die Buttons gemeint. - If no image is available for the Button, the english image will be used instead.
- Support added for MediaWiki REL1_37.
- Support added for Skin "minerva"
- Renamed "CologneBlue.css" into "Cologneblue.css" and "MonoBook.css" into "Monobook.css"
1.2.0
- Global variable
wgDonateButtonURLadded. Set the link to a custom donation page. - Global variable
wgDonateButtonEnabledPaypaladded. If this variable is set to "true", then it will be linked to the Paypal page and the variablewgDonateButtonURLignored.
1.3.0
- Support for MediaWiki REL1_37+ improved.
- Support added for Skin "timeless", "fallback", and "vector-2022".
1.3.1
- A customised skin may be used.
1.4.0
- Support for REL1_35+ added.
1.5.0
- Changed "configuration schema", replaced manifest version 1 with version 2 and changed the prefix of the configuration variables from default to
wm. - Replaced class “DonateButtonHooks” extending class “Hooks” with class implementing interfaces.
1.5.1
- Dirty hack for skin Timeless.
1.5.2
MediaWiki\Config\ConfigFactory::getDefaultInstance->MediaWikiServices::getInstance()->getConfigFactory()- Remove dead code.
1.6.0
- Support for skin Monaco.
- Support for "he" added.
1.6.1
- Handling global variables with ConfigRegistry and MediaWikiServices
- Changed the prefix of the configuration variables back to
wg.
1.7.0
- Support added for Skin Citizen.
1.8.0
- Added compatibility to MediaWiki v1.44.
- Refactoring "Paypal": Add Paypal-Form with global variables
DonateButtonPaypalIdandDonateButtonPaypalUrl.
1.9.0
- Refactoring classes, namespace and backward compatibility.