X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWatchlist.php;h=d59b66b9ef4233ce6d9aaa165a3a4079ab154753;hb=f13daceb258d98b0bb51832a28cd34cda47440e8;hp=0fc6e13c416bd826b015875e0ae9c4f4b4617059;hpb=d7fba6c62decdcbd108cdd26b49a9075377e6368;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 0fc6e13c41..d59b66b9ef 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -102,11 +102,6 @@ class SpecialWatchlist extends ChangesListSpecialPage { if ( $this->isStructuredFilterUiEnabled() ) { $output->addModuleStyles( [ 'mediawiki.rcfilters.highlightCircles.seenunseen.styles' ] ); - - $output->addJsConfigVars( - 'wgStructuredChangeFiltersEditWatchlistUrl', - SpecialPage::getTitleFor( 'EditWatchlist' )->getLocalURL() - ); } } @@ -348,7 +343,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { $join_conds = array_merge( [ 'watchlist' => [ - 'INNER JOIN', + 'JOIN', [ 'wl_user' => $user->getId(), 'wl_namespace=rc_namespace', @@ -463,7 +458,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { $services = MediaWikiServices::getInstance(); # Show a message about replica DB lag, if applicable - $lag = $services->getDBLoadBalancer()->safeGetLag( $dbr ); + $lag = $dbr->getSessionLagStatus()['lag']; if ( $lag > 0 ) { $output->showLagWarning( $lag ); }