Jump to content

User:Gary/subjects age from year

From Wikipedia, the free encyclopedia

In an article about a person or a company, when the mouse hovers over a year in the article, the age of the article's subject by that year appears in a tooltip.

Installation

[edit]

After installing the script, bypass the cache of the page.

Method 1

(This will generate text which can be used on any-language Wikipedia.)

  1. Press Publish changes (ignore any error warnings).
Method 2

This can only be used on the English Wikipedia.)

  1. Place {{subst:iusc|1=User:Gary/subjects age from year.js}} on the bottom of your common.js page or your skin.js page.
  2. Press Publish changes (ignore any error warnings).
Method 3
  1. Click here, then click the install link at the top. (Don't use this if you have Enterprisey's script installer enabled).