Mark unwatch button as ca-unwatch rather than ca-watch to fix the tooltip.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Jul 2004 02:18:27 +0000 (02:18 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Jul 2004 02:18:27 +0000 (02:18 +0000)
* [ 993438 ] Wrong hint for "unwatch" button

includes/SkinPHPTal.php

index 01ff30e..059afff 100644 (file)
                                                'text' => wfMsg('watch'),
                                                'href' => $this->makeUrl($this->thispage, 'action=watch'));
                                        } else {
-                                               $content_actions['watch'] = array('class' => ($action == 'unwatch' or $action == 'watch') ? 'selected' : false,
+                                               $content_actions['unwatch'] = array('class' => ($action == 'unwatch' or $action == 'watch') ? 'selected' : false,
                                                'text' => wfMsg('unwatch'),
                                                'href' => $this->makeUrl($this->thispage, 'action=unwatch'));
                                        }