Jump to content

Wikipedia:WikiProject User scripts/Requests

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bility (talk | contribs) at 17:23, 5 April 2013 (script to hide the "feet" part of convert template while reading an article: too complex for me, but perhaps someone else has an elegant solution). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This page is for requests for new user scripts or help with modifications to existing user scripts. Please first look through the existing scripts and recently fulfilled requests. Also see Old unfullfilled requests.

RFPP Admin templater script

It would be great to have something to speed up work at WP:RFPP. Something that would appear next to each of the headings / articles on the page with an option to add a template to that section. And then after selecting the type of template (i.e. semi, full, e.t.c) it would then ask you for the time to add as a parameter before posting to the section. I imagine it shouldnt be that hard as I have seen similar useful scripts for AFD and other such places. Intended for use on Chrome with monobook ·Add§hore· Talk To Me! 16:08, 16 January 2013 (UTC)[reply]

See User:Addshore/doRFPP.js for a start but I have no idea how to add this in line with each header on the page. This just adds tabs to the edit window, sure it does save a bit of time but not as much as having them next to section headers! ·Add§hore· Talk To Me! 16:42, 18 January 2013 (UTC)[reply]

script to hide the "feet" part of convert template while reading an article

Hello. I am looking for a script that would hide the "feet" part of measures displayed by the convert template. I couldn't find it as a gadget in the preferences page, and couldn't find it either there, but I still hope it exists somewhere. Regards, Freewol (talk) 11:02, 19 February 2013 (UTC)[reply]

There are a lot of different outputs of {{convert}} and it emits nothing that marks itself as coming from the template, so this job is quite complex as it requires pattern matching against the entire page and replacing text as opposed to just toggling the display style of an element. It would also require some kind of check to see if the feet measurement was paired with a metric measurement before it removed that content. I think what you're asking for is very possible if the infrastructure was in place to support it, but as is the scope of work is probably too large for a volunteer to take on for a user script. If the template wrapped the values in spans with appropriate classes, it would be a simple thing to hide all instances based on user preference. This would require a change to {{convert}} and other templates like it that output two values and then a simple gadget or user preference could handle the display. It's a cool idea at any rate, and is at least possible if enough people wanted it. — Bility (talk) 17:23, 5 April 2013 (UTC)[reply]

Listas parram adding for Biography Wikiproject tag

A large number of entries for the listas param could be constructed from the page name.

Much appreciated if a user script could be written to do this. Sfan00 IMG (talk) 15:13, 5 April 2013 (UTC)[reply]