[MediaWiki-commits] [Gerrit] Replace call to old wfMsg function - change (mediawiki...DonationInterface)

2015-10-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Replace call to old wfMsg function
..


Replace call to old wfMsg function

This was deprecated in MW 1.18.

Change-Id: If07830d5743f6886098891c11889682dbc95caf4
---
M gateway_common/GatewayPage.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Awight: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/gateway_common/GatewayPage.php b/gateway_common/GatewayPage.php
index 69cf4a5..e0b7484 100644
--- a/gateway_common/GatewayPage.php
+++ b/gateway_common/GatewayPage.php
@@ -373,8 +373,8 @@
$f_message = 'No active donation in the session';
}
 
-   if ( $forbidden ){
-   wfHttpError( 403, 'Forbidden', wfMsg( 
'donate_interface-error-http-403' ) );
+   if ( $forbidden ) {
+   wfHttpError( 403, 'Forbidden', wfMessage( 
'donate_interface-error-http-403' )->text() );
}
$oid = $this->adapter->getData_Unstaged_Escaped( 'order_id' );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/247096
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If07830d5743f6886098891c11889682dbc95caf4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Alex Monk 
Gerrit-Reviewer: AndyRussG 
Gerrit-Reviewer: Awight 
Gerrit-Reviewer: Cdentinger 
Gerrit-Reviewer: Ejegg 
Gerrit-Reviewer: Ssmith 
Gerrit-Reviewer: XenoRyet 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Replace call to old wfMsg function - change (mediawiki...DonationInterface)

2015-10-18 Thread Alex Monk (Code Review)
Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247096

Change subject: Replace call to old wfMsg function
..

Replace call to old wfMsg function

This was deprecated in MW 1.18.

Change-Id: If07830d5743f6886098891c11889682dbc95caf4
---
M gateway_common/GatewayPage.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/96/247096/1

diff --git a/gateway_common/GatewayPage.php b/gateway_common/GatewayPage.php
index 69cf4a5..e0b7484 100644
--- a/gateway_common/GatewayPage.php
+++ b/gateway_common/GatewayPage.php
@@ -373,8 +373,8 @@
$f_message = 'No active donation in the session';
}
 
-   if ( $forbidden ){
-   wfHttpError( 403, 'Forbidden', wfMsg( 
'donate_interface-error-http-403' ) );
+   if ( $forbidden ) {
+   wfHttpError( 403, 'Forbidden', wfMessage( 
'donate_interface-error-http-403' )->text() );
}
$oid = $this->adapter->getData_Unstaged_Escaped( 'order_id' );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/247096
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If07830d5743f6886098891c11889682dbc95caf4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Alex Monk 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits