Support pages: Difference between revisions

Content deleted Content added
improve documentation slightly
extra documentation about TY pages
Line 2:
 
Most pages use the base templates {{tl|Support Page}} and {{tl|Support Page end}} for their main styling and layout. They also load the javascript at [[MediaWiki:SupportPage.js]] (via a hook in [[MediaWiki:Common.js]]).
 
As of April 2020 the English Thank You page uses {{tl|Thank You 2019}} and other languages use {{tl|Thank You 2018}}. Both use the javascript at [[MediaWiki:ThankYouPage.js]].
 
If you have an account here and are [[Special:UserLogin|logged in]], there will be links at the very bottom of each page to edit the current page, edit its template, or view this index. If you spot any issues you can't fix yourself, please file a Phabricator task tagged with [https://phabricator.wikimedia.org/project/view/3499/ #donate.wikimedia.org].
 
See also the [https://collab.wikimedia.org/wiki/Fundraising/Donatewiki_documentation general donatewiki documentation on collab] (private)
 
==Thank You pages==
 
As of April 2020 the English Thank You page uses {{tl|Thank You 2019}} and other languages use {{tl|Thank You 2018}}. Both use the javascript at [[MediaWiki:ThankYouPage.js]].
 
The TY pages have some conditional logic in the javascript. URL parameters <code>country</code>, <code>payment_method</code>, and <code>recurringConversion</code> may be passed which change the display. Examples:
;English page in the US
:https://donate.wikimedia.org/wiki/Thank_You?country=US
:Primary CTA = Matching Gifts, Secondary CTAs = Survey, Store, Endowment
;English page in Canada
:https://donate.wikimedia.org/wiki/Thank_You?country=CA
:Primary CTA = Survey, Secondary CTA = Store
;English page in another country
:https://donate.wikimedia.org/wiki/Thank_You?country=AU
:Primary CTA = Survey, No secondary CTAs
;English page in US, bitcoin payment
:https://donate.wikimedia.org/wiki/Thank_You?country=US&payment_method=bitcoin
:Extra message about receipt time
;French page in France
:https://donate.wikimedia.org/wiki/Thank_You/fr?country=FR
;French page in Canada
:https://donate.wikimedia.org/wiki/Thank_You/fr?country=CA
:Includes Store CTA
 
==Index==
 
{| class="wikitable"