Ebrahim has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97507
Change subject: Native digits on 'notification-page-linked-bundle'
......................................................................
Native digits on 'notification-page-linked-bundle'
Change-Id: I2fc95dfe195287a5a0366839c11d267e1ad31db3
---
M formatters/PageLinkFormatter.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/07/97507/1
diff --git a/formatters/PageLinkFormatter.php b/formatters/PageLinkFormatter.php
index 816777b..f87f920 100644
--- a/formatters/PageLinkFormatter.php
+++ b/formatters/PageLinkFormatter.php
@@ -146,11 +146,11 @@
if (
$this->bundleData['link-from-page-other-count'] > $wgEchoMaxNotificationCount )
{
$message->params(
$this->getMessage(
'echo-notification-count' )
- ->params(
$wgEchoMaxNotificationCount )
+ ->numParams(
$wgEchoMaxNotificationCount )
->text()
);
} else {
- $message->params(
$this->bundleData['link-from-page-other-count'] );
+ $message->numParams(
$this->bundleData['link-from-page-other-count'] );
}
break;
--
To view, visit https://gerrit.wikimedia.org/r/97507
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fc95dfe195287a5a0366839c11d267e1ad31db3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Ebrahim <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits