https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102044
Revision: 102044
Author: khorn
Date: 2011-11-04 20:40:15 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
The redirection actually takes place just fine on the outside of this
function... and the failpage string already gets built (with language and
everything) on the inside of the adapter. Trying to redirect in here wasn't
taking us anywhere.
r101576
Also: r102042, because this was fixed in deployment before trunk, for
efficiency reasons.
Modified Paths:
--------------
trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
Modified:
trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
===================================================================
---
trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
2011-11-04 20:38:47 UTC (rev 102043)
+++
trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
2011-11-04 20:40:15 UTC (rev 102044)
@@ -107,10 +107,10 @@
global $wgOut;
$displayData = $this->adapter->getData_Raw();
- $failpage = $this->adapter->getGlobal( 'FailPage' );
+ $failpage = $this->adapter->getFailPage();
if ( $failpage ) {
- $wgOut->redirect( $failpage . "/" .
$displayData['language'] );
+ return $failpage;
} else {
// Get the page we're going to send them back to.
$referrer = $displayData['referrer'];
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs