Jforrester has uploaded a new change for review.
https://gerrit.wikimedia.org/r/301908
Change subject: Re-use newsectionsummary from core, not
mobile-frontend-talk-edit-summary
......................................................................
Re-use newsectionsummary from core, not mobile-frontend-talk-edit-summary
Bug: T123164
Change-Id: I5616de2a2decdb2333b200294382f114cc5723e1
---
M extension.json
M i18n/en.json
M i18n/qqq.json
M resources/mobile.talk.overlays/TalkSectionAddOverlay.js
4 files changed, 2 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/08/301908/2
diff --git a/extension.json b/extension.json
index bc16987..c880237 100644
--- a/extension.json
+++ b/extension.json
@@ -848,7 +848,6 @@
"mobile-frontend-talk-overlay-lead-header",
"mobile-frontend-talk-add-overlay-subject-placeholder",
"mobile-frontend-talk-add-overlay-content-placeholder",
- "mobile-frontend-talk-edit-summary",
"mobile-frontend-talk-reply-success",
"mobile-frontend-talk-reply",
"mobile-frontend-talk-reply-info",
@@ -863,6 +862,7 @@
"mobile-frontend-editor-cancel-confirm",
"mobile-frontend-editor-error",
"mobile-frontend-editor-error-conflict"
+ "newsectionsummary",
]
},
"mobile.mediaViewer": {
diff --git a/i18n/en.json b/i18n/en.json
index 6a8ba51..8e99a74 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -293,7 +293,6 @@
"mobile-frontend-talk-back-to-userpage": "Return to the user page of
\"{{GENDER:$1|$1}}\".",
"mobile-frontend-talk-back-to-projectpage": "Return to the project page
\"$1\".",
"mobile-frontend-talk-back-to-filepage": "Return to the file \"$1\".",
- "mobile-frontend-talk-edit-summary": "New talk section: $1",
"mobile-frontend-talk-explained": "The following conversations are
currently active",
"mobile-frontend-talk-explained-empty": "There are no conversations
about this page.",
"mobile-frontend-talk-overlay-header": "Talk",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 9ced934..fea3c98 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -293,7 +293,6 @@
"mobile-frontend-talk-back-to-userpage": "Used as label for link from
user talk page to user page. Parameters:\n* $1 - username",
"mobile-frontend-talk-back-to-projectpage": "Used as label for link
from project talk page to project page. Parameters:\n* $1 - page title",
"mobile-frontend-talk-back-to-filepage": "Used as label for link from
file talk page to file page. Parameters:\n* $1 - page title",
- "mobile-frontend-talk-edit-summary": "Edit summary when creating a new
talk section ($1 is name of section)",
"mobile-frontend-talk-explained": "Explains that the user is seeing
talk page headings",
"mobile-frontend-talk-explained-empty": "Explains why the list is
empty.",
"mobile-frontend-talk-overlay-header": "Heading for talk
overlay.\n{{Identical|Talk}}",
diff --git a/resources/mobile.talk.overlays/TalkSectionAddOverlay.js
b/resources/mobile.talk.overlays/TalkSectionAddOverlay.js
index 8dbfe09..5d4546b 100644
--- a/resources/mobile.talk.overlays/TalkSectionAddOverlay.js
+++ b/resources/mobile.talk.overlays/TalkSectionAddOverlay.js
@@ -156,7 +156,7 @@
section: 'new',
sectiontitle: heading,
title: self.title,
- summary: mw.msg(
'mobile-frontend-talk-edit-summary', heading ),
+ summary: mw.msg( 'newsectionsummary', heading ),
text: text + ' ~~~~'
} ).done( function () {
result.resolve( 'ok' );
--
To view, visit https://gerrit.wikimedia.org/r/301908
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5616de2a2decdb2333b200294382f114cc5723e1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits