Wikipedia:User scripts/Requests

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Post your user script-related request or idea for a new user script (or gadget) as a new section below. Discussion in each section is encouraged. Note that most gadgets started out as mere user scripts.

All user script-related requests are welcome, whether they be for assistance writing an existing user script, desire for a new user script that does what you want, etc. Ideas for new user scripts are welcome too!

Wanted: List entry annotator

A script that does the following to each entry in a bulleted list: adds an en dash after the entry, fetches the first 2 sentences of the lead of the corresponding article (the linked term listed), and inserts them after the en dash of the entry. The Transhumanist 20:50, 1 April 2017 (UTC)

Help needed: adjust location of view port

The script User:The Transhumanist/AnnotationToggler.js provides a toggle to hide/show the annotations in bulleted lists. The problem is that when the annotations disappear or reappear, the user is jolted away from the text he was reading, as that text shifts relative to the viewport. I need help resetting the location of the viewport to focus on the text that was there before the hide/show button press. The Transhumanist 20:50, 1 April 2017 (UTC)

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 an ISBN script

A script which hyphenates ISBN-13 digits (with four hyphens), similar to this website. A script which converts ISBN-10 to 13 would be appreciated also. Thank-you.--Nevéselbert 23:13, 25 June 2017 (UTC)

@Neve-selbert: is this still needed? I'm not saying, that I will do this, but... --Edgars2007 (talk/contribs) 06:41, 6 March 2018 (UTC)
@Edgars2007: it would come in handy, certainly.--Neve~selbert 17:07, 22 March 2018 (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)

Help with script for Galician wiki

Hi! I'm an admin from and we need your help to create an script because we don't know how implement that.

We need an script or tool that add a new option to the left menu tools, that option should add a template to the article and automatically it should send a message to the user who created the article. The idea is to add templates to very short articles and notice the users who created it at same time.

I know that at Wikimedia Commons the tool copyvio make a similar work (and other things), add the template to the file and after that it writes a comments at the uploader's page. I searched for a tool or script with similar work here at, but I don't found nothing.

Could somebody help me with that? Bye, --Elisardojm (talk) 15:33, 31 July 2017 (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 =| 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)

Script or Bot to search and calculate coordinates

Please look at this table: Lands_administrative_divisions_of_New_South_Wales#Table_of_counties

My goal is to add a column to this table that shows the approximate geographical coordinates of each county. Those county coordinates can be derived form the parish coordinates that are found in each county article, by taking the middle of each northernmost and southernmost / easternmost and westernmost parish coordinates. Is it possible to write a script or a bot to achieve this? --Ratzer (talk) 10:45, 15 January 2018 (UTC)

Probably I'm wrong here, I'll ask somewhere else...--Ratzer (talk) 21:25, 25 January 2018 (UTC)

User script to help guide students working on medical articles

Students make similar errors when editing and each new batch repeats similar errors made by the last batch. I am wanting a user script that analysis the students edits and provides them feedback. For example:

  1. If they use a url to the inside net of their library it will remind them that this is not useful to anyone outside their institution.
  2. If they use caps for every word in a heading it will point out that generally only the first word in a heading gets a cap unless the other words are proper names.
  3. If they put refs before the punctuation or leave a space after the punctuation before the ref it will remind them that the house style is refs go immediately after the punctuation.
  4. If they use a book (ie an ISBN) without a page number they will be reminded to provide a page number.
  5. If they do not use "cite templates" to match those already used in the article they will be requested to do so.
  6. If they use a pmid that is listed as a "primary source" they will be requested to use a secondary source. Whether or not a pmid is primary or secondary can generally be determined by pubmed.

I am involved with supporting a number of classes, including one of medical students at UCSF. I am wanting to trial this sort of script on them to see if they find it useful and it decreases the work load for other volunteers. Currently education initiatives are not really scalable and this sort of script will help make them so. Doc James (talk · contribs · email) 04:57, 15 March 2018 (UTC)

First draft here Doc James (talk · contribs · email) 02:53, 19 March 2018 (UTC)
Thanks for TheSandDoctor who already started to work on it. I just want to refer to User:ערן/WeaselWords.js and Wikipedia:Manual of Style/Words to watch/Config which can be used as a sketch example how to do it (though someone should review the code which was written in WM'14). Particularally I suggest enwiki to adapt hewiki practices here and to put the "rules" above in two format:
  • as human readable rules in Wikipedia:Manual of Style (or a sub page) - where users can read the rational behind the rule. Probably some of the rules Doc James mentioened above are already there - if not please consider to add them. Doing it means users who don't have user script installed can still be aware to it (though it is less accessible)
  • as machine readable rules (as in Wikipedia:Manual of Style/Words to watch/Config or some other format) for a user script to verify the rules. Doing it will greatly simplity further adding/removing/twiking the style rules.
Thanks, Eran (talk) 07:30, 21 March 2018 (UTC)
You should use jquery.textSelection source api module to access the contents of the wiki text editors. That synchronises between the various wiki text editors, so that when two tools makes changes to the form value, they don't overwrite each other. —TheDJ (talkcontribs) 09:16, 21 March 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)

Minimise sections

This is needed for desktop mode, since it is already there in mobile mode. This way, I can hide the plot section to avoid unintentionally reading spoilers. --Kailash29792 (talk) 09:23, 27 April 2018 (UTC)

@Kailash29792: does User:BethNaught/hideSectionDesktop.js help? It does not auto-collapse the sections (although it could be so modified) but you can use it to hide a plot section. BethNaught (talk) 11:06, 12 July 2018 (UTC)
So I just copy it onto my skin.js page and that's it? Because that's just what I've done now. --Kailash29792 (talk) 11:11, 12 July 2018 (UTC)
Now I put it on my common.js page, and voila! Thank you very much BethNaught. It now doesn't have to be on the skin page, does it? --Kailash29792 (talk) 11:20, 12 July 2018 (UTC)
No, it doesn't. BethNaught (talk) 11:34, 12 July 2018 (UTC)


A script that would rollback automatically a persistent vandal until an admin blocks him. To prevent abuse, maybe the script would work only if the user is reported to AIV. L293D ( • ) 18:35, 6 May 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)

Disabling Media viewer and Page preview

There is the page Wikipedia:Tools/Greasemonkey_user_scripts which shows publicly usable Greasemonkey scripts to give the users a better experience. Sadly there is no list for requested scripts. So I guess, this one here has to be the right one for this purpose, too.

I think, I have a request to make Wikipedia usable / readable for normal people (without an account) again. Please, provide us (or at least the technically versed parts of us) with some means to disable these annoying "features" of the Wikipedia once and for all. I don't think that I have to name reasons here - there are multiple comments on the appropriate discussion pages which seem to be ignored altogether.

So please, give at least the Greasemonkey users the possibility to turn off Media viewer and Page preview. It's really no help at all to have to choose to disable them about a hundred times a day (for every browser instance [in case of the Page preview also for every already opened browser tab!], for every language version, multiple times a day again and again and again)!

Otherwise Wikipedia seems not to be usable in an effective manner anymore. Even on big screens it's hard to find a spot to "park" your mouse cursor at to be able to scroll the site without having previews popping up every now and then. - Which totally disturbs the normal workflow! -- (talk) 16:04, 21 June 2018 (UTC)

See also


Retrieved from ""
This content was retrieved from Wikipedia :
This page is based on the copyrighted Wikipedia article "Wikipedia:User scripts/Requests"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA