Robmoen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/222033

Change subject: WIP: Make watchlist bold in first onboarding screen
......................................................................

WIP: Make watchlist bold in first onboarding screen

* Using RL class MFResourceLoaderParsedMessageModule is still a bit
problematic as the message is parsing wikitext to escaped html.

bug: T99109

i

Change-Id: I4d60dac75c2945702368d74d38a93b0d33d25291
---
M extension.json
M i18n/en.json
2 files changed, 23 insertions(+), 22 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/33/222033/1

diff --git a/extension.json b/extension.json
index cfb0efa..3974584 100644
--- a/extension.json
+++ b/extension.json
@@ -308,27 +308,28 @@
                        "styles": [
                                
"resources/ext.gather.collection.contentOverlay/contentOverlay.less"
                        ],
-                       "messages": [
-                               "gather-collection-content-tutorial-heading",
-                               "gather-collection-content-tutorial-subheading",
-                               "gather-tutorial-dismiss-button-label",
-                               "gather-remove-from-collection-failed-toast",
-                               "gather-add-to-collection-failed-toast",
-                               "gather-new-collection-failed-toast",
-                               "gather-add-to-existing",
-                               "gather-watchlist-title",
-                               "gather-add-toast",
-                               "gather-add-failed-toast",
-                               "gather-add-title-invalid-toast",
-                               "gather-remove-toast",
-                               "gather-collection-member",
-                               "gather-create-new-button-label",
-                               "gather-add-to-new",
-                               "gather-collection-non-member",
-                               "gather-add-new-placeholder",
-                               "gather-add-to-another",
-                               "gather-view-collection"
-                       ],
+                       "class": "MFResourceLoaderParsedMessageModule",
+                       "messages": {
+                               "gather-collection-content-tutorial-heading": 
"gather-collection-content-tutorial-heading",
+                               
"gather-collection-content-tutorial-subheading": ["parse"],
+                               "gather-tutorial-dismiss-button-label": 
"gather-tutorial-dismiss-button-label",
+                               "gather-remove-from-failed-collection-toast": 
"gather-remove-from-failed-collection-toast",
+                               "gather-add-to-collection-failed-toast": 
"gather-add-to-collection-failed-toast",
+                               "gather-new-collection-failed-toast": 
"gather-new-collection-failed-toast",
+                               "gather-add-to-existing": 
"gather-add-to-existing",
+                               "gather-watchlist-title": 
"gather-watchlist-title",
+                               "gather-add-toast": "gather-add-toast",
+                               "gather-add-failed-toast": 
"gather-add-failed-toast",
+                               "gather-add-title-invalid-toast": 
"gather-add-title-invalid-toast",
+                               "gather-remove-toast": "gather-remove-toast",
+                               "gather-collection-member": 
"gather-collection-member",
+                               "gather-create-new-button-label": 
"gather-create-new-button-label",
+                               "gather-add-to-new": "gather-add-to-new",
+                               "gather-collection-non-member": 
"gather-collection-non-member",
+                               "gather-add-new-placeholder": 
"gather-add-new-placeholder",
+                               "gather-add-to-another": 
"gather-add-to-another",
+                               "gather-view-collection": 
"gather-view-collection"
+                       },
                        "templates": {
                                "header.hogan": 
"resources/ext.gather.collection.contentOverlay/header.hogan",
                                "content.hogan": 
"resources/ext.gather.collection.contentOverlay/content.hogan"
diff --git a/i18n/en.json b/i18n/en.json
index 3b18cda..6a33d08 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -81,7 +81,7 @@
        "gather-add-failed-toast": "There was a problem adding the item to your 
\"$1\" collection.",
        "gather-add-title-invalid-toast": "There was an issue with the title 
you entered. Please try something else",
        "gather-collection-content-tutorial-heading": "Start a collection of 
your favorite interests that you can bookmark for later or share with others.",
-       "gather-collection-content-tutorial-subheading": "Or, add this to your 
watchlist to follow changes to the article.",
+       "gather-collection-content-tutorial-subheading": "Or, add this to your 
'''watchlist''' to follow changes to the article.",
        "gather-add-to-collection-summary": "{{GENDER:$2|Add}} $1 to a 
collection of pages you can share with the world!",
        "gather-add-to-collection-confirm": "Add to collection",
        "gather-add-to-collection-cancel": "No thanks",

-- 
To view, visit https://gerrit.wikimedia.org/r/222033
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d60dac75c2945702368d74d38a93b0d33d25291
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Robmoen <rm...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to