User talk:Dr pda/generatestats.js

The purpose of this script is to generate some statistics about articles which transclude a given template, namely a list of the ten longest and ten shortest articles, the mean and median length, and a histogram of the article lengths. The original motivation was to find out what were the longest and shortest {{featured articles}}, but could also be used for your favourite stub, infobox or other template.