Last modified: 2011-04-11 13:18:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28403, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26403 - hide the fundraising banners for users who already donated
hide the fundraising banners for users who already donated
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-23 09:56 UTC by Amir E. Aharoni
Modified: 2011-04-11 13:18 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2010-12-23 09:56:14 UTC
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.
Comment 1 Ryan Kaldari 2010-12-23 18:59:15 UTC
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.
Comment 2 Ryan Kaldari 2011-01-12 02:34:00 UTC
Part 1 has been completed in r80078. Just need to deploy it, test it, and add the calls to the thank you page.
Comment 3 Ryan Kaldari 2011-01-20 01:49:19 UTC
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"/>
Comment 4 Ryan Kaldari 2011-01-20 01:50:45 UTC
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.
Comment 5 Church of emacs 2011-03-30 13:27:04 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links