Template:Thank You 2018: Difference between revisions

Content deleted Content added
always encode twitter message and include link
also use {{urlencode}} for Facebook shared URL, makes it much clearer
Line 637:
<div class="ty-area ty-share">
<div class="ty-action-wrapper">
<a class="ty-action" href="https://www.facebook.com/sharer.php?u=</html>{{urlencode:https%3A%2F%2Fdonate://donate.wikimedia.org%2F%3Futm_medium%3DSocialMedia%26utm_campaign%3DThankYouPage%26utm_source%3DFacebook/?utm_medium=SocialMedia&utm_campaign=ThankYouPage&utm_source=Facebook}}<html>" title="</html>{{{share-facebook-alt}}}<html>" target="_blank">
<svg class="ty-icon-social ty-icon-social-fb" role="img" aria-labelledby="ty-icon-social-fb" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><title id="ty-icon-social-fb"></html>{{{share-facebook-alt}}}<html></title><path fill="#FFF" d="M18.896 20H1.104C.494 20 0 19.506 0 18.896V1.104C0 .494.494 0 1.104 0h17.792C19.506 0 20 .494 20 1.104v17.792c0 .61-.494 1.104-1.104 1.104zm-4.443 0v-7.72h2.722l.407-3.008h-3.129v-1.92c0-.872.254-1.465 1.566-1.465h1.673V3.194a23.482 23.482 0 0 0-2.438-.118c-2.412 0-4.064 1.402-4.064 3.977v2.218H8.462v3.009h2.728V20h3.263z"/></svg>
</html>{{{share-facebook}}}<html>