dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9911316
)
Replace deprecated Title::userIsWatching()
author
Platonides
<platonides@gmail.com>
Fri, 7 Dec 2012 18:33:34 +0000
(19:33 +0100)
committer
Platonides
<platonides@gmail.com>
Fri, 7 Dec 2012 18:34:48 +0000
(19:34 +0100)
Change-Id: I74203e4ed51be6fe72414d1a0b95b8370aaf0720
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
9643ba7
..
e844a1e
100644
(file)
--- a/
includes/ProtectionForm.php
+++ b/
includes/ProtectionForm.php
@@
-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>";
}