Page MenuHomePhabricator

Fundraising-related Special pages need header and footer messages
Closed, ResolvedPublic

Description

http://wikimediafoundation.org/wiki/Special:FundraiserStatistics
http://wikimediafoundation.org/wiki/Special:ContributionStatistics
http://wikimediafoundation.org/wiki/Special:ContributionTrackingStatistics

None of these Special pages have header or footer messages, making modification of them difficult. I want to be able to add a navigation template to the pages so that it's possible to click from one page to another.


Version: unspecified
Severity: enhancement

Details

Reference
bz25430

Event Timeline

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

sumanah wrote:

"This is a really easy bug to knock out - great for a quick fix by a vet or a really gentle introduction to MediaWiki hacking. It simply requires adding some internationalisation messages (which could be empty) that get loaded in the appropriate place on the page, which can then be overridden on-wiki." -- Arthur Richards

david_baumgarten wrote:

Patch with a separate header and footer message for each page

Attached:

david_baumgarten wrote:

Patch with only two messages which are loades on each page

Attached:

david_baumgarten wrote:

Hello,
I'm new to MediaWiki hacking, so i hope that this patch is OK.
I wasn't quite sure if you want for each page a separate header and footer or one header and footer for all three pages so I've made both options.
sixmessages.patch is the patch where each page has it's own header and footer internationalization
message.
twomessages.patch is the patch with two internationalization messages which are loaded in the appropriate place on each page.

sumanah wrote:

David, thanks for the patch! I'm finding a reviewer to look at your work as soon as possible. In the meantime, please check out https://www.mediawiki.org/wiki/Annoying_little_bugs and try to fix more! :-)

This was deployed to wikimediafoundation.org on 10 November. David, thanks very much for the patch and helping us close this pesky issue!

David,

Just wanted to let you know your patch proved to be invaluable tonight. We are currently experiencing technical problems with post-processing of donation information into our tracking system. This means that our fundraiser statistics graph (https://wikimediafoundation.org/wiki/Special:FundraiserStatistics) is not currently being actively updated.

Thanks to your patch, we were able to easily add a notification to the top of the page alerting the many viewers of that graph that it will not be up-to-date until the issue gets resolved.

So, many thanks to you for your incredibly valuable contribution :)

Arthur Richards
Fundraiser engineering lead