Jump to content

User talk:MusikAnimal/customWatchlists

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This page is for general discussion and questions related to the customWatchlists script.

Lagging, Not Loading Watchlists

[edit]

Having some trouble viewing my custom watchlists. I go to my watchlist page, select a custom list and search by raw watchlist and click go and it only lists one "page", which is the following:

User:DNocterum/common.js . . DNocterum (talk | contribs) (←Created page with 'importScript( 'User:MusikAnimal/customWatchlists.js' ); // Backlink: User:MusikAnimal/customWatchlists.js')

Possible bug? Hope this can get fixed because i need to be able to view my lists. — Preceding unsigned comment added by DNocterum (talkcontribs) 04:36, 3 November 2020 (UTC)[reply]


Creates a new watchlist but does not see it at Special:Watchlist

[edit]

User:Gryllida/watchlists does not show up anywhere in the interface though, it keeps working as if there were no watchlists defined. SeaMonkey 2.46 using Monobook skin. --Gryllida 22:26, 26 March 2018 (UTC)[reply]

@Gryllida: So you don't see the "Custom watchlists" form at all at Special:Watchlist? MusikAnimal talk 21:28, 27 March 2018 (UTC)[reply]
Sorry, strike out the first half of that sentence. It shows at the watchlist page but says there is no watchlists defined but I have some. --Gryllida (talk) 21:32, 27 March 2018 (UTC)[reply]
Issue went away after a few hours, perhaps because of some form of caching. Another person tested the script and said it does not work for them, so perhaps this issue is reproducible. --Gryllida (talk) 01:45, 28 March 2018 (UTC)[reply]

Perhaps it would be nice to add a filter by custom watchlists to Special:EditWatchlist so that this user script could be used as a bookmarking tool to keep a list of pages with a custom comment (the name of the custom watchlist) which are easy to navigate even if no recent changes to them have been made. --Gryllida (talk) 01:59, 28 March 2018 (UTC)[reply]

@Gryllida: Nice idea! You can actually view the raw list now. In the "Custom watchlists" section of Special:Watchlist, there should be a "Raw watchlist" option, which you can sort alphabetically or by last edited. This doesn't seem to work however if you have a ton pages in your custom watchlist. That's a bug that I will try to fix soon. MusikAnimal talk 19:28, 28 March 2018 (UTC)[reply]

Code updates

[edit]

Hi MusikAnimal!

I noticed that when a new Watchlist is created, the following warning appear in the console:

Use of the "edit" token is deprecated. Use "csrf" instead.

Also, consider replacing

$("head").append(importStylesheet("User:MusikAnimal/customWatchlists.css"));

by

mw.loader.load( 'https://en.wikipedia.org/w/index.php?title=User:MusikAnimal/customWatchlists.css&action=raw&ctype=text/css', 'text/css' );

so that User:MusikAnimal/customWatchlists.css can be imported when users attempt to use the script outside English Wikipedia. Helder 19:36, 25 November 2018 (UTC)[reply]

@He7d3r: I am thrilled to hear people are actually using this script! As one of the first user scripts I ever wrote, it is admittedly very poorly implemented. I can try to fix the warning but better I get a start on rewriting it from scratch :) I have implemented your second suggestion, though. Thanks MusikAnimal talk 20:45, 25 November 2018 (UTC)[reply]

Unwatch?

[edit]

@MusikAnimal:: I don't see a way to remove entries from the custom watchlist except for editing ones own actual user watchlist page, such as User:Ww2censor/watchlists, but there are no links; just file code. One can't just click on an image link and decide, that's one to delete. One must remember the file name and remove it from that page manually. Unless you know another way. ww2censor (talk) 12:25, 23 December 2018 (UTC)[reply]

@Ww2censor: Hey! Sorry for the late reply. You can remove them using the same form you used to add them. Just unselect the checkbox and hit "Save changes". You can also get to this form from the watchlist. Look for the "cw" link. Hope this helps, MusikAnimal talk 20:15, 13 January 2019 (UTC)[reply]
Thanks, that did not seem intuitive to me but it does work. ww2censor (talk) 23:14, 13 January 2019 (UTC)[reply]

Make the form box collapsible

[edit]

This is a simple request, I reckon—the box takes up some vertical space and I would like to collapse it when not perusing my custom watchlists. Remsense 13:30, 3 April 2024 (UTC)[reply]