Page MenuHomePhabricator

hide the fundraising banners for users who already donated
Closed, ResolvedPublic

Description

A Wikipedia reader who donated in the Fundraising campaign said that he would feel more comfortable if the banners would disappear after he donated, because he feels that he is still being asked for a donation even though he already gave.

It is possible, of course, to close the banner using the [x], but hiding it automatically would be a nice thing to consider.


Version: unspecified
Severity: enhancement

Details

Reference
bz26403

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:14 PM
bzimport set Reference to bz26403.

This is probably doable, but will take a bit of work. First, I'll need to create a Special Page that outputs a cookie-setting image for each of the major projects, similar to AutoLogin, but for banner cookies.

Then I'll need to add the images to the following two pages...
https://secure.wikimedia.org/wikipedia/foundation/wiki/Template:2010/Thankyou
http://wikimediafoundation.org/wiki/Template:2010/Thankyou

Probably won't be able to start on it until January.

Part 1 has been completed in r80078. Just need to deploy it, test it, and add the calls to the thank you page.

This is fixed now, although turned off until the next fundraiser. To activate, just add the following to any donation thank you page:

<img src="http://en.wikipedia.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikipedia.org"/>
<img src="http://meta.wikimedia.org/wiki/Special:HideBanners" width="1" height="1" alt="meta.wikimedia.org"/>
<img src="http://commons.wikimedia.org/wiki/Special:HideBanners" width="1" height="1" alt="commons.wikimedia.org"/>
<img src="http://species.wikimedia.org/wiki/Special:HideBanners" width="1" height="1" alt="species.wikimedia.org"/>
<img src="http://en.wikibooks.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikibooks.org"/>
<img src="http://en.wikiquote.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikiquote.org"/>
<img src="http://en.wikisource.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikisource.org"/>
<img src="http://en.wikinews.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikinews.org"/>
<img src="http://en.wikiversity.org/wiki/Special:HideBanners" width="1" height="1" alt=".wikiversity.org"/>
<img src="http://www.mediawiki.org/wiki/Special:HideBanners" width="1" height="1" alt=".mediawiki.org"/>

Note: This only hides the CentralNotice banners for 2 weeks, since we want to be able to use CentralNotice for other things after the fundraiser is over.

A richer feature would be to distinguish between people who have donated (i.e. a "donated" cookie set) and those who don't. Allow Special:CentralNotice to filter for one of these groups, then every campaign can decide what to show users who have donated. E.g. show a "Thank You" banner or show no banner at all.