Last modified: 2014-09-23 19:57:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 26562 - Cannot unwatch a thread without javascript unless going to the thread page
Cannot unwatch a thread without javascript unless going to the thread page
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2011-01-04 10:52 UTC by Nikola Kovacs
Modified: 2014-09-23 19:57 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

modified pages/ThreadWatchView.php (457 bytes, application/x-php)
2011-01-04 10:54 UTC, Nikola Kovacs

Description Nikola Kovacs 2011-01-04 10:52:45 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.
Comment 1 Nikola Kovacs 2011-01-04 10:54:10 UTC
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.
Comment 2 Nemo 2012-08-20 15:42:51 UTC

Going to the Thread: page, accessible from "permanent link", gives you access to the normal watch/unwatch buttons.
Comment 3 Sumana Harihareswara 2012-08-20 15:44:58 UTC
Thanks for keywording, Nemo_bis, and thanks for the patch, Nikola! It'd be great if you'd put future patches into Git:  That'll get them reviewed faster.
Comment 4 Andre Klapper 2013-01-23 12:46:43 UTC
You are welcome to use Developer access
to submit this as a Git branch directly into Gerrit:

Putting your branch in Git makes it easier for us to review it quickly.
Thanks again!

Note You need to log in before you can comment on or make changes to this bug.