Extension:FundraiserLandingPage
FundraiserLandingPage Release status: stable |
|
---|---|
Implementation | Special page |
Description | Enables template parameters to be passed as querystring elements. |
Author(s) | Peter Gehres, Ryan Kaldari |
Latest version | 1.1 (2018-07-13) |
MediaWiki | 1.32 |
License | GNU General Public License 2.0 or later |
Download | |
|
|
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'). |
Translate the FundraiserLandingPage extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
This extension is used for Wikimedia Foundation fundraising at https://donate.wikimedia.org/. It makes it easier to create localized landing pages for multiple countries and languages. The extension enables the fundraising team to switch out appeals and other page elements on-the-fly without the need to create a new set of localized landing pages. In addition to accepting passed parameters, the extension also performs a geographical IP lookup if a country is not specified in the querystring. This allows for the use of this special page in social media links ensuring that they are not tied to a particular country.
Usage
Once installed, users can be directed to http://localhost:8888/wiki/index.php/Special:FundraiserLandingPage?template=templateName&appeal=appeal-name
. This extension will then generate a call to the specified (or default) template and pass the other querystring elements as template parameters.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/FundraiserLandingPage</tvar>|Download]] and move the extracted <tvar name=name>
FundraiserLandingPage
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FundraiserLandingPage - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'FundraiserLandingPage' );
- 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 parameters
$wgFundraiserLPDefaults
- sets the default values for the required parameters
See also
This extension was developed to replicate the functionality of the RapidHTML portion of Extension:DonationInterface on wikis without DonationInterface.
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Special page extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- BeforePageDisplay extensions
- ParserFirstCallInit extensions
- ResourceLoaderGetConfigVars extensions
- All extensions
- Extensions used on Wikimedia
- Fundraising