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

2015-10-19 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.

Bug: T70750
Change-Id: If15f70024d03c3010823411f668fa34b1839d775
---
M includes/pages/TranslatePage.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/includes/pages/TranslatePage.php b/includes/pages/TranslatePage.php
index 89e4d20..93867d5 100644
--- a/includes/pages/TranslatePage.php
+++ b/includes/pages/TranslatePage.php
@@ -126,7 +126,7 @@
if ( $wgSecurePollUseNamespace ) {
$s .=
'' .
-   wfMsgHtml( 
'securepoll-translate-label-comment' ) .
+   wfMessage( 
'securepoll-translate-label-comment' )->escaped() .
Xml::input( 'comment', 45, false, 
array( 'maxlength' => 250 ) )  .
"";
}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If15f70024d03c3010823411f668fa34b1839d775
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Alex Monk 
Gerrit-Reviewer: Chad 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: Reedy 
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...SecurePoll)

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

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

Change subject: Replace call to old wfMsg function
..

Replace call to old wfMsg function

This was deprecated in MW 1.18.

Change-Id: If15f70024d03c3010823411f668fa34b1839d775
---
M includes/pages/TranslatePage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecurePoll 
refs/changes/98/247098/1

diff --git a/includes/pages/TranslatePage.php b/includes/pages/TranslatePage.php
index 89e4d20..24045de 100644
--- a/includes/pages/TranslatePage.php
+++ b/includes/pages/TranslatePage.php
@@ -126,7 +126,7 @@
if ( $wgSecurePollUseNamespace ) {
$s .=
'' .
-   wfMsgHtml( 
'securepoll-translate-label-comment' ) .
+   wfMessage( 
'securepoll-translate-label-comment' )->text() .
Xml::input( 'comment', 45, false, 
array( 'maxlength' => 250 ) )  .
"";
}

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

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

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