jenkins-bot has submitted this change and it was merged.
Change subject: MWTimestamp::getHumanTimestamp no longer returns Message but
simple string
......................................................................
MWTimestamp::getHumanTimestamp no longer returns Message but simple string
Change-Id: I8b0693d906a7f3c4e7b42ba66fdf25c507a1e36e
---
M ArticleFeedbackv5.render.php
M ArticleFeedbackv5.utils.php
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Kaldari: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ArticleFeedbackv5.render.php b/ArticleFeedbackv5.render.php
index 44d2a64..9267f82 100644
--- a/ArticleFeedbackv5.render.php
+++ b/ArticleFeedbackv5.render.php
@@ -486,7 +486,7 @@
Html::rawElement(
'span',
array( 'class' =>
'articleFeedbackv5-comment-details-date' ),
-
$timestamp->getHumanTimestamp()->escaped()
+ $timestamp->getHumanTimestamp()
) .
$permalink
);
@@ -1237,7 +1237,7 @@
array( 'class' =>
'articleFeedbackv5-feedback-permalink-status articleFeedbackv5-laststatus-' .
$last->log_action ),
wfMessage(
'articlefeedbackv5-permalink-status-' . $last->log_action )
->rawParams(
ArticleFeedbackv5Utils::getUserLink( $last->log_user, $last->log_user_text ) )
- ->rawParams(
$timestamp->getHumanTimestamp()->escaped() )
+ ->rawParams(
$timestamp->getHumanTimestamp() )
->parse()
)
) .
diff --git a/ArticleFeedbackv5.utils.php b/ArticleFeedbackv5.utils.php
index b17dbbe..d41e471 100644
--- a/ArticleFeedbackv5.utils.php
+++ b/ArticleFeedbackv5.utils.php
@@ -257,7 +257,7 @@
// articlefeedbackv5-mask-text-inappropriate
return wfMessage( 'articlefeedbackv5-mask-text-' . $type )
->params( static::formatId( $feedbackId ), $username )
- ->rawParams( $timestamp->getHumanTimestamp()->escaped()
)
+ ->rawParams( $timestamp->getHumanTimestamp() )
->escaped();
}
--
To view, visit https://gerrit.wikimedia.org/r/60419
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8b0693d906a7f3c4e7b42ba66fdf25c507a1e36e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits