Last modified: 2014-05-21 17:57:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13250 - clearing one's watchlist
clearing one's watchlist
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.13.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 65058
Blocks: hackathon2014
  Show dependency treegraph
 
Reported: 2008-03-04 20:29 UTC by Charlotte Webb
Modified: 2014-05-21 17:57 UTC (History)
7 users (show)

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


Attachments

Description Charlotte Webb 2008-03-04 20:29:16 UTC
If I remember correctly, there used to be a [[Special:Watchlist/clear]] button that would clear one's watchlist without actually presenting the complete list.

Apparently this has been superceded by [[Special:Watchlist/raw]] which allows the user to clear the watchlist by  submitting a null string in the text box. In fact /clear now functions as a redirect to /raw.

I think it would be desirable to keep the "clear it in one click" option available:

1. To maintain backward compatibility for bot programs which maintain a watchlist and may desire to clear it at any given time using the old method
2. To allow users (human or machine) to clear an excessively long watchlist even when loading the actual list would take too long and/or cause the web browser to crash.

By the way, one user claims to have been able to circumvent this by accessing the [[Special:Watchlist/raw]] form using a dummy account with a blank watchlist, then switching back to the main account and sending the form. However, shouldn't this have been prevented due to an invalid edit-token in the form... or is this actually ignored? Might want to double-check.

See http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Empty_Watchlist.3F
Comment 1 oysterguitarist 2008-03-04 22:59:50 UTC
If we revert 26980 it will go back to the way it was.  Brion said that people were afraid to click it, and that existing clear links will fall back on the raw editor, but it seems that this is creating a problem.
Comment 2 Brion Vibber 2008-03-05 01:02:26 UTC
The reason the 'log in as another user' trick works is that the edit token is tied to the *session*, and doesn't actually get cleared when you log out and log in.

It would likely be a better practice to clear everything else in the session at logout, but that's a separate issue.
Comment 3 Ian Cabell 2008-03-05 22:12:18 UTC
I tried the "log in as another user", and it does help in one respect - loading the Special:Watchlist/raw page takes no time.  However, once I log out (in another window) and log back in as the "offending" user, I click "submit" on the form, and the actual call to the database to clear the watchlist times out on the browser, or rather on the server since I do get the Wikimedia error page.

--SatyrTN
Comment 4 Pixelface 2009-01-24 18:35:03 UTC
My watchlist has over 65,000 pages on it and deleting them all via Special:Watchlist/raw results in a server timeout. I asked about my watchlist here: [[Wikipedia:Help_desk#Watchlist_too_big]]

I want to clear my watchlist and I tried the 'log in as another user' trick as described by Alex Smotrov at [[Wikipedia:Village_pump_(technical)/Archive_24#Empty_Watchlist.3F]], but I got a server timeout. What are the steps again?

I think Mikkalai was worried about the "Clear watchlist" function because that user didn't know if they would be asked to confirm the action:
http://meta.wikimedia.org/wiki/Help_talk:Watching_pages#Confirmation_asked_before_clearing_watchlist

Could r26980 be undone so Special:Watchlist&action=clear works (for those rare occasions when a watchlist grows too large), yet make the option to clear the watchlist not visible in the user interface if it worries people?
Comment 5 Charlotte Webb 2009-01-25 19:14:00 UTC
> Could r26980 be undone so Special:Watchlist&action=clear works (for those rare
> occasions when a watchlist grows too large), yet make the option to clear the
> watchlist not visible in the user interface if it worries people?

That might be a reasonable compromise. Or we could have the link to [[Special:Watchlist/clear]] only visible on the [[Special:Watchlist/raw]] page, not the main watchlist view.
Comment 6 Siebrand Mazeland 2009-02-02 11:47:46 UTC
Changed component to "Watchlist"
Comment 7 Charlotte Webb 2009-02-14 10:03:13 UTC
One user claims to have watchlist items which are unremovable, possibly due to having the wrong value for `wl_namespace`???

http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Broken_watchlist
Comment 8 Ocean behind ears 2014-05-09 14:16:36 UTC
Maybe this would help: 
https://bugzilla.wikimedia.org/show_bug.cgi?id=65058

It allows mass-clearing of a watchlist, which seems like 
what you want.
Comment 9 Andre Klapper 2014-05-09 16:12:40 UTC
(In reply to Ocean behind ears from comment #8)
> Maybe this would help: 
> https://bugzilla.wikimedia.org/show_bug.cgi?id=65058
> 
> It allows mass-clearing of a watchlist, which seems like what you want.

Good catch! I'll add a "This ticket depends on bug 65058" here.
Comment 10 Gerrit Notification Bot 2014-05-10 11:40:51 UTC
Change 132500 had a related patch set uploaded by Ocean behind ears:
Restored method for clearing a watchlist in web UI, and rebuilt code.

https://gerrit.wikimedia.org/r/132500
Comment 11 Mark A. Hershberger 2014-05-10 12:45:33 UTC
Adding Brion to this bug since he has been helping me review it and also because I don't want to +2 this since it would be too much like +2ing myself.
Comment 12 Gerrit Notification Bot 2014-05-10 13:40:50 UTC
Change 132500 merged by jenkins-bot:
Restored method for clearing a watchlist in web UI, and rebuilt code.

https://gerrit.wikimedia.org/r/132500
Comment 13 Brion Vibber 2014-05-10 14:30:36 UTC
Merged! This should appear in 1.24 and the next wmf branch (I'm not sure offhand what the tracking number is) in a couple weeks.

At some point I'd love to see a major redesign of the watchlist editing interfaces which handles huge lists better, but until then this'll be a great help for some folks where the raw edit doesn't work!
Comment 14 Gerrit Notification Bot 2014-05-10 19:17:15 UTC
Change 132733 had a related patch set uploaded by MarkAHershberger:
Restored method for clearing a watchlist in web UI, and rebuilt code.

https://gerrit.wikimedia.org/r/132733
Comment 15 Gerrit Notification Bot 2014-05-10 19:21:56 UTC
Change 132733 merged by jenkins-bot:
Restored method for clearing a watchlist in web UI, and rebuilt code.

https://gerrit.wikimedia.org/r/132733
Comment 16 Gerrit Notification Bot 2014-05-21 15:31:01 UTC
Change 134619 had a related patch set uploaded by Krinkle:
Sync 1.23 release notes for bug 13250 from REL1_23

https://gerrit.wikimedia.org/r/134619
Comment 17 Gerrit Notification Bot 2014-05-21 15:58:28 UTC
Change 134619 merged by jenkins-bot:
Sync 1.23 release notes for bug 13250 from REL1_23

https://gerrit.wikimedia.org/r/134619

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


Navigation
Links