mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Change feedback link for new topic tool
Bug: T279400 Change-Id: I5d72552f45a63199c0fbb516dc94aef19945c95e
This commit is contained in:
parent
5cbfecf084
commit
2b3345af11
|
@ -43,6 +43,7 @@
|
|||
"discussiontools-defaultsummary-reply",
|
||||
"newsectionsummary",
|
||||
"discussiontools-replywidget-feedback-link",
|
||||
"discussiontools-replywidget-feedback-link-newtopic",
|
||||
"discussiontools-replywidget-mention-prefix",
|
||||
"discussiontools-signature-prefix"
|
||||
]
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
"discussiontools-replywidget-cancel": "Cancel",
|
||||
"discussiontools-replywidget-feedback": "Share feedback about this feature",
|
||||
"discussiontools-replywidget-feedback-link": "https://www.mediawiki.org/wiki/Talk:Talk_pages_project/Replying",
|
||||
"discussiontools-replywidget-feedback-link-newtopic": "https://www.mediawiki.org/wiki/Talk:Talk_pages_project/New_discussion",
|
||||
"discussiontools-replywidget-loading": "Loading…",
|
||||
"discussiontools-replywidget-mention-prefix": "@",
|
||||
"discussiontools-replywidget-mention-tool-header": "Find user: $1",
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
"discussiontools-replywidget-cancel": "Label for the cancel button to exit out of the widget",
|
||||
"discussiontools-replywidget-feedback": "Label for link to share feedback about the reply widget",
|
||||
"discussiontools-replywidget-feedback-link": "{{optional|Link to a page where users can share feedback about the reply widget. Defaults to a page on MediaWiki.org.}}",
|
||||
"discussiontools-replywidget-feedback-link-newtopic": "{{optional|Link to a page where users can share feedback about the new topic widget. Defaults to a page on MediaWiki.org.}}",
|
||||
"discussiontools-replywidget-loading": "Message shown while the reply widget is loading",
|
||||
"discussiontools-replywidget-mention-prefix": "{{optional|Character to prefix mentions. This does not have to be the same as the trigger character, which is always '@'.}}",
|
||||
"discussiontools-replywidget-mention-tool-header": "Header of search results when searching for a user to mention.\n\nParameters:\n* $1 – search query for the username. Note that this is not a full username, and '''can't''' be used with <code><nowiki>{{GENDER:}}</nowiki></code>.",
|
||||
|
|
|
@ -161,7 +161,9 @@ function ReplyWidget( commentController, comment, pageName, oldId, config ) {
|
|||
$( '<p>' ).append(
|
||||
$( '<a>' )
|
||||
.attr( {
|
||||
href: mw.msg( 'discussiontools-replywidget-feedback-link' ),
|
||||
href: this.isNewTopic ?
|
||||
mw.msg( 'discussiontools-replywidget-feedback-link-newtopic' ) :
|
||||
mw.msg( 'discussiontools-replywidget-feedback-link' ),
|
||||
target: '_blank',
|
||||
rel: 'noopener'
|
||||
} )
|
||||
|
|
Loading…
Reference in a new issue