r58544 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58543‎ | r58544 | r58545 >
Date:14:27, 4 November 2009
Author:tomasz
Status:ok
Tags:
Comment:
removing js validation temporarily as its busted. hard coding payment server for correct redirect. will move onto var a bit later
Modified paths:
  • /trunk/extensions/DonationInterface/donate_interface/donate_interface.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php
@@ -88,7 +88,7 @@
8989 function pfpGatewayPage( &$url ) {
9090 global $wgScript;
9191
92 - $url['payflow'] = $wgScript . '?title=Special:PayflowProGateway';
 92+ $url['payflow'] = 'https://payments.wikimedia.org/index.php' . '?title=Special:PayflowProGateway';
9393
9494 return true;
9595 }
Index: trunk/extensions/DonationInterface/donate_interface/donate_interface.php
@@ -131,7 +131,7 @@
132132 $currencyMenu .= Xml::option( $fullName, $value );
133133 }
134134
135 - $output = Xml::openElement( 'form', array( 'name' => "donate", 'method' => "post", 'action' => "", 'onsubmit' => 'return DonateValidateForm(this)' )) .
 135+ $output = Xml::openElement( 'form', array( 'name' => "donate", 'method' => "post", 'action' => "", 'onsubmit' => '' )) .
136136 Xml::openElement( 'div', array('id' => 'mw-donation-intro' )) .
137137 Xml::element( 'p', array( 'class' => 'mw-donation-intro-text' ), wfMsg( 'donate_interface-intro' )) .
138138 Xml::closeElement( 'div' );

Status & tagging log