Replace deprecated Title::userIsWatching()

Change-Id: I74203e4ed51be6fe72414d1a0b95b8370aaf0720
This commit is contained in:
Platonides 2012-12-07 19:33:34 +01:00
parent 9911316d18
commit 48cf6446a2

View file

@ -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>";
}