aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Bisson <sbisson@wikimedia.org>2017-08-30 16:05:42 -0400
committerStephane Bisson <sbisson@wikimedia.org>2017-08-30 16:05:42 -0400
commit61696a0bd24be2b551bd47279a044d8d986bb03d (patch)
treeaf6f67208cd6cdc4b247c47a44fe19acaff18ba0
parent314b27242227909ab37010e699f9ecefce86d108 (diff)
downloadmediawikicore-61696a0bd24be2b551bd47279a044d8d986bb03d.tar.gz
mediawikicore-61696a0bd24be2b551bd47279a044d8d986bb03d.zip
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
-rw-r--r--includes/specials/SpecialWatchlist.php6
-rw-r--r--languages/i18n/en.json1
-rw-r--r--languages/i18n/qqq.json1
3 files changed, 7 insertions, 1 deletions
diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php
index dcd2ffa9937c..d0d1b618635a 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 816c9bef93da..b2804882ca26 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 <strong>bold</strong>, with solid markers.",
"rcnotefrom": "Below {{PLURAL:$5|is the change|are the changes}} since <strong>$3, $4</strong> (up to <strong>$1</strong> 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 dfe69a9746bf..1105d15882a7 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}}.",