Wikipedia:WikiProject User scripts/Requests
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.
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III. |
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)