From 48cf6446a2dfba74ed933dd0ea357af54e860ce8 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 7 Dec 2012 19:33:34 +0100 Subject: [PATCH] Replace deprecated Title::userIsWatching() Change-Id: I74203e4ed51be6fe72414d1a0b95b8370aaf0720 --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 9643ba7a30..e844a1e9ab 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -501,7 +501,7 @@ class ProtectionForm { " . Xml::checkLabel( wfMessage( 'watchthis' )->text(), 'mwProtectWatch', 'mwProtectWatch', - $this->mTitle->userIsWatching() || $wgUser->getOption( 'watchdefault' ) ) . + $wgUser->isWatched( $this->mTitle ) || $wgUser->getOption( 'watchdefault' ) ) . " "; } -- 2.20.1