From: Stephane Bisson Date: Wed, 30 Aug 2017 20:05:42 +0000 (-0400) Subject: WLFilters: describe how unseen changes should look X-Git-Tag: 1.31.0-rc.0~2254 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=61696a0bd24be2b551bd47279a044d8d986bb03d WLFilters: describe how unseen changes should look Makes the unseen changes description customizable based on whether or not the beta feature is enabled. Bug: T172030 Change-Id: I0cef7e5fb261e12f3ca069e7409f3aea3fc874cf --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index dcd2ffa993..d0d1b61863 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -830,7 +830,11 @@ class SpecialWatchlist extends ChangesListSpecialPage { $watchlistHeader .= $this->msg( 'wlheader-enotif' )->parse() . "\n"; } if ( $showUpdatedMarker ) { - $watchlistHeader .= $this->msg( 'wlheader-showupdated' )->parse() . "\n"; + $watchlistHeader .= $this->msg( + $this->isStructuredFilterUiEnabled() ? + 'rcfilters-watchlist-showupdated' : + 'wlheader-showupdated' + )->parse() . "\n"; } } $form .= Html::rawElement( diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 816c9bef93..b2804882ca 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1470,6 +1470,7 @@ "rcfilters-liveupdates-button-title-off": "Display new changes as they happen", "rcfilters-watchlist-markSeen-button": "Mark all changes as seen", "rcfilters-watchlist-editWatchlist-button": "Edit your list of watched pages", + "rcfilters-watchlist-showupdated": "Changes to pages you haven't visited since the changes occurred are in bold, with solid markers.", "rcnotefrom": "Below {{PLURAL:$5|is the change|are the changes}} since $3, $4 (up to $1 shown).", "rclistfromreset": "Reset date selection", "rclistfrom": "Show new changes starting from $2, $3", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index dfe69a9746..1105d15882 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -1660,6 +1660,7 @@ "rcfilters-liveupdates-button-title-off": "Title for the button to enable or disable live updates on [[Special:RecentChanges]] when the feature is OFF.", "rcfilters-watchlist-markSeen-button": "Label for the button to mark all changes as seen on [[Special:Watchlist]] when using the structured filters interface.", "rcfilters-watchlist-editWatchlist-button": "Label for the button to edit the watched pages on [[Special:Watchlist]] when using the structured filters interface.", + "rcfilters-watchlist-showupdated": "Message at the top of [[Special:Watchlist]] when the Structured filters are enabled that describes what unseen changes look like.", "rcnotefrom": "This message is displayed at [[Special:RecentChanges]] when viewing recentchanges from some specific time.\n\nThe corresponding message is {{msg-mw|Rclistfrom}}.\n\nParameters:\n* $1 - the maximum number of changes that are displayed\n* $2 - (Optional) a date and time\n* $3 - a date\n* $4 - a time\n* $5 - Number of changes are displayed, for use with PLURAL", "rclistfromreset": "Used on [[Special:RecentChanges]] to reset a selection of a certain date range.", "rclistfrom": "Used on [[Special:RecentChanges]]. Parameters:\n* $1 - (Currently not use) date and time. The date and the time adds to the rclistfrom description.\n* $2 - time. The time adds to the rclistfrom link description (with split of date and time).\n* $3 - date. The date adds to the rclistfrom link description (with split of date and time).\n\nThe corresponding message is {{msg-mw|Rcnotefrom}}.",