r60071 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60070‎ | r60071 | r60072 >
Date:09:59, 15 December 2009
Author:tomasz
Status:ok
Tags:
Comment:
picking up r60069, r60070
Modified paths:
  • /branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway (modified) (history)
  • /branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -175,7 +175,7 @@
176176 require_once( 'includes/stateAbbreviations.inc' );
177177 require_once( 'includes/countryCodes.inc' );
178178
179 - global $wgOut, $wgLang;
 179+ global $wgOut, $wgLang, $wgWikipediaForeverTheme;
180180
181181 // save contrib tracking id early to track abondonment
182182 if ( $data[ 'numAttempt' ] == 0 ) {
@@ -259,7 +259,7 @@
260260 }
261261
262262 // intro text
263 - if ( $wgWikipediForeverTheme ) {
 263+ if ( $wgWikipediaForeverTheme ) {
264264 $wgOut->addWikiText( '{{2009/Donate-header/' . $data[language] . '}}' );
265265 }
266266
@@ -766,7 +766,7 @@
767767 function fnPayflowDisplayApprovedResults( $data, $responseArray, $responseMsg ) {
768768 require_once( 'includes/countryCodes.inc' );
769769
770 - global $wgOut, $wgThankYouPage;
 770+ global $wgOut, $wgExternalThankYouPage;
771771 $transaction = '';
772772 $tracked = '';
773773
@@ -784,8 +784,8 @@
785785 // hook to call stomp functions
786786 wfRunHooks( 'gwStomp', array( &$transaction ) );
787787
788 - if ( $wgExternalThankYou ) {
789 - $wgOut->redirect( $wgThankYouPage . $data[language] );
 788+ if ( $wgExternalThankYouPage ) {
 789+ $wgOut->redirect( $wgExternalThankYouPage . "/" . $data[language] );
790790 } else {
791791 // display response message
792792 $wgOut->addHTML( '<h3 class="response_message">' . $responseMsg . '</h3>' );
Property changes on: branches/wmf-deployment/extensions/DonationInterface/payflowpro_gateway
___________________________________________________________________
Name: svn:mergeinfo
793793 - /branches/REL1_15/phase3/extensions/DonationInterface/payflowpro_gateway:51646
/trunk/extensions/DonationInterface/payflowpro_gateway:56207,56209,56296,56333,56355,58523-59861,60048-60050
/trunk/phase3/extensions/DonationInterface/payflowpro_gateway:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816
794794 + /branches/REL1_15/phase3/extensions/DonationInterface/payflowpro_gateway:51646
/trunk/extensions/DonationInterface/payflowpro_gateway:56207,56209,56296,56333,56355,58523-59861,60048-60050,60069-60070
/trunk/phase3/extensions/DonationInterface/payflowpro_gateway:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60069Adding missing global. Fixing spellingtomasz09:34, 15 December 2009
r60070syncing up global nametomasz09:47, 15 December 2009

Status & tagging log