aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials/SpecialWatchlist.php
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 /includes/specials/SpecialWatchlist.php
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
Diffstat (limited to 'includes/specials/SpecialWatchlist.php')
-rw-r--r--includes/specials/SpecialWatchlist.php6
1 files changed, 5 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(