Merge "Watchlist API update: Call correct method"

This commit is contained in:
jenkins-bot 2022-01-11 18:41:49 +00:00 committed by Gerrit Code Review
commit e1b9e6a98e

View file

@ -926,7 +926,7 @@ ve.init.mw.DesktopArticleTarget.prototype.saveComplete = function ( data ) {
if ( mw.loader.getState( 'mediawiki.page.watch.ajax' ) === 'ready' ) {
var watch = require( 'mediawiki.page.watch.ajax' );
watch.updateWatchLink(
watch.updatePageWatchStatus(
data.watched,
data.watchlistexpiry
);