Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/141084
Change subject: Don't change creator name when editing a post title
......................................................................
Don't change creator name when editing a post title
When renaming a post keep the original author
Change-Id: Iad37c8095fa542bce110096c88be0c492dd3fec1
---
M modules/new/flow-handlebars.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/84/141084/1
diff --git a/modules/new/flow-handlebars.js b/modules/new/flow-handlebars.js
index 30a13af..9e3181f 100644
--- a/modules/new/flow-handlebars.js
+++ b/modules/new/flow-handlebars.js
@@ -132,7 +132,7 @@
},
"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/141084
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad37c8095fa542bce110096c88be0c492dd3fec1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: frontend-rewrite
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits