Mark unwatch button as ca-unwatch rather than ca-watch to fix the tooltip.
[lhc/web/wiklou.git] / 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'));
                                        }