X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWatchlist.php;h=4f4570e3f83f0092d0c8e5bf09564480f78f66e4;hb=3b4c53b79540e1ab4519cb7781d3da6cdf8af7b7;hp=8418865e10d97b04b1fa993e0747834d38fe8c00;hpb=d95a61abba0b9c2671629e2a62ec0d9b574a042b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 8418865e10..4f4570e3f8 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -32,6 +32,8 @@ use Wikimedia\Rdbms\IDatabase; * @ingroup SpecialPage */ class SpecialWatchlist extends ChangesListSpecialPage { + protected static $savedQueriesPreferenceName = 'rcfilters-wl-saved-queries'; + private $maxDays; public function __construct( $page = 'Watchlist', $restriction = 'viewmywatchlist' ) { @@ -100,10 +102,6 @@ class SpecialWatchlist extends ChangesListSpecialPage { $output->addModuleStyles( [ 'mediawiki.rcfilters.highlightCircles.seenunseen.styles' ] ); $output->addJsConfigVars( 'wgStructuredChangeFiltersLiveUpdateSupported', false ); - $output->addJsConfigVars( - 'wgStructuredChangeFiltersSavedQueriesPreferenceName', - 'rcfilters-wl-saved-queries' - ); $output->addJsConfigVars( 'wgStructuredChangeFiltersEditWatchlistUrl', SpecialPage::getTitleFor( 'EditWatchlist' )->getLocalURL()