User talk:Anomie/linkclassifier.js

From Wikipedia, the free encyclopedia

Note: from WP:VP/PR -- John Broughton (♫♫) 23:12, 16 November 2007 (UTC)

[edit] Color links of articles up for deletion or deletion review; add subst template to easily add links

Two-part proposal:

1. Color links by status & add links:

  • Active = Blue (like now)
  • Listed as X for Deletion = Purple + small superscript "AfD" (or whatever) linking to current XfD (Maybe green?)
  • Listed for Deletion Review = Dark red + small superscript "DRV" linking to current DRV (Maybe better purple? Something else?)
  • Deleted = Dark red + small superscript "AfD" (or whatever) linking to last XfD
  • Never existed = Red (like now)

If you don't like the idea of adding superscript links, then consider:

  1. allowing people to opt in to seeing superscript links through WP preferences (with default seeing new colors)
  2. allowing people to opt in to BOTH links and coloration (with default seeing same as now)


2. Add subst template in the form: {{subst:deletionlinks|articlename}}

to output (perhaps dynamically rather than subst??): [[article]] [[link to afd #1|AfD]] [[link to DRV|DRV]] [[link to AfD #2|AfD 2]] (etc in chronological order. and including obsolete but not quite completely redirected things like VfD)

See bottom of WikiProject Constructed languages/Edit wars and deletions for example of what I mean.


Purpose being:

  1. to make it much easier to notice articles that are up for deletion when you might not have them on your watchlist, and easily participate in deletion/undeletion discussions
  2. to make it obvious when articles have been deleted, so you don't think it's just a broken link and more likely check the deletion reasoning before recreating
  3. to make participating in and listing deletions easier & more automatic
  4. to make deletion sort pages like the one above easier to maintain

Thanks. Sai Emrys ¿? 09:18, 14 November 2007 (UTC)

Interesting idea, but I have no idea how it could be implemented. --ais523 18:13, 14 November 2007 (UTC)
Although it sounds really useful for an editor, I don't think it's a really great idea for everyone and in article space. Instead, perhaps a user script that used a bot-updated list of AfD's to highlight links to particular pages might be in order, so that people who do not want and/or need the functionality do not receive it. I imagine that such a script would be similar to the script that highlights admin names in cyan. Nihiltres{t.l} 22:58, 14 November 2007 (UTC)
I also thought it was interesting, interesting enough to write a script. The script just adds CSS classes (currently "redirect" and "deletion") to appropriate links, you can edit your monobook.css to do something with it.[1] Anomie 06:03, 15 November 2007 (UTC)
Could you make the CSS includeable as well? IIRC there's an easy way to do that on a monobook.js page.
Any chance you can make the 'has been deleted and is now blank' and 'under DRV' parts? My guess is that these two are the harder ones to code, but if done, making a subst template to dump all relevant links should (?) be a relatively easy extension. Thanks! Sai Emrys ¿? 23:28, 15 November 2007 (UTC)