Jump to content

Wikipedia:User scripts/Requests/Archive 3

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DannyS712 (talk | contribs) at 04:38, 5 December 2018 (Added threads from Wikipedia:User_scripts/Requests). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Wanted: Add article onto a 'To Do' list for further action

A script or gadget to automate the addition of article titles (perhaps to a user-defined sub-page) for future monitoring and follow-up action. Effectively, this would be a 'To Do' list. Serving a completely different purpose from a Watch List, it would need to be just as easy to use. As a New Page Patroller and spell-checker, I encounter innumerable articles that need following up in some way. I desire to create a separate list of these pages to work through at some future point - possibly putting forward for deletion, or checking that pages tagged with templates have been actioned. Or I may wish simply to add pages to my 'To Do' list so I can edit them myself later. Because some of these pages rarely get edited again, using a Watch List does not help, and it would weaken the way the Watch List works for monitoring pages of real interest. I have no way of knowing whether such a tool already exists, but having a parallel Watch list for direct editorial action would, I believe, be immensely helpful to many editors. Nick Moyes (talk) 00:23, 16 June 2017 (UTC)

@Nick Moyes: See Wikipedia:User scripts/List § Todo lists. That page is good page to check for "knowing whether such a tool already exists" - Evad37 [talk] 01:56, 16 June 2017 (UTC)
Thanks so much. I had already tried looking, but must have missed the link to that section. But I've now found what I was looking for. I appreciate your assistance. Nick Moyes (talk) 10:39, 16 June 2017 (UTC)

Request for someone to take over User:Kephir/gadgets/rater

The rater tool seems to have been abandoned some years ago, but is an amazing and incredibly useful tool that is used by a lot of New Page Patrollers and other editors that frequently rate articles. Suggestions for improvement on the gadget's talk page go unnoticed by its creator and that is a big shame. Although the tool is amazing, an editor actively improving it could do some tremendous good by taking over maintenance of the tool.

  1. I also know of some wikiprojects that are not currently on its list (I have added some), but I suspect there are a ton more, which makes rating unlisted wikiprojects very difficult for those that are used to using the tool extensively (i.e. the wikiproject list needs updating to add new wikiprojects and remove dead wikiprojects).
  2. The biography wikiproject 'List as' parameter could definitely use autofill based on the most common name format (i.e. strip off any parentheses, then autofill as last, first middle+).

These are just some of the improvements that could be made to the tool. Thanks to whoever decides to help here! — InsertCleverPhraseHere 09:09, 16 July 2017 (UTC)

See User:Evad37/rater. The Transhumanist 13:33, 13 January 2018 (UTC)

Request for page blocking script

HI! I'm facing significant problems because there are many pages that I don't want to see and can cause family problems. A long discussion is taking place at Teahouse regarding this (see Blocking page view). There, it has been asked me to request a user script here which will enable me to block those pages. I request a script by which I can block articles. that I feel are not safe for me. User:Nazim Hussain Pak Sinner (talk) 14:32, 9 August 2017 (UTC)

@Nazim Hussain Pak: How would you like the script to determine what should be blocked? Hiding the content of pages from a list of pages should be fairly easy to create. Going by other criteria would be progressively more difficult, the more subjective the criteria. The Transhumanist 00:21, 5 January 2018 (UTC)

Soccerbase Script

Struway2 has made this Template:Soccerbase season page, however, this will take a lot of time to use the copy and paste and changing the ID and year parameter to every football article with the longer code version to display the references. A script would get things done easier and quicker to do. For example, changing the content from this {{Cite web| title = Games played by Matthew Lowton in 2011/2012| url = http://www.soccerbase.com/players/player.sd?player_id=53439&season_id=141| publisher = Soccerbase| accessdate = 23 June 2015}} to this {{Soccerbase season|id=53439|season=2011|name=Matthew Lowton|accessdate=23 June 2015}} would take a long time for the same user to do for every page. Iggy (talk) 11:11, 16 September 2017 (UTC)

@Iggy the Swan: is this still needed? I'm not saying, that I will do this, but... --Edgars2007 (talk/contribs) 06:41, 6 March 2018 (UTC)
@Edgars2007: - a bot has already converted the work so this is no longer needed. I'd forgotten I posted this, Iggy (Swan) 18:03, 6 March 2018 (UTC)

Tabber Script

I wish to have something like this. Artix (Message wall) 23:55, 14 October 2017 (UTC)

also, how to highlight own name in history? Artix Kreiger (talk) 21:17, 26 October 2017 (UTC)
Use Template:Page tabs --Danski454 (talk) 16:34, 3 August 2018 (UTC)

Request for Hyperlinks to other articles to show an article preview when hovering over them

I think it'd be great if, when you hover over a hyperlink to another Wikipedia article, a small box pops up giving you the first few lines and maybe the lead picture of that article. It'd sort of look like when you hover over a citation number now. I have no idea how to do this, but I think it'd be awesome if there was just a term or something that someone didn't know, that they could just hover over the link instead of having to open a new tab. — Preceding unsigned comment added by BenJenkins (talkcontribs)

@BenJenkins: Go to your preferences, select the appearances tab, and choose the "page previews" option; that should do what you want. There's also navigation popups in the gadgets section, but that's for more advanced editing features. ~ Amory (utc) 00:49, 26 March 2018 (UTC)
For a more advanced alternative to Amorymeltzer's suggestion that shows previews for non-article pages, try the Navigation Popups gadget. It's under the gadgets tab in Preferences. — pythoncoder  (talk | contribs) 22:44, 27 April 2018 (UTC)

Resource limit?

I have a simple script on meta:User:Bdijkstra/global.js to do some text replacement for visual aesthetics. On short pages it works fine, but on longer pages it seems that the script stops running after a certain point. Is there some sort of resource limit that I am hitting? --bdijkstra (talk) 16:11, 18 June 2018 (UTC)

Never mind. It turns out that the jQuery selector doesn't wait for the page to finish loading, so the script often finished execution before all content was loaded. --bdijkstra (talk) 11:53, 21 June 2018 (UTC)

Is there a script that turns all links in a category to something you might see with {{pagelinks}}? For example, instead of seeing

in a category, you would see

Does such a script exist? (Similar to User:Equazcion/CatListMainTalkLinks.) If not, I'd be happy to write it up, I just wanted to check beforehand. Cheers. -- AlexTW 02:28, 15 August 2018 (UTC)

 Done Did it myself. -- AlexTW 11:39, 28 August 2018 (UTC)

Hotcat-like searchable stub sorting/stub tagging script, with hierarchy searching

There isn't currently a great script for stub sorting and stub tagging, the best I have found is User:Ais523/stubtagtab2.js, ideally we would have a hotcat-like searchable field for stub tagging. This would be useful to both New Page Reviewers, as well as to Wikipedia:WikiProject Stub sorting.

Ideally it would work as a hierarchy system somehow, using the hierarchy system at Wikipedia:WikiProject_Stub_sorting/Stub_types. For example; you would put 'school' into the field, then when you select School stubs, it would populate a scroll-able list suggesting the next level of hierarchy down (e.g. African school stubs, Asian school stubs, etc), then when you select African school stubs, it would populate a scroll-able list suggesting the next level of hierarchy down (e.g. Algerian school stubs, Kenyan school stubs, etc), and so on until you reach the bottom of the hierarchy tree. You should also be able to use the search tree to search for any stub tag, (e.g. jump directly to Kenyan school stubs).

At minimum a hotcat-like search field that you can just search in would be great, but a hierarchy system would be way better at minimising generic stub choices (a hierarchy sytem for Hotcat would also be really awesome, but that is another job entirely.

Please ping me if responding to this post. Cheers! — Insertcleverphrasehere (or here) 10:39, 16 October 2018 (UTC)

Working on it --Danski454 (talk) 14:06, 24 October 2018 (UTC)
@Insertcleverphrasehere: done: User:Danski454/stubsearch.js (doc) --Danski454 (talk) 09:49, 25 October 2018 (UTC)
Amazing! Thanks very much. — Insertcleverphrasehere (or here) 10:02, 25 October 2018 (UTC)

This script is great for adding stub categories, thanks both to @Insertcleverphrasehere: and @Danski454:! Any chance the script could make it easy to remove stub templates that are currently on the page? A common task is to remove a more general stub template and apply a more specific one. -Furicorn (talk) 19:18, 26 October 2018 (UTC)

@Furicorn: I've added a button which replaces all stub tags on the page with the selected tag, then loads the diff. --Danski454 (talk) 21:09, 26 October 2018 (UTC)
@Danski454: wow, thanks for the incredibly quick turnaround. I noticed something weird - I was trying to test it on Roman Catholic Diocese of Qinzhou by adding {{PRChina-RC-diocese-stub}} and searched "roman catholic diocese stubs". I then selected Asian Roman Catholic diocese stubs, which has two subcategories, Chinese Roman Catholic diocese stubs and Indian Roman Catholic diocese stubs. However, only Indian Roman Catholic diocese stubs shows up in the script search results, and I also get no results when I directly search for Chinese Roman Catholic diocese stubs. Any thoughts? -Furicorn (talk) 03:45, 27 October 2018 (UTC)
@Furicorn: for some reason, Chinese Roman Catholic diocese stubs was not listed on Wikipedia:WikiProject_Stub_sorting/Stub_types, (Permalink), I am adding it now. --Danski454 (talk) 09:32, 27 October 2018 (UTC)
@Danski454: thanks, I'll make sure to check that next time. -Furicorn (talk) 10:21, 27 October 2018 (UTC)

Contribs and user groups

Hddty., would WP:POPUPS work? That way, you can hover over their signature and see both of these things. Enterprisey (talk!) 09:50, 18 November 2018 (UTC)
@Enterprisey: Thanks, I didn't know that. Hddty. (talk) 02:37, 19 November 2018 (UTC)