r101700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101699‎ | r101700 | r101701 >
Date:21:24, 2 November 2011
Author:kaldari
Status:ok
Tags:
Comment:
hacking RapidHtml to accept error message via query string if necessary
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_forms/RapidHtml.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/gateway_forms/RapidHtml.php
@@ -88,6 +88,11 @@
8989 $this->loadValidateJs();
9090
9191 $country = $wgRequest->getText( 'country', '' );
 92+ // Get error passed via query string
 93+ $error = $wgRequest->getText( 'error' );
 94+ if ( $error ) {
 95+ $form_errors['general'][] = $error;
 96+ }
9297
9398 if ( $country != '' ){
9499 try{

Follow-up revisions

RevisionCommit summaryAuthorDate
r101746MFT r101074, r101217, r101236, r101382, r101501, r101503, r101504, r101512, r...awjrichards23:23, 2 November 2011

Status & tagging log