dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Move up devunt's name to Developers"
[lhc/web/wiklou.git]
/
includes
/
actions
/
UnwatchAction.php
diff --git
a/includes/actions/UnwatchAction.php
b/includes/actions/UnwatchAction.php
index
f8f1dc1
..
7f043e4
100644
(file)
--- a/
includes/actions/UnwatchAction.php
+++ b/
includes/actions/UnwatchAction.php
@@
-50,7
+50,8
@@
class UnwatchAction extends WatchAction {
}
public function onSuccess() {
}
public function onSuccess() {
- $this->getOutput()->addWikiMsg( 'removedwatchtext', $this->getTitle()->getPrefixedText() );
+ $msgKey = $this->getTitle()->isTalkPage() ? 'removedwatchtext-talk' : 'removedwatchtext';
+ $this->getOutput()->addWikiMsg( $msgKey, $this->getTitle()->getPrefixedText() );
}
public function doesWrites() {
}
public function doesWrites() {