Page MenuHomePhabricator

PHP error "Invalid special page name """ trying to donate on WMF Global support page
Closed, ResolvedPublic

Description

Author: kobylin.a.a

Description:

  1. Go to http://wikimediafoundation.org/wiki/Global_Support/en
  2. Select any money amount
  3. Click "Donate by credit card" button

You will go to page https://payments.wikimedia.org/index.php/Special:PayflowProGateway?uselang=en with error

Invalid special page name ""

Backtrace:

#0 /srv/www/org/wikimedia/payments/includes/Title.php(2051): SpecialPage::getTitleFor(NULL)
#1 /srv/www/org/wikimedia/payments/includes/Title.php(2136): Title->checkReadPermissions('read', Object(User), Array, true, false)
#2 /srv/www/org/wikimedia/payments/includes/Title.php(1597): Title->getUserPermissionsErrorsInternal('read', Object(User), true)
#3 /srv/www/org/wikimedia/payments/includes/Wiki.php(176): Title->getUserPermissionsErrors('read', Object(User))
#4 /srv/www/org/wikimedia/payments/includes/Wiki.php(603): MediaWiki->performRequest()
#5 /srv/www/org/wikimedia/payments/includes/Wiki.php(513): MediaWiki->main()
#6 /srv/www/org/wikimedia/payments/index.php(58): MediaWiki->run()
#7 {main}


Version: wmf-deployment
Severity: major
OS: Linux
URL: http://wikimediafoundation.org/wiki/Global_Support/en

Details

Reference
bz42390

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:54 AM
bzimport set Reference to bz42390.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this! Confirming the problem.

In case you remember: How did you get to that page / where was it linked from?

In case you are interested in making a donation, please use
https://donate.wikimedia.org/ instead. Thanks for your help!

The whole page looks outdated, e.g. stating that there are 27 chapters while the link lists 39, and for "one of the top 5 most visited websites in the world, we employ fewer than 30 people." both isn't true either nowadays.
Embedded template seems to be from 2009. Choosing the amount of "100 [1]" USD doesn't work either: "You must enter a valid amount". Plus no idea what the [1] means here.
Looking at http://wikimediafoundation.org/wiki/Special:WhatLinksHere/Global_Support/en there don't seem to be many pages linking to it.

Maybe this site should just be removed.

public function __construct() {

		$this->adapter = new PayflowProAdapter();
		parent::__construct(); //the next layer up will know who we are.

}

...

public function __construct() {

		$me = get_called_class();
		parent::__construct( $me );

}

pgehres wrote:

That is indeed a VERY old page from 2009 or before. I have gone ahead and redirected the page to donatewiki. The error mentioned above was caused by us disabling PayFlowPro as a payment gateway before the 2011 fundraiser.

kobylin.a.a wrote:

Yes, I was looking for making donation page.
I get to this page via Russian wiki http://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0

Link "Сбор средств" at the bottom.
But now all looks working!

Thanks guys :)