User:Whiteknight/Tester Gadget

About This Gadget
This gadget displays information about the target page. It can determine: It counts: It lists:
 * 1) Whether the page exists or not
 * 2) Whether the page is a redirect, and if so, to where
 * 1) The number of characters in the page
 * 2) the number of "words" in the page (words are non-space chunks of text, such as numbers or symbols)
 * 3) The number of templates used
 * 4) The number of categories used (but not categories used through template inclusion)
 * 5) The number of links used
 * 1) Templates used in the page
 * 2) Categories used in the page (but not transcluded)
 * 3) Links on the page

To Do:

 * 1) Handle nested templates correctly (currently does not)
 * 2) Determine if the page has been tagged with specific templates (delete, vfd, merge, query, etc)
 * 3) sort links and remove duplicates (sort of works)
 * 4) Make sure that categories arent counted as links (they are sometimes)

Version History

 * 2.01 Added support for IE
 * 2.00 Rewrote using new gadgetscore.js
 * 1.30 Added link to book in the results, added word count, added list of links
 * 1.20 Added list of categories, fixed redirect handling
 * 1.10 Added list of templates
 * 1.01 refactored template and javascript
 * 1.00 First stable version