Replace deprecated Title::userIsWatching()
Change-Id: I74203e4ed51be6fe72414d1a0b95b8370aaf0720
This commit is contained in:
parent
9911316d18
commit
48cf6446a2
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ class ProtectionForm {
|
|||
<td class='mw-input'>" .
|
||||
Xml::checkLabel( wfMessage( 'watchthis' )->text(),
|
||||
'mwProtectWatch', 'mwProtectWatch',
|
||||
$this->mTitle->userIsWatching() || $wgUser->getOption( 'watchdefault' ) ) .
|
||||
$wgUser->isWatched( $this->mTitle ) || $wgUser->getOption( 'watchdefault' ) ) .
|
||||
"</td>
|
||||
</tr>";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue