Last modified: 2014-09-23 19:57:27 UTC
If you have javascript disabled, clicking on the unwatch link in the thread header doesn't work. It just takes you to a default thread view without unwatching the thread. I'm attaching a modified pages/ThreadWatchView.php that fixes this.
Created attachment 7953 [details] modified pages/ThreadWatchView.php Calls $this->thread->root()->watch() or $this->thread->root()->unwatch() based on value of $request->getVal( 'action' ) in the constructor.
+keyword Going to the Thread: page, accessible from "permanent link", gives you access to the normal watch/unwatch buttons.
Thanks for keywording, Nemo_bis, and thanks for the patch, Nikola! It'd be great if you'd put future patches into Git: https://www.mediawiki.org/wiki/Git/Tutorial That'll get them reviewed faster.
Nikola: You are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier for us to review it quickly. Thanks again!