diff options
Diffstat (limited to 'includes/actions/UnwatchAction.php')
-rw-r--r-- | includes/actions/UnwatchAction.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/actions/UnwatchAction.php b/includes/actions/UnwatchAction.php index f8f1dc1f4404..7f043e467659 100644 --- a/includes/actions/UnwatchAction.php +++ b/includes/actions/UnwatchAction.php @@ -50,7 +50,8 @@ class UnwatchAction extends WatchAction { } 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() { |