Bsitu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/141090
Change subject: Topic creator is not revision creator
......................................................................
Topic creator is not revision creator
Change-Id: Iad8f6e81e01c711f05fdb7015df35df40c1cfb04
---
M includes/TemplateHelper.php
M modules/new/flow-handlebars.js
2 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/90/141090/1
diff --git a/includes/TemplateHelper.php b/includes/TemplateHelper.php
index e37c8c9..cc1fafb 100644
--- a/includes/TemplateHelper.php
+++ b/includes/TemplateHelper.php
@@ -223,7 +223,7 @@
$topicPost = $args[0];
$message = wfMessage(
'flow-topic-participants-second-try',
- $topicPost['author']['name'],
+ $topicPost['creator']['name'],
$topicPost['author_count'] - 1
);
break;
diff --git a/modules/new/flow-handlebars.js b/modules/new/flow-handlebars.js
index 30a13af..06f8442 100644
--- a/modules/new/flow-handlebars.js
+++ b/modules/new/flow-handlebars.js
@@ -131,8 +131,9 @@
return "Topics (" + count + ")";
},
+ // @todo - use real i18n message keys instead
of cancatenation
"started_with_participants": function (
context, options ) {
- return context.author.name + " started
this topic" +
+ return context.creator.name + " started
this topic" +
( context.author_count > 1 ? (
", with " + (
context.author_count - 1 ) + " other participant" +
( context.author_count
> 2 ? 's' : '' )
--
To view, visit https://gerrit.wikimedia.org/r/141090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad8f6e81e01c711f05fdb7015df35df40c1cfb04
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: frontend-rewrite
Gerrit-Owner: Bsitu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits