This is an archive of past discussions about Wikipedia:User scripts. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current main page.
Wanted: A script that can go through a list of articles, or a category, and calculate the mean and median article size of the articles on the list or cat. Specifically, I was wanting a program so that it could look at a cat of Start/B/Stub class articles, eg Category:Start-Class_Vietnam_articles, and then calculate the mean and median size of the articles (not the talk page) in this category. Note that Dr pda (talk·contribs) had created a similar thing at User_talk:Dr_pda/generatestats.js which may be used as a model; his script works only on transcluded templates, rather than category population. Thanks. Blnguyen (vote in the photo straw poll) 07:08, 6 March 2008 (UTC)
Wanted: A script (or bot?) that can go through my extra-long watchlist and remove(unwatch) all pages that haven't been edited for at least 2 months(or any user-defined time period). Saves me the tedious work of trimming my watchlist to include only the pages that are likely to have a change since my last edit of them. OlEnglish (talk) 03:15, 4 February 2009 (UTC)
On Wikipedia talk:Manual of Style#Titles in Infoboxes there is a discussion about overly-long lists of honorifics in infoboxes (example: Genghis Khan: Dalai Khagan of the Great Mongol State (Supreme Khan of the Mongols), King of Kings, Khagan of Khamag Mongol, Lord of the Four Colors and Five Tongues, Son of Khan Tengri, Emperor of All Men.) I would like a script that finds the longest 100 or so so we can discuss whether to manually fix the worst cases. --Guy Macon (talk) 07:43, 26 June 2012 (UTC)
The option gets added to the top-right place where "move" is. The script works but isn't functional. I clicked add, the opened edit menu didn't have the said tag; moreover Visualeditor complicates the issue. Ugog Nizdast (talk) 12:06, 15 April 2016 (UTC)
Requested: In order to check an WP:FAC article for WP:OVERLINK, I'd appreciate a script that would scan an article and report all instances of a link target that occurs three or more times. This would be much easier than manually perusing a long article looking for links that occur multiple times. It would also complement the existing dablinks.py and rdcheck.py tools in Wikipedia:Featured article tools. Thank you. Regards, RJH (talk) 22:16, 23 August 2012 (UTC)
A script that would relink references as I did manually at Bahá'í Faith in Egypt - urls needed to be changed from empty or changed from http://www.teachingandprojects.com/meansandmaterials.htm to another website and parsed for a specific url possible to the direct page along the lines of http://bahai-news.info/viewer.erb?vol=01&page=276 (where vol and page numbers are used for the urls but not derived from the original pages numbers per printed edition) and also the script should compile errors if a specific url can't be found so that I or others could manually search and find them. There are a likely few thousand instances of these changes to be done.... Smkolins (talk) 13:34, 22 November 2012 (UTC)
Wanted: A script that could add WikiProjects without having to type in {{WikiProject foo}}. That gets really annoying for me sometimes. buffbills770121:03, 6 September 2013 (UTC)
Wanted: A script to add tabs for "(object) history" on a talk history page and "talk history" for an object history page. (And please tell me where I can search for existing scripts, which doesn't seem to be in this article.) — Arthur Rubin(talk)21:21, 30 October 2013 (UTC)
Wanted: a script to minimize/show the lefthand sidebar, and recover the space for the displayed article. "Minimizing" replaces the sidebar with a left-margin 4-em-wide blank gray bar. Mousing over the bar shows the full sidebar, mousing away from the sidebar hides it. This is similar to the Feedly app for browsers; show/hide only operates when the page is zoomed in (ctrl-+). Screengrabs @Imgur.com. --Lexein (talk) 19:54, 9 December 2013 (UTC)