Jump to content

Wikipedia:WikiProject User scripts/Requests

From Wikipedia, the free encyclopedia

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.

Removing taglines from source titles

Sorry if I've missed an obvious answer.

In the pro wrestling articles here, James Caldwell of PWTorch.com's event results are very often cited, and the article title is always in the style of "WWE Raw results 3/14: Complete "virtual time" coverage of live Raw — Cena vs. Del Rio main event, U.S. Title match, two surprise returns, Snooki".

Including the tagline just clutters things up for editors, especially when it appears more than once per paragraph.

Can a bot or script help by scanning for keywords (Caldwell, virtual time coverage, WWE) and automatically remove everything after the colon and up to the "|" divider in a citeurl tag?

If so, that'd save a lot of time (or get it done, period).

Thanks. InedibleHulk (talk) 20:35, June 25, 2013 (UTC)

A script to pull data on every item in a category

Problem: I have created a large number of people stubs and would like to recruit people via social media to expand them. My idea is to have a user script that only runs on Category pages (I.e. Category:New Zealand academics) and displays un-coming topical information derived from in listed individuals, which can then be used in tweets, etc. Proposed solution: Use javscript to ping wikidata for each person, getting their dates of birth and death and populating a sortable wikitable of these. The table would go at the bottom of the page, so that any flickering would be off the screen. Questions: Is there already doing this kind of thing? Are there examples of the right way to ping wikidata? Are there cautionary tales of people trying to recruit new editors via social media I can learn from? I have a little javascript experience and other experience I can adapt. Stuartyeates (talk) 03:42, 27 June 2013 (UTC)[reply]

Editor for TemplateData ?

Hi,

On frwiki, a user made a script which allows creating/updating the <templatedata>...</templatedata> visually and very easily. Anyone willing to make the same for enwiki ? --NicoV (Talk on frwiki) 16:38, 16 July 2013 (UTC)[reply]

I finally converted it myself. It's available at User:NicoV/TemplateDataEditor.js. --NicoV (Talk on frwiki) 22:59, 19 July 2013 (UTC)[reply]

Switch to give access to the editing preference that lets VisualEditor be turned off.

How hard would this be? It's apparently merely hidden. Adam Cuerden (talk) 04:41, 22 July 2013 (UTC)[reply]